debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #06374
[Bug 2121017] Re: gdm3 49~beta doesn't start [unix_chkpwd: could not obtain user info (gdm-greeter)] on systems installed before 2024
Mh, actually the code in `/var/lib/dpkg/info/libnss-
systemd\:amd64.postinst` seems to do exactly that...
As per:
if ! grep -q -E -e '^group:[^#]*\s(systemd)(\s|#|$)' -e '^gshadow:[^#]*\s(systemd)(\s|#|$)' -e '^passwd:[^#]*\s(systemd)(\s|#|$)' -e '^shadow:[^#]*\s(systemd)(\s|#|$)' "${DPKG_ROOT}/etc/nsswitch.conf" ; then
# Installing passwd/systemd from libnss-systemd in position last
sed -E -i "${DPKG_ROOT}/etc/nsswitch.conf" -e '/^passwd:\s[^#]*$/ s/$/ systemd/' -e '/^passwd:\s.*#/ s/#/ systemd #/'
# Installing group/systemd from libnss-systemd in position last
sed -E -i "${DPKG_ROOT}/etc/nsswitch.conf" -e '/^group:\s[^#]*$/ s/$/ systemd/' -e '/^group:\s.*#/ s/#/ systemd #/'
# Installing shadow/systemd from libnss-systemd in position last
sed -E -i "${DPKG_ROOT}/etc/nsswitch.conf" -e '/^shadow:\s[^#]*$/ s/$/ systemd/' -e '/^shadow:\s.*#/ s/#/ systemd #/'
# Installing gshadow/systemd from libnss-systemd in position last
sed -E -i "${DPKG_ROOT}/etc/nsswitch.conf" -e '/^gshadow:\s[^#]*$/ s/$/ systemd/' -e '/^gshadow:\s.*#/ s/#/ systemd #/'
fi
But... The check only runs if
/etc/nsswitch.conf.nss.${DPKG_MAINTSCRIPT_PACKAGE}-will-install is
there, and this only happens on new installation, not on configure...
So... Our systemd package should likely do the same of
`https://salsa.debian.org/gioele/dh-
nss/-/blob/debian/latest/autoscripts/preinst-nss` if configuring when
coming from a systemd version that is older than the one that introduced
the module too.
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to systemd 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 gdm3 package in Ubuntu:
Fix Released
Status in systemd package in Ubuntu:
New
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/gdm3/+bug/2121017/+subscriptions