On Sat, Dec 27, 2025 at 11:12:09PM +0100, Jochen Sprickerhof wrote: > Package: passwd > Version: 1:4.18.0-2 > Severity: normal > X-Debbugs-Cc: [email protected] > > 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.
Thanks! > 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 I think turning shadow passwords -off- when uninstalling passwd is a no-go. > just enable shadow by default is the better solution here. Well, but where. base-passwd? Also not so useful if there is no chance of having *passwords* at all (because there are no tools to write a password without `passwd`). Maybe `shadowconfig on` should just delete the lock file? Didn't investigate yet if this is feasible. Chris

