Package: cron Version: 3.0pl1-136 Severity: normal After upgrading PAM, I got errors in the journalctl output before I restarted the cron service:
Dec 28 16:00:01 zira CRON[2661963]: PAM unable to dlopen(pam_unix.so): /lib/security/pam_unix.so: cannot open shared object file: No such file or directory Dec 28 16:00:01 zira CRON[2661963]: PAM adding faulty module: pam_unix.so Dec 28 16:00:01 zira cron[2661963]: Authentication failure Dec 28 16:00:01 zira CRON[2661963]: Authentication failure Dec 28 16:03:01 zira CRON[2662463]: PAM unable to dlopen(pam_unix.so): /lib/security/pam_unix.so: cannot open shared object file: No such file or directory Dec 28 16:03:01 zira CRON[2662463]: PAM adding faulty module: pam_unix.so Dec 28 16:03:01 zira cron[2662463]: Authentication failure Dec 28 16:03:01 zira CRON[2662463]: Authentication failure Dec 28 16:05:01 zira CRON[2662634]: PAM unable to dlopen(pam_unix.so): /lib/security/pam_unix.so: cannot open shared object file: No such file or directory Dec 28 16:05:01 zira CRON[2662634]: PAM adding faulty module: pam_unix.so Dec 28 16:05:01 zira cron[2662634]: Authentication failure Dec 28 16:05:01 zira CRON[2662634]: Authentication failure Errors are apparently normal (I assume due to an ABI mismatch between /lib/x86_64-linux-gnu/libpam.so.0 against cron is linked, thus from the old PAM version, and /lib/x86_64-linux-gnu/security/pam_unix.so that cron attempted to load with dlopen, thus from the new PAM version). But the error message is incorrect: /lib/security/pam_unix.so does not exist, neither in the old PAM version, nor in the new PAM version. If cron doesn't know the exact absolute pathname, it should have just said "PAM unable to dlopen(pam_unix.so): pam_unix.so: cannot open shared object file: No such file or directory". -- Package-specific info: --- EDITOR: not set --- /usr/bin/editor: /bin/nano --- /usr/bin/crontab: -rwxr-sr-x 1 root crontab 43568 2020-02-10 20:16:06 /usr/bin/crontab --- /var/spool/cron: drwxr-xr-x 5 root root 4096 2015-06-18 10:27:18 /var/spool/cron --- /var/spool/cron/crontabs: drwx-wx--T 2 root crontab 4096 2020-12-28 01:49:19 /var/spool/cron/crontabs --- /etc/cron.d: drwxr-xr-x 2 root root 4096 2020-12-16 17:10:25 /etc/cron.d --- /etc/cron.daily: drwxr-xr-x 2 root root 4096 2020-12-28 15:48:57 /etc/cron.daily --- /etc/cron.hourly: drwxr-xr-x 2 root root 4096 2020-02-13 15:12:53 /etc/cron.hourly --- /etc/cron.monthly: drwxr-xr-x 2 root root 4096 2020-12-08 14:01:49 /etc/cron.monthly --- /etc/cron.weekly: drwxr-xr-x 2 root root 4096 2020-12-08 14:01:49 /etc/cron.weekly -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.9.0-5-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages cron depends on: ii adduser 3.118 ii debianutils 4.11.2 ii init-system-helpers 1.60 ii libc6 2.31-6 ii libpam-runtime 1.4.0-1 ii libpam0g 1.4.0-1 ii libselinux1 3.1-2+b2 ii lsb-base 11.1.0 ii sensible-utils 0.0.12+nmu1 Versions of packages cron recommends: ii postfix [mail-transport-agent] 3.5.6-1 Versions of packages cron suggests: ii anacron 2.3-29 pn checksecurity <none> ii logrotate 3.17.0-2 Versions of packages cron is related to: pn libnss-ldap <none> pn libnss-ldapd <none> pn libpam-ldap <none> pn libpam-mount <none> pn nis <none> pn nscd <none> -- no debconf information -- Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

