This affected me when I tried to set a user-specific Java VM. The system-wide Java VM is specified in /etc/env.d/20java and the user-specific Java VM is specified in ~/.gentoo/java. The system profile at /etc/profile should source the user-specific profile. Example code to insert into /etc/profile: # Bring in user-specific environment if [ -e ~/.gentoo/*-env ] ; then for env in ~/.gentoo/*-env ; do . $env done fi This way, a user can source /etc/profile and get a full environment consisting of the system profile plus their own profile additions/overrides.
since the new system that we will try to push out into the main tree asap will no longer use env files like this, marking as wontfix