Public bug reported: Ubuntu creates /etc/environment and directory /etc/environment.d.
pam_env.so only reads /etc/environment, but not recursively /etc/environment.d/ You'll have to add any files created within /etc/environment.d/ as an additional line to your pam_env.so pam configuration. This is not stated anywhere and not documented accordingly. ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: libpam-modules 1.3.1-5ubuntu1 ProcVersionSignature: Ubuntu 5.0.0-27.28-generic 5.0.21 Uname: Linux 5.0.0-27-generic x86_64 ApportVersion: 2.20.10-0ubuntu27.1 Architecture: amd64 CurrentDesktop: XFCE Date: Fri Sep 13 12:55:41 2019 InstallationDate: Installed on 2019-09-09 (3 days ago) InstallationMedia: Xubuntu 19.04 "Disco Dingo" - Release amd64 (20190416) SourcePackage: pam UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: pam (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug disco -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1843886 Title: pam_env.so does not recursively read /etc/environment.d To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1843886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs