Your message dated Wed, 04 Nov 2026 17:42:09 +0000
with message-id <[email protected]>
and subject line Bug#1147179: fixed in sudo 1.9.17p2-11
has caused the Debian Bug report #1147179,
regarding sudo.nss: Add sudoers: files entry to nsswitch.conf
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1147179: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1147179
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sudo
Version: 1.9.17p2-7
Severity: wishlist

Hi Marc,

in the course of getting sssd back into Debian testing, I came across this last RC bug to fix:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1129522

The bug report is valid and reproducible in a test setup.

In a previous bug fix, it was decided that libsss-sudo owns the sudoers: entry in nsswitch.conf. When we install the package, it adds sudoers: sss and sudo immediately stops seeing /etc/sudoers.

There are two meaningful approaches how to address this: add the sudoers: entry to base-files (and make it an official field in nsswitch.conf) or (and I think this hadn't come up, so far) sudo itself owns that nsswitch.conf key/entry.

In fact, sudo works well with /etc/sudoers without an entry in nsswitch.conf. However, it does not hurt if `sudoers: files` exists in nsswitch.conf, either. And what package could better own this entry in nsswitch.conf than sudo itself???

So here is my idea:

* you add a debian/sudo.nss file into the sudo src:pkg with the following content:
    ```
    sudoers database-add

    sudoers first files
    ```

  * And for all other consumers, such as sssd, we add:

    debian/control:
    Pre-Depends: sudo (>= <version-that-adds-the-above-file>)

    debian/lib<foo>-sudo.nss
    ```
    sudoers database-require

    sudoers after=files <foo>
    ```

What do you think? If I have to fix #1129522 only from within libsss-sudo, it gets really hacky and I'd like to avoid that.

Thanks!
Mike
--

mike gabriel aka sunweaver (Debian Developer)
mobile: +49 (1520) 1976 148
landline: +49 (4351) 486 14 27

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: [email protected], http://sunweavers.net

Attachment: pgpmOZXZxqU6C.pgp
Description: Digitale PGP-Signatur


--- End Message ---
--- Begin Message ---
Source: sudo
Source-Version: 1.9.17p2-11
Done: Marc Haber <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sudo, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marc Haber <[email protected]> (supplier of updated sudo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 04 Nov 2026 17:37:02 +0100
Source: sudo
Architecture: source
Version: 1.9.17p2-11
Distribution: unstable
Urgency: medium
Maintainer: Debian Sudo Maintainers <[email protected]>
Changed-By: Marc Haber <[email protected]>
Closes: 906752 939357 1147179
Changes:
 sudo (1.9.17p2-11) unstable; urgency=medium
 .
   * really upload to unstable
 .
 sudo (1.9.17p2-10) experimental; urgency=medium
 .
   * upload to unstable
 .
 sudo (1.9.17p2-9exp2) experimental; urgency=medium
 .
   * add pam_keyinit to pam.d snippets.
     Thanks to Simon Ruggier <[email protected]>, Sebastian Mohr 
<[email protected]>, Guilhem Moulin <[email protected]>
     (Closes: #906752, #939357)
 .
 sudo (1.9.17p2-9exp1) experimental; urgency=medium
 .
   [ Mike Gabriel ]
   * d/control: B-D on Dh-nss (>= 1.8~)
   * d/sudo.nss: Authoritatively manage sudoers: entry in nsswitch.conf.
     (Closes: #1147179)
Checksums-Sha1:
 a5f319cb5eeb5139d4a91c000d6d3b766426ce45 1968 sudo_1.9.17p2-11.dsc
 c691decc459a617b9939f316238d7137c3f38840 53692 sudo_1.9.17p2-11.debian.tar.xz
 d85fb93eaddb10130bdb6175dd134e684f021a8d 5225 sudo_1.9.17p2-11_source.buildinfo
Checksums-Sha256:
 147a4b3e8528a90233efc30c2a2758900a8dfa1939b0e29a06ad3eb18ce3e444 1968 
sudo_1.9.17p2-11.dsc
 c22fa6e7b17511ff57f2d995eeb3f9bdfd3358aba0b457c3d82a692d84e9d70b 53692 
sudo_1.9.17p2-11.debian.tar.xz
 f2f5e1b865965aea484f541afc82ba43a632d74cbbcb069c4a8143f305dbee9c 5225 
sudo_1.9.17p2-11_source.buildinfo
Files:
 a703d53bae38ac9b437f90b3e6cf7e98 1968 admin optional sudo_1.9.17p2-11.dsc
 06a66db53f05e51e5896728bc60a23a2 53692 admin optional 
sudo_1.9.17p2-11.debian.tar.xz
 cc2204fda1a7a09ecdf80879b8206122 5225 admin optional 
sudo_1.9.17p2-11_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iJYEARYKAD4WIQRoUtdjQYCq5giMg+rVTTAMN2ORyQUCauto7SAcbWgrZGViaWFu
LXBhY2thZ2VzQHp1Z3NjaGx1cy5kZQAKCRDVTTAMN2ORyWGDAQCGwOqHvpEVrCBa
uEjvp4Db6zks8Z+1ilLuCUH6asm3YAD/X3PNmzq9o9YmZo47p3RThzedY7f6otCt
HXXfN5qdaQ8=
=fGrV
-----END PGP SIGNATURE-----

Attachment: pgp15hG8FTXVN.pgp
Description: PGP signature


--- End Message ---

Reply via email to