Public bug reported:

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/

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)

** Affects: libpam-chroot (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy

** Description changed:

  The library pam_chroot.so is installed in the wrong location, therefore it 
cannot be loaded.
  This prevents anyone (incl. root) to log in on systems that require 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
+ 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.
  
  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)

** Description changed:

  The library pam_chroot.so is installed in the wrong location, therefore it 
cannot be loaded.
- This prevents anyone (incl. root) to log in on systems that require module.
+ 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/
  
  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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973317

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-chroot/+bug/1973317/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to