Package: libpam-chroot
Version: 0.9-5
Followup-For: Bug #991113
X-Debbugs-Cc: maddes+deb...@maddes.net

Dear Maintainer,

the library pam_chroot.so is installed in the wrong location, therefore it 
cannot be loaded.
This prevents anyone (incl. root) to log into systems that require that module.
Changed the pam module to optional via a live linux and found an error message 
in auth.log:
```
Jun  8 19:30:16 test-debian11 sshd[459]: PAM unable to dlopen(pam_chroot.so): 
/lib/security/pam_chroot.so: cannot open shared object file: No such file or 
directory
Jun  8 19:30:16 test-debian11 sshd[459]: PAM adding faulty module: pam_chroot.so
```

Current wrong location: `/usr/lib/x86_64-linux-gnu/pam_chroot.so`
Correct location: /lib/security/pam_chroot.so -> 
/usr/lib/x86_64-linux-gnu/security/

Workaround:
Boot from a live linux system and move/copy/link file to correct location.
`ln -v -s -r -t /usr/lib/x86_64-linux-gnu/security/ 
/usr/lib/x86_64-linux-gnu/pam_chroot.so`

-- System Information:
Debian Release: 11.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-14-amd64 (SMP w/1 CPU thread)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libpam-chroot depends on:
ii  libc6     2.31-13+deb11u3
ii  libpam0g  1.4.0-9+deb11u1

libpam-chroot recommends no packages.

libpam-chroot suggests no packages.

-- no debconf information

Reply via email to