Your message dated Wed, 17 May 2023 23:55:23 +0200 with message-id <[🔎] 168436052370.834195.10733894423812731543@localhost> and subject line Re: x2gothinclient-common: about .postinst and .postrm scripts has caused the Debian Bug report #1034755, regarding x2gothinclient-common: about .postinst and .postrm scripts 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.) -- 1034755: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034755 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: x2gothinclient-common: about .postinst and .postrm scripts
- From: Patrice Duroux <patrice.duroux@gmail.com>
- Date: Sun, 23 Apr 2023 17:07:27 +0200
- Message-id: <168226244791.7910.11396599151961800002.reportbug@kos-moceratops.home>
Package: x2gothinclient-common Version: 1.5.0.1-8.1 Severity: wishlist Dear Maintainer, To be consistent, regarding the entire content of the .postinst script, I think it should use addgroup in line 49 (compared to line 30 and the use of adduser and not useradd everywhere else). Also 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/addgroup or deluser/delgroup from the adduser package, which is only priority important. Using useradd/groupadd or userdel/groupdel from the passwd package (priority required) should fix this problem. There is ongoing discussion how to handle system users/groups on package removal, see https://bugs.debian.org/621833 Consensus seems to be not to remove system users/groups (to avoid reusing UIDs/GIDs 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/delgroup: deluser/delgroup ... || true The piupart log is here: https://piuparts.debian.org/sid/fail/x2gothinclient-common_1.5.0.1-8.1.log Thanks, Patrice -- System Information: Debian Release: 12.0 APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-7-amd64 (SMP w/12 CPU threads; PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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 x2gothinclient-common depends on: ii adduser 3.132 ii x2goclient 4.1.2.2-2+b1 x2gothinclient-common recommends no packages. x2gothinclient-common suggests no packages.
--- End Message ---
--- Begin Message ---
- To: debian-remote@lists.debian.org
- Cc: 1034755-done@bugs.debian.org, patrice.duroux@gmail.com
- Subject: Re: x2gothinclient-common: about .postinst and .postrm scripts
- From: Johannes Schauer Marin Rodrigues <josch@debian.org>
- Date: Wed, 17 May 2023 23:55:23 +0200
- Message-id: <[🔎] 168436052370.834195.10733894423812731543@localhost>
- In-reply-to: <[🔎] 168427314884.805230.15275483229302634852@localhost>
- References: <[🔎] 168408179605.16851.6113189900797860055.reportbug@kos-moceratops.home> <[🔎] 168427314884.805230.15275483229302634852@localhost>
Version: 1.5.0.1-9 Hi, Quoting Johannes Schauer Marin Rodrigues (2023-05-16 23:39:08) > On Sun, 14 May 2023 18:29:56 +0200 Patrice Duroux <patrice.duroux@gmail.com> > wrote: > > Here is a patch for the .postrm script useing deluser/delgroup on purge. > Since time is running short, I am going to NMU x2gothinclient on Thursday > with a delay of 2 days unless you disagree and/or want to do this yourself. version 1.5.0.1-9 of x2gothinclient fixes this bug but the changelog entry wrongly closed #1035847 in x2gobroker. Thanks! cheers, joschAttachment: signature.asc
Description: signature
--- End Message ---