base functions required by all gentoo systems
