pam_chroot.so installed in wrong place - Not able to login after upgrade

Bug #1973317 reported by Maddes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libpam-chroot (Debian)
Fix Released
Unknown
libpam-chroot (Ubuntu)
New
Undecided
Unassigned

Bug Description

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.

```
./auth.log:May 10 20:19:16 web-proxy sshd[981]: PAM unable to dlopen(pam_chroot.so): /lib/security/pam_chroot.so: cannot open shared object file: No such file or directory
./auth.log:May 10 20:19:16 web-proxy sshd[981]: 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/
`ln -v -s -r -t /usr/lib/x86_64-linux-gnu/security/ /usr/lib/x86_64-linux-gnu/pam_chroot.so`

Workaround:
Boot from a live linux system and move/copy/link file to correct location.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libpam-chroot 0.9-5
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
Date: Fri May 13 12:12:36 2022
InstallationDate: Installed on 2020-12-07 (521 days ago)
InstallationMedia: Ubuntu-Server 20.10 "Groovy Gorilla" - Release amd64 (20201022)
SourcePackage: libpam-chroot
UpgradeStatus: Upgraded to jammy on 2022-05-10 (2 days ago)

Revision history for this message
Maddes (maddes.b) wrote :
description: updated
Maddes (maddes.b)
description: updated
Maddes (maddes.b)
description: updated
Changed in libpam-chroot (Debian):
status: Unknown → Fix Committed
Changed in libpam-chroot (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Maddes (maddes.b) wrote :

Please add the new package version to Ubuntu 22.04 LTS.
libpam-chroot 0.9-5.1
https://packages.debian.org/bookworm/libpam-chroot

Revision history for this message
Maddes (maddes.b) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.