[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1035292: marked as done (debian-edu-fai: fails to purge - command (deluser|adduser) in postrm not found)



Your message dated Tue, 16 May 2023 21:18:48 +0000
with message-id <E1pz24G-00E3u9-TB@fasolo.debian.org>
and subject line Bug#1035292: fixed in debian-edu-fai 2023.05.16.1
has caused the Debian Bug report #1035292,
regarding debian-edu-fai: fails to purge - command (deluser|adduser) 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 owner@bugs.debian.org
immediately.)


-- 
1035292: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035292
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-edu-fai
Version: 2022.04.14.1
Severity: serious
User: debian-qa@lists.debian.org
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...):

0m20.1s DEBUG: Starting command: ['chroot', '/srv/piuparts.debian.org/tmp/tmpephm8a0q', 'dpkg', '--purge', 'debian-edu-fai']
0m20.1s DUMP: 
  (Reading database ... 8077 files and directories currently installed.)
  Purging configuration files for debian-edu-fai (2022.04.14.1) ...
  /var/lib/dpkg/info/debian-edu-fai.postrm: 21: deluser: not found
  dpkg: error processing package debian-edu-fai (--purge):
   installed debian-edu-fai package post-removal script subprocess returned error exit status 127
  Errors were encountered while processing:
   debian-edu-fai
0m20.1s ERROR: Command failed (status=1): ['chroot', '/srv/piuparts.debian.org/tmp/tmpephm8a0q', 'dpkg', '--purge', 'debian-edu-fai']


cheers,

Andreas

Attachment: debian-edu-fai_2022.04.14.1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: debian-edu-fai
Source-Version: 2023.05.16.1
Done: Mike Gabriel <sunweaver@debian.org>

We believe that the bug you reported is fixed in the latest version of
debian-edu-fai, 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 1035292@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated debian-edu-fai 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 16 May 2023 23:00:47 +0200
Source: debian-edu-fai
Architecture: source
Version: 2023.05.16.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Closes: 1035292
Changes:
 debian-edu-fai (2023.05.16.1) unstable; urgency=medium
 .
   * bin/debian-edu-faiinstall: Make sure FAI_CONFIGDIR_REAL is set before it
     is accessed.
   * debian/postrm: Ignore failures during execution of deluser/delgroup.
     (Closes: #1035292).
Checksums-Sha1:
 bc8e3575c04ef1c49347794bac91dbe7327c7298 1730 debian-edu-fai_2023.05.16.1.dsc
 9004c14faafa2fc3880309afb3e0211cc78181de 70740 debian-edu-fai_2023.05.16.1.tar.xz
 6b7d98e980671fcccac0a0833b49294b80570ddd 6352 debian-edu-fai_2023.05.16.1_source.buildinfo
Checksums-Sha256:
 858975f9e8f69172fadec14ede161f932d46d58b569f215a4fe2fabf41301670 1730 debian-edu-fai_2023.05.16.1.dsc
 2c8718abd838f94bf366ec0f6eb3f99ab359470ae183bb73ee59491d4c2f609c 70740 debian-edu-fai_2023.05.16.1.tar.xz
 d7668469cf8108147b10385da4e4477f003ec41ac13e1c941b7b198355a46bbc 6352 debian-edu-fai_2023.05.16.1_source.buildinfo
Files:
 ca18d320ccc4d9cf4d09503b40ff226a 1730 admin optional debian-edu-fai_2023.05.16.1.dsc
 e92fd711baba9c0ca83e2f051462b48e 70740 admin optional debian-edu-fai_2023.05.16.1.tar.xz
 d4f6c19c6538d9c5886eda0238848458 6352 admin optional debian-edu-fai_2023.05.16.1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmRj7+AVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxFgoQAKPBYj5UsIkK60fWnhzewA83Yec6
e6Fw/qjfl5Bnl3kE2eELvCMxvm2cq5qd74ecbKMzzG0UOBpZO51ICnJsXeLkYpLz
mN21rNZJK0v1Y3CbE5nyLfQytldxFOz2LjNk9qVxXAtf05hB9um/qgFU7GkEUa2R
kbyl7rrEGmn6iy08HQAAFP1aPbZzAHH81vWatjZL8VFKx0lRQ9vQiYUJ/BmQobZZ
IW0xBhtl2zjHBRmk+8R6IvE1vOB2hrUNYiE3jsaFc/Thhb2weR5nSsiJVvEHvFJ9
Uq2TY5VYUEKgDi332DSg9DdK1DJxWt5mPVLrE03xyx5As07yQmi8Fh0FSpFxbi55
hshT4HJVcfBC0+9L0DpWJziWld31lHjJuHRDmiXFZ72ysnZRRUGvqyUrlJkbFP9L
74/KWSktdxGqGyy8PTJGjbjJymOXV++IiZB4JpSZ0nPdlOTwfPxLvwSNV5zLnqtZ
QyWHBri9Pm0sQ4QgaEhQlLdaK4ZUhZ6PPYBWxFC6OBVqfDtNIlc0bSrXA4vf1Q4V
wYEAzHvyCnYbgDqflfwpbIxxceESmusa6y1CxtOBKN+rlpLAa2cSs45pKqeqdYr2
pBEl5uR02RvnH35VruCbW7Z/xrZS7lNDs1U+d/hqpPCBOCcwT7UI6NiZ42i8K2nk
hoQrrgiTxtEtD/Cr
=GXEC
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: