I ran into a problem in which the environment was not correct when my machine booted. I would run env-update --> . /etc/profile and the environment would then be correct. I would reboot and the environment was incorrect again. Investigating the boot message "Updating environment..." I found that /etc/init.d/bootmisc uses rc-envupdate.sh instead of env-update. For whatever reason, this consistently gave the wrong result and results different from env-update, which yielded the correct result. I substituted env-update for rc-envupdate.sh in bootmisc and my problem was solved. I recommend you do the same to Gentoo and remove rc-envupdate.sh from the distribution. Reproducible: Always Steps to Reproduce: 1. 2. 3.
OK.