[Piuparts-devel] Bug#1124105: passwd leaves behind /etc/.pwd.lock upon uninstalling
Jochen Sprickerhof
jspricke at debian.org
Sat Dec 27 22:12:09 GMT 2025
Package: passwd
Version: 1:4.18.0-2
Severity: normal
X-Debbugs-Cc: piuparts-devel at alioth-lists.debian.net
Hi,
this can be easily seen with:
$ piuparts --apt --distribution=unstable \
'--bootstrapcmd=mmdebstrap --skip=check/empty --variant=apt' \
passwd
[..]
0m19.9s ERROR: FAIL: Package purging left files on system:
/etc/.pwd.lock not owned
Note that piuparts.d.o has passwd installed in it's base chroot so it
currently does not detect this. Maybe piuparts maintainers (Cced) want
to fix this, there are probably more cases like this.
The problem is that passwd.postinst is calling `shadowconfig on` but
nothing is turning it off again. Not sure if turning it off in prerm or
just enable shadow by default is the better solution here.
Cheers Jochen
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.17.13+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages passwd depends on:
ii base-passwd 3.6.8
ii libacl1 2.3.2-2+b1
ii libattr1 1:2.5.2-3
ii libaudit1 1:4.1.2-1+b1
ii libbsd0 0.12.2-2
ii libc6 2.42-6
ii libcrypt1 1:4.5.1-1
ii libpam-modules 1.7.0-5
ii libpam0g 1.7.0-5
ii libselinux1 3.9-4+b1
ii libsemanage2 3.9-1+b1
ii login.defs 1:4.18.0-2
Versions of packages passwd recommends:
ii sensible-utils 0.0.26
passwd suggests no packages.
-- no debconf information
More information about the Piuparts-devel
mailing list