🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #199

Bug#1129522: Bug#1148069: Status / progress overview and dh-nss maintainer ping

#199
From: Mike Gabriel
Date: Fri, 09 Oct 2026 06:30
291 lines
13444 bytes
This message is in MIME format and has been PGP signed.

--=_LeDLUTu5zaKQSRgtglDtxT2
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Gioele, hi Marc,

On  Mo 05 Okt 2026 03:41:46 CEST, Gioele Barabucci wrote:

> On 10/4/26 08:48, Mike Gabriel wrote:
>>> It looks like I'll go with option 2. To make sure that the tested=20=20
>>>=20code matches the reality, can you please confirm my reading of the=20=
=20
>>>=20solution you agreed upon in the other bugs?
>>>
>>> From <https://bugs.debian.org/1147179#30>:
>>>
>>> ## sudo
>>>
>>> sudoers database-add
>>> sudoers first=C2=A0 files
>>>
>>> ## libsss-sudo
>>>
>>> Pre-Depends: sudo (>=3D $some-version)
>>>
>>> sudoers database-require
>>> sudoers after=3Dfiles=C2=A0 sss
>>
>> Confirming! That's the proposed solution, indeed.
>
> Hi, I have uploaded dh-nss v1.8~exp2 to experimental. The new code=20=20
>=20should fix the issue that affect sssd and sudo (although many other=20=
=20
>=20problems are still lurking.)
>
> Please test. I'll wait for your feedback before uploading v1.8 to unstabl=
e.
>
> Regards,
>
> --=20
>=20Gioele Barabucci

I think we are good to go with dh-nss v1.8.

I ran various installation and upgrade tests now and v1.8 seems stable=20=
=20
enough=20to cover all upgrade/installation pathways I have tested:

   * [x] neither sudo, nor libsss-sudo installed; install my sudo,=20=20
nsswitch.conf:=20sudoers: files
   * [x] neither sudo, nor libsss-sudo installed; install both of my=20=20
package=20versions, nsswitch.conf: sudoers: files sss
   * [x] sudo installed, upgrade to new sudo version with sudo.nss=20=20
included,=20nsswitch.conf: sudoers: files
   * [x] sudo installed, manual change of nsswitch.conf: sudoers:=20=20
ldap,=20install new sudo version, nsswitch.conf: sudoers: files ldap
   * [x] sudo installed, manual change of nsswitch.conf: sudoers:=20=20
ldap,=20install new sudo and new libsss-sudo version, nsswitch.conf:=20=20
sudoers:=20files ldap sss
         (note, that I'll probably go with "sudoers last	sss" in=20=20
libsss-sudo.nss)
=20  * [x] sudo installed, libsss-sudo installed, upgrade to my local=20=20
pkg=20versions, nsswitch.conf: sudoers: files sss
   * etc. (I guess I tested some more, but did not write them all down)

The .debdiffs I used:


sudo:

```
locadm@libsss-sudo-1129522:~$ debdiff sudo_1.9.17p2-9.dsc=20=20
sudo_1.9.17p2-9.1.dsc
diff=20-Nru sudo-1.9.17p2/debian/changelog sudo-1.9.17p2/debian/changelog
--- sudo-1.9.17p2/debian/changelog	2026-09-28 12:40:42.000000000 +0000
+++ sudo-1.9.17p2/debian/changelog	2026-10-09 05:39:58.000000000 +0000
@@ -1,3 +1,10 @@
+sudo (1.9.17p2-9.1) UNRELEASED; urgency=3Dmedium
+
+  * debian/sudo.nss:
+    + Authoritatively manage sudoers: entry in nsswitch.conf.
+
+ --  <sunweaver@debian.org>  Fri, 09 Oct 2026 05:39:58 +0000
+
  sudo (1.9.17p2-9) unstable; urgency=3Dmedium

    * Apply upstream patches to address CVE-2026-96512.
diff -Nru sudo-1.9.17p2/debian/control sudo-1.9.17p2/debian/control
--- sudo-1.9.17p2/debian/control	2026-09-28 12:40:42.000000000 +0000
+++ sudo-1.9.17p2/debian/control	2026-10-09 05:39:58.000000000 +0000
@@ -10,6 +10,7 @@
  Build-Depends:
   debhelper-compat (=3D 13),
   dh-sequence-installnss,
+ dh-nss (>=3D 1.8~),
  Build-Depends-Arch:
   autoconf,
   bison,
diff -Nru sudo-1.9.17p2/debian/sudo.nss sudo-1.9.17p2/debian/sudo.nss
--- sudo-1.9.17p2/debian/sudo.nss	1970-01-01 00:00:00.000000000 +0000
+++ sudo-1.9.17p2/debian/sudo.nss	2026-09-09 20:34:35.000000000 +0000
@@ -0,0 +1,3 @@
+sudoers database-add
+
+sudoers first           files
```

sssd:

```
locadm@libsss-sudo-1129522:~$ debdiff sssd_2.13.1-3.dsc sssd_2.13.1-3.1.dsc
diff -Nru sssd-2.13.1/debian/changelog sssd-2.13.1/debian/changelog
--- sssd-2.13.1/debian/changelog	2026-09-08 11:05:35.000000000 +0000
+++ sssd-2.13.1/debian/changelog	2026-10-09 04:20:16.000000000 +0000
@@ -1,3 +1,15 @@
+sssd (2.13.1-3.1) UNRELEASED; urgency=3Dmedium
+
+  * Rebuild against dh-nss 1.8~.
+  * debian/libsss-sudo:
+    + Adjust rules, expect sudo bin:pkg to own the sudoers: entry in
+      nsswitch.conf.
+  * debian/patches:
+    + Add gdm-51-pam-extension-macros-compat.patch. Fix building against
+      libgdm-dev (>=3D 51).
+
+ --  <sunweaver@debian.org>  Fri, 09 Oct 2026 04:20:16 +0000
+
  sssd (2.13.1-3) unstable; urgency=3Dmedium

    * debian/tests/control: Explicitly have tests requiring=20=20
openssh-client=20depend
diff -Nru sssd-2.13.1/debian/control sssd-2.13.1/debian/control
--- sssd-2.13.1/debian/control	2026-09-08 11:05:33.000000000 +0000
+++ sssd-2.13.1/debian/control	2026-10-09 04:20:16.000000000 +0000
@@ -12,6 +12,7 @@
   dh-apparmor,
   dh-python,
   dh-sequence-installnss,
+ dh-nss (>=3D 1.8~),
   bind9-dnsutils,
   docbook-xml,
   docbook-xsl,
@@ -372,6 +373,7 @@
  Package: libsss-sudo
  Section: libs
  Architecture: any
+Pre-Depends: ${misc:Pre-Depends}, sudo (>=3D 1.9.17p2-9.1~)
  Depends: ${misc:Depends}, ${shlibs:Depends}
  Description: Communicator library for sudo
   Utility library to allow communication between sudo and SSSD for caching
diff -Nru sssd-2.13.1/debian/libsss-sudo.nss=20=20
sssd-2.13.1/debian/libsss-sudo.nss
---=20sssd-2.13.1/debian/libsss-sudo.nss	2026-09-08 11:05:33.000000000 +000=

0
+++ sssd-2.13.1/debian/libsss-sudo.nss	2026-10-09 04:20:16.000000000 +0000
@@ -1,3 +1,3 @@
-sudoers	database-add
+sudoers	database-require

  sudoers last	sss
diff -Nru=20=20
sssd-2.13.1/debian/patches/gdm-51-pam-extension-macros-compat.patch=20=20
sssd-2.13.1/debian/patches/gdm-51-pam-extension-macros-compat.patch
---=20=20
sssd-2.13.1/debian/patches/gdm-51-pam-extension-macros-compat.patch=091970-=
01-01=20=20
00:00:00.000000000=20+0000
+++=20=20
sssd-2.13.1/debian/patches/gdm-51-pam-extension-macros-compat.patch=092026-=
10-09=20=20
04:20:16.000000000=20+0000
@@ -0,0 +1,54 @@
+Description: Fix FTBFS with GDM 51 PAM extension headers
+ GDM 51 rewrote its gdm-pam-extensions headers, replacing the uppercase
+ function-like macros with static inline functions.
+Author: Renan Rodrigo <rr@ubuntu.com>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/2163336
+Forwarded: https://github.com/SSSD/sssd/pull/9076
+Last-Update: 2026-08-12
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: sssd-2.13.1/src/sss_client/pam_sss.c
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+--- sssd-2.13.1.orig/src/sss_client/pam_sss.c
++++ sssd-2.13.1/src/sss_client/pam_sss.c
+@@ -67,6 +67,40 @@
+ #endif
+ #endif /* HAVE_GDM_CUSTOM_JSON_PAM_EXTENSION */
+
++/* GDM 51 replaced the uppercase function-like macros of its PAM extensio=
n
++ * headers with lowercase static inline functions. Provide the old macro
++ * names as aliases so the code below keeps compiling with both old and n=
ew
++ * gdm-pam-extensions. */
++#ifdef HAVE_GDM_PAM_EXTENSIONS
++#ifndef GDM_PAM_EXTENSION_SUPPORTED
++#define GDM_PAM_EXTENSION_SUPPORTED(name) \
++    gdm_pam_extension_supported(name)
++#endif
++#ifndef GDM_PAM_EXTENSION_MESSAGE_TO_BINARY_PROMPT_MESSAGE
++#define=20=20
GDM_PAM_EXTENSION_MESSAGE_TO_BINARY_PROMPT_MESSAGE(extended_message,=20=20
binary_message)=20\
++=20=20=20=20=20
gdm_pam_extension_message_to_binary_prompt_message((GdmPamExtensionMessage=
=20=20
*)(extended_message),=20binary_message)
++#endif
++#ifndef GDM_PAM_EXTENSION_CHOICE_LIST_REQUEST_INIT
++#define GDM_PAM_EXTENSION_CHOICE_LIST_REQUEST_INIT(request, title,=20=20
num_items)=20\
++    gdm_pam_extension_choice_list_request_init(request, title, num_items)
++#endif
++#ifndef GDM_PAM_EXTENSION_REPLY_TO_CHOICE_LIST_RESPONSE
++#define GDM_PAM_EXTENSION_REPLY_TO_CHOICE_LIST_RESPONSE(reply) \
++    gdm_pam_extension_reply_to_choice_list_response(reply)
++#endif
++#endif /* HAVE_GDM_PAM_EXTENSIONS */
++
++#ifdef HAVE_GDM_CUSTOM_JSON_PAM_EXTENSION
++#ifndef GDM_PAM_EXTENSION_CUSTOM_JSON_REQUEST_INIT
++#define GDM_PAM_EXTENSION_CUSTOM_JSON_REQUEST_INIT(request,=20=20
proto_name,=20proto_version, json_str) \
++    gdm_pam_extension_custom_json_request_init(request, proto_name,=20=20
proto_version,=20json_str)
++#endif
++#ifndef GDM_PAM_EXTENSION_REPLY_TO_CUSTOM_JSON_RESPONSE
++#define GDM_PAM_EXTENSION_REPLY_TO_CUSTOM_JSON_RESPONSE(reply) \
++    gdm_pam_extension_reply_to_custom_json_response(reply)
++#endif
++#endif /* HAVE_GDM_CUSTOM_JSON_PAM_EXTENSION */
++
+ #include "sss_pam_compat.h"
+ #include "sss_pam_macros.h"
+
diff -Nru sssd-2.13.1/debian/patches/series sssd-2.13.1/debian/patches/seri=
es
--- sssd-2.13.1/debian/patches/series	2026-09-08 11:05:33.000000000 +0000
+++ sssd-2.13.1/debian/patches/series	2026-10-09 04:20:16.000000000 +0000
@@ -9,3 +9,4 @@
  CVE-2026-68742.diff
  CVE-2026-68743.diff
  CVE-2026-68744.diff
+gdm-51-pam-extension-macros-compat.patch

```

Greets,
Mike
--=20

mike=20gabriel 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: sunweaver@debian.org, http://sunweavers.net


--=_LeDLUTu5zaKQSRgtglDtxT2
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIzBAABCgAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmrIh9AACgkQmvRrMCV3
GzHkkA//aPAvppsOMwgNPXvoCQ6JpdvcbvtRCgnrQDZJ51yaBROfF85fKSIjfcjW
VC3J+G/qxJ47j6FH4RCeCpiVjdrp6rSPXb8LA4Ol0y1E4/yQFQcjvsRAeARl7Lik
8xgHZGfvU6EL/1xDZxygCoHpMh3ZH8GeEx2mCWRMf+Yqm2/mp+hav1V7gDVnWt3/
MEyTo56565eZaUGbsoxi07GUYOKrZZ+5UTUcOSqGIShcPgjIzPY5CiHdCkviePuf
qOWU3aKA763aahz/0oww4cH21+cSYdz4kxLHgcyXCNnlKJzyGHss1RzukQueCuUw
WuJ4TideRP5Vb3zzJ1+oJxEsJ/4xDtukzmWpYzlDc4UD6Wbn7OobG+RTS3IfYcxK
nhXIEHYBJONAi8ooKzN8qSqiqpi60/9CaINcp7pyJk8XIe8HlhureB1qqrDdFnzX
JSVMrjZocEz6s9qomw16uJUvOuJAv9QekeeN9VO8/Xs7DZUZtfqHXMFlOftTw5Gw
y6xUYIUCaARfuoRaIqEASg255CP+NmY/nl0XoPMH/MA8gDt0/hddm8fMkTaMlin5
88qPOcnAgKXFxyrjfGJ7aQ4aspzfvh3+arP1mevHeLWsGwanstcXHpc4eEBO95rM
awIeqPCczHEOngUjZXORkNmT6/grYBJHAYO4VZvZcz+n5pCoxNU=
=hri/
-----END PGP SIGNATURE-----

--=_LeDLUTu5zaKQSRgtglDtxT2--
Technical Details
Message-ID: <NMchb-4puw-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <NHAk9-1V2n-7@gated-at.bofh.it> <NHAk9-1V2n-7@gated-at.bofh.it> <NJLbr-36ZV-5@gated-at.bofh.it> <NJNZD-38tL-1@gated-at.bofh.it> <NJNZD-38tL-1@gated-at.bofh.it> <NKhO2-3ote-7@gated-at.bofh.it> <NE0Gd-hyOQ-11@gated-at.bofh.it> <NKomt-3s2P-1@gated-at.bofh.it> <NKG01-3BK6-1@gated-at.bofh.it> <Mu9jY-4rrN-15@gated-at.bofh.it> <NKG01-3BK6-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Mike Gabriel <sunweaver@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1129522: Bug#1148069: Status / progress overview and dh-nss maintainer ping
Date: Fri, 09 Oct 2026 08:30:01 +0200
Message-ID: <NMchb-4puw-7@gated-at.bofh.it>
References: <NHAk9-1V2n-7@gated-at.bofh.it> <NHAk9-1V2n-7@gated-at.bofh.it> <NJLbr-36ZV-5@gated-at.bofh.it> <NJNZD-38tL-1@gated-at.bofh.it> <NJNZD-38tL-1@gated-at.bofh.it> <NKhO2-3ote-7@gated-at.bofh.it> <NE0Gd-hyOQ-11@gated-at.bofh.it> <NKomt-3s2P-1@gated-at.bofh.it> <NKG01-3BK6-1@gated-at.bofh.it> <Mu9jY-4rrN-15@gated-at.bofh.it> <NKG01-3BK6-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Fri Oct  9 06:23:15 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.9
Reply-To: Mike Gabriel <sunweaver@debian.org>, 1129522@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sssd@packages.debian.org
X-Debian-Pr-Message: followup 1129522
X-Debian-Pr-Package: libsss-sudo
X-Debian-Pr-Source: sssd
User-Agent: Horde Application Framework 5
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 178.62.101.154
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
 like Gecko) Chrome/154.0.0.0 Safari/537.36
Content-Type: multipart/signed; boundary="=_LeDLUTu5zaKQSRgtglDtxT2";
 protocol="application/pgp-signature"; micalg=pgp-sha512
MIME-Version: 1.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/833997
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 291
Sender: robomod@news.nic.it
X-Original-Cc: 1148069@bugs.debian.org, 1129522@bugs.debian.org,
 1147179@bugs.debian.org, carnil@debian.org
X-Original-Date: Fri, 09 Oct 2026 06:21:06 +0000
X-Original-Message-ID: <20261009062106.Horde.Xe9iGNwt3XnjD-M1pQrxxzm@mail.das-netzwerkteam.de>
X-Original-References: <20260926130227.Horde.57j-Lix94KCP2Ee1sR3P2mF@mail.das-netzwerkteam.de> <20260926130227.Horde.57j-Lix94KCP2Ee1sR3P2mF@mail.das-netzwerkteam.de> <6283e52c-547e-4e72-9d21-0fe3fa5bb7fb@debian.org> <20261002155800.Horde.9uLnWAqgjXPw5ZXwODQXDUR@mail.das-netzwerkteam.de> <20261002155800.Horde.9uLnWAqgjXPw5ZXwODQXDUR@mail.das-netzwerkteam.de> <57a30c13-a8a5-4356-a28b-61e3302cd210@svario.it> <20260916162441.Horde.70Q_G7DgZwKkW1iB5MfESM6@mail.das-netzwerkteam.de> <20261004064853.Horde.xVVS6dVA8-pNq9xkLOIySi3@mail.das-netzwerkteam.de> <9e9525a3-1dfd-4ab6-8c0c-a50216d19162@debian.org> <177244925836.1760.16464058844269383237.reportbug@localhost> <9e9525a3-1dfd-4ab6-8c0c-a50216d19162@debian.org>