Created attachment 473976 [details] emerge --info On my systems equery warns me that one file from systemd is missing: # equery check systemd !!! /usr/lib/environment.d/99-environment.conf does not exist * Checking sys-apps/systemd-233-r1 ... 1207 out of 1208 files passed This happens even immediately after emerging systemd.
Is it actually missing? Have you checked with tools other than equery (like ls)? It should be a symlink to a file that may or may not exist in /etc.
I can confirm this as a bug in equery check. > floppym@naomi ~ % equery check sys-apps/systemd > !!! /usr/lib/environment.d/99-environment.conf does not exist > !!! /etc/systemd/logind.conf has incorrect MD5sum > !!! /etc/systemd/system.conf has incorrect MD5sum > * Checking sys-apps/systemd-9999 ... > 1413 out of 1416 files passed > > floppym@naomi ~ % ls -l /usr/lib/environment.d/99-environment.conf > lrwxrwxrwx 1 root root 24 May 14 20:01 /usr/lib/environment.d/99-environment.conf -> ../../../etc/environment > floppym@naomi ~ % ls -l /etc/environment > ls: cannot access '/etc/environment': No such file or directory
Created attachment 473992 [details, diff] patch This should fix it.
On my system: # file /usr/lib/environment.d/99-environment.conf /etc/environment /usr/lib/environment.d/99-environment.conf: broken symbolic link to ../../../etc/environment /etc/environment: cannot open `/etc/environment' (No such file or directory) After applying your patch the problem disappears. Thanks!
(In reply to Mike Gilbert from comment #3) > Created attachment 473992 [details, diff] [details, diff] > patch > Looks good to me, go ahead and push it.
*** Bug 629948 has been marked as a duplicate of this bug. ***
Pushed. https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=83b757c0b7bcf1912eb1acabdfbb3f5a5f46cd17