Package: libpam-modules Version: 1.1.8-3.3 Severity: wishlist File: pam_env
If /etc/default/locale doesn't exist, then every login, cron job, or other invocation of the PAM stack that uses pam_env on /etc/default/locale produces an error like this: Jun 04 15:17:01 x CRON[12310]: pam_env(cron:session): Unable to open env file: /etc/default/locale: No such file or directory That produces a lot of log noise, and in particular log noise from the authentication stack, which gets users used to ignoring messages from there. Please consider introducing a pam_env option to ignore a non-existent envfile without error (or to set the log level to "debug"), and then using that option on pam_env in the default PAM configurations. In addition to eliminating the log noise for /etc/default/locale (and potentially /etc/environment as well, since a non-existent file should be equivalent to an empty file), this also makes it easier to introduce other optional files in the future. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.6.0-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libpam-modules:amd64 depends on: ii debconf [debconf-2.0] 1.5.59 ii libaudit1 1:2.5.2-1 ii libc6 2.22-10 ii libdb5.3 5.3.28-11 ii libpam-modules-bin 1.1.8-3.3 ii libpam0g 1.1.8-3.3 ii libselinux1 2.5-3 libpam-modules:amd64 recommends no packages. libpam-modules:amd64 suggests no packages. -- no debconf information