Public bug reported:

Unfortunately 26.04 inherited this bug from Debian:
https://bugs.debian.org/1129522

Demonstration:

   podman run -it --rm docker.io/ubuntu:26.04 sh -exc 'cat
/etc/nsswitch.conf; apt update; apt install -y libsss-sudo; cat
/etc/nsswitch.conf'

Initially, nsswitch.conf has no "sudoers:" entry, and after that it has

  sudoers:  sss

This is missing "files", thus any attempt to run "sudo" by users in the
"sudo" or "admin" groups fails.

The cause of this is that the postinst script adds "sss" to the end of 
"sudoers:" and assumes that "files" is already there.  This was proposed in 
base-files but not yet in the distribution:
https://bugs.debian.org/770825


PackageVersion: libsss-sudo_2.12.0-1ubuntu5_amd64.deb
DistroRelease: Ubuntu 26.04

** Affects: sssd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: regression-release resolute

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

Title:
  libsss-sudo: Can't sudo after installing libsss-sudo (due to broken
  nsswitch update)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/2151950/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to