On Mon, Jun 15, 2026 at 01:17:56PM +0300, Martin-Éric Racine wrote: > ma 15.6.2026 klo 12.18 Chris Hofstaedtler ([email protected]) kirjoitti: > > > > On Mon, Jun 15, 2026 at 10:41:15AM +0200, Chris Hofstaedtler wrote: > > > On Sun, Jun 14, 2026 at 07:31:07PM -0300, Adilson dos Santos Dantas wrote: > > > > After upgrading util-linux to 2.42.1-4 it was impossible to use su. > > > > > > util-linux 2.42.1-4 switched to debhelper compat v14, which puts the > > > PAM files into /usr/lib/pam.d. > > > > > > > I got a "Permission denied" message, which makes it impossible to go to > > > > the > > > > root shell. > > > > In my own testing, only `su -` is broken. A plain `su` works. > > > > From what I can tell this is because `su -` uses the PAM config for > > `su-l`, which does stuff like `auth include su`. This > > include-variant is broken in the current libpam0g. > > No, this clearly is not libpam0g being broken since merely linking the > files to their former location fixed it i.e. libpam0g can find the > configs at the previous location just fine and it restores 'su -' > operation. What this instead looks like is that something in the code > misses /usr/lib/pam.d in its search path.
So what you are saying is that libpam0g's code for "include" is broken, or at least inconsistent with the support for /usr/lib/pam.d. The posted patch fixes this. Best, Chris

