base functions required by all Gentoo systems
