Bug#1004326: libnss-systemd: postinst modification of /etc/nsswitch.conf forgets (g)shadow

Robert Siemer Robert.Siemer-reportbug at backsla.sh
Mon Jan 24 23:37:12 GMT 2022


Package: libnss-systemd
Version: 250.3-1
Severity: normal
X-Debbugs-Cc: Robert.Siemer-reportbug at backsla.sh

/var/lib/dpkg/info/libnss-systemd\:i386.postinst does not add
`systemd` on the shadow and gshadow lines of /etc/nsswitch.conf,
only passwd and group.

All four dbs should have `systemd` added according to
man page nss-systemd(8).

I guess the manual page got corrected without it going into the
postinst script, isn’t it?

Regards,
Robert



-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 5.10.0-8-686-pae (SMP w/2 CPU threads)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libnss-systemd depends on:
ii  libc6    2.33-3
ii  systemd  250.3-1

libnss-systemd recommends no packages.

libnss-systemd suggests no packages.

-- no debconf information


More information about the Pkg-systemd-maintainers mailing list