Even in systemd this is is going to be trickier than I though if we want to do the things right since sadly dh-nss has some issues: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1113745
And in particular, it does not allow us to ensure that the service is set for all the databases, given that it considers "good enough" a nsswitch.conf that contains the systemd service in at least one database (sadly the grep command it generates and that I pasted above, would just pass in a broken nss switch, since multiple grep patterns are not in AND form). So... I initially thought that forcing a preinst script to re-generate the nsswitch (as in https://code.launchpad.net/~3v1n0/ubuntu/+source/systemd/+git/systemd/+merge/491734) would have been enough to fix our problems, but as said the script wouldn't run... Thus various possibilities: 1. Fix dh-nss as in the upstream bug (will it happen in time?) 2. Workaround the problem by dropping all the systemd instances in the /etc/nsswitch preinst and then make dh-nss to fix it in postinst 2a. I said dropping all the systemd instances for a reason: if we don't do it, we'll end up with duplicates ** Bug watch added: Debian Bug tracker #1113745 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1113745 ** Also affects: dh-nss (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1113745 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/2121017 Title: gdm3 49~beta doesn't start [unix_chkpwd: could not obtain user info (gdm-greeter)] on systems installed before 2024 Status in dh-nss package in Ubuntu: New Status in gdm3 package in Ubuntu: Fix Released Status in systemd package in Ubuntu: New Status in dh-nss package in Debian: Unknown Bug description: My system: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Questing Quokka (development branch) Release: 25.10 Codename: questing Completely updated. After yesterday (2025-08-19) package updates, gdm3 stops on starting Ubuntu and It's impossible to start Gnome. Gdm3 freezes computer. On restarting computer, I see a lot of dmesg messages: nouveau cannot find any crtc or sizes I've blacklisted nouveau driver and installed several nvidia drivers and nothing works. My nvidia is: # nvidia-driver-assistant Detected GPUs: NVIDIA GeForce RTX 4070 Laptop GPU - (pci_id 0x2860) Detected system: Ubuntu 25.10 Only works to install lightdm. ProblemType: Bug DistroRelease: Ubuntu 25.10 Package: gdm3 49~beta-0ubuntu2 ProcVersionSignature: Ubuntu 6.16.0-13.13-generic 6.16.0 Uname: Linux 6.16.0-13-generic x86_64 ApportVersion: 2.33.1-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Wed Aug 20 08:23:58 2025 InstallationDate: Installed on 2023-06-17 (795 days ago) InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1) SourcePackage: gdm3 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dh-nss/+bug/2121017/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

