Bug#1119148: libnss-systemd: double entries in nsswitch.conf
Christoph Anton Mitterer
calestyo at scientia.org
Fri Nov 7 01:34:07 GMT 2025
Hey.
FYI, I've just stared upgrading a first test system at our university
cluster from bookworm to trixie... and after the upgrade, its
/etc/nsswitch.conf ended up as:
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: files systemd
group: files systemd
shadow: files
gshadow: files
hosts: files mymachines dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
whereas a fresh debootstrap to trixie gives:
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: files systemd
group: files systemd
shadow: files systemd
gshadow: files systemd
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
Note the differences in the shadow and gshadow entries.
Cheers,
Chris.
More information about the Pkg-systemd-maintainers
mailing list