Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 629948

Summary: sys-apps/systemd-233-r4: missing /usr/lib/environment.d/99-environment.conf with USE="-pam"
Product: Gentoo Linux Reporter: Francesco Turco <fturco>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Francesco Turco 2017-09-05 10:51:34 UTC
Created attachment 492420 [details]
emerge --info

I have a Gentoo VPS with sys-apps/systemd-233-r4. PAM is disabled globally in /etc/portage/make.conf.

When installing systemd with the "pam" USE flag there is no problem at all:

# USE="pam" emerge systemd
# equery check systemd
* Checking sys-apps/systemd-233-r4 ...
   1261 out of 1261 files passed

Equery check starts complaining about a missing /usr/lib/environment.d/99-environment.conf file when I reinstall systemd without the "pam" USE flag:

# emerge --depclean
# rm /usr/lib/environment.d/99-environment.conf
# emerge systemd
# equery check systemd
* Checking sys-apps/systemd-233-r4 ...
!!! /usr/lib/environment.d/99-environment.conf does not exist
   1193 out of 1194 files passed

It seems /usr/lib/environment.d/99-environment.conf contains just a few comments by the way.
Comment 1 Mike Gilbert gentoo-dev 2017-09-05 15:30:19 UTC

*** This bug has been marked as a duplicate of bug 619472 ***