Your message dated Thu, 04 May 2023 16:49:35 +0000
with message-id <[email protected]>
and subject line Bug#1035494: fixed in moonshot-trust-router 3.5.4+2
has caused the Debian Bug report #1035494,
regarding moonshot-trust-router: fails to purge - command deluser in postrm not
found
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1035494: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035494
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: moonshot-trust-router
Version: 3.5.4+1+nmu1
Severity: serious
User: [email protected]
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package failed to purge due
to a command not found. According to policy 7.2 you cannot rely on the
depends being available during purge, only the essential packages are
available for sure.
The fix should be easy: your package is using adduser or deluser from
the adduser package, which is only priority important. Using useradd or
userdel from the passwd package (priority required) should fix this
problem.
There is ongoing discussion how to handle system users on package
removal, see https://bugs.debian.org/621833
Consensus seems to be not to remove system users (to avoid reusing UIDs
which could grant access to the wrong files) but to "lock" them (where
"locking"/"unlocking" is not yet precisely defined). Until that has
been decided it should be sufficient to have the postrm script ignore
any errors from deluser:
deluser ... || true
>From the attached log (scroll to the bottom...):
0m23.9s DEBUG: Starting command: ['chroot',
'/srv/piuparts.debian.org/tmp/tmp31k0hsgy', 'dpkg', '--purge',
'moonshot-trust-router']
0m23.9s DUMP:
(Reading database ... 8067 files and directories currently installed.)
Purging configuration files for moonshot-trust-router (3.5.4+1+nmu1+b1) ...
Removing /var/lib/trust_router/
Removing trustrouter user from system
/var/lib/dpkg/info/moonshot-trust-router.postrm: 11: deluser: not found
dpkg: error processing package moonshot-trust-router (--purge):
installed moonshot-trust-router package post-removal script subprocess
returned error exit status 127
Errors were encountered while processing:
moonshot-trust-router
0m23.9s ERROR: Command failed (status=1): ['chroot',
'/srv/piuparts.debian.org/tmp/tmp31k0hsgy', 'dpkg', '--purge',
'moonshot-trust-router']
cheers,
Andreas
moonshot-trust-router_3.5.4+1+nmu1+b1.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: moonshot-trust-router
Source-Version: 3.5.4+2
Done: Sam Hartman <[email protected]>
We believe that the bug you reported is fixed in the latest version of
moonshot-trust-router, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sam Hartman <[email protected]> (supplier of updated moonshot-trust-router
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 04 May 2023 10:21:53 -0600
Source: moonshot-trust-router
Architecture: source
Version: 3.5.4+2
Distribution: unstable
Urgency: medium
Maintainer: Sam Hartman <[email protected]>
Changed-By: Sam Hartman <[email protected]>
Closes: 1035494
Changes:
moonshot-trust-router (3.5.4+2) unstable; urgency=medium
.
* Do not depend on deluser which is not essential, Closes: #1035494
Checksums-Sha1:
f8a5fea69dab499445fb9e211f8f70ccc9941d1c 1425 moonshot-trust-router_3.5.4+2.dsc
b057f8ab7baebe1e2dac3acf9e90e54f2efaa236 169344
moonshot-trust-router_3.5.4+2.tar.xz
Checksums-Sha256:
60021fa513652121b87ddbf419c7550e5eecd0c8c099e2dd1741d217b2093d03 1425
moonshot-trust-router_3.5.4+2.dsc
8f51434f8a5f0f81a27bfc4d4af5cff82df8a15ec54944692e75bf359421a696 169344
moonshot-trust-router_3.5.4+2.tar.xz
Files:
5ace89c1f574355180c6ab4956bc8ded 1425 net optional
moonshot-trust-router_3.5.4+2.dsc
08881da8583ef381d9416dadce50f0c5 169344 net optional
moonshot-trust-router_3.5.4+2.tar.xz
-----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQSj2jRwbAdKzGY/4uAsbEw8qDeGdAUCZFPdrgAKCRAsbEw8qDeG
dDdJAPsEwtIkrHEAxUTCzWdnpH0sl8QDpiIwMmGaCqMR7tqxpwD9F+8yPbpzb5Pr
G5xk06f3ghtla/sfxJEN+BVJkZ4YeQo=
=dJa3
-----END PGP SIGNATURE-----
--- End Message ---