Bug#848239: marked as done (deluser on purge)
Your message dated Thu, 12 Apr 2018 13:34:59 + with message-idand subject line Bug#848239: fixed in dh-sysuser 1.3.2 has caused the Debian Bug report #848239, regarding deluser on purge 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 ow...@bugs.debian.org immediately.) -- 848239: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848239 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: dh-sysuser Version: 1.3 Severity: wishlist I think that, under certain circumstances, users should be completely removed along with their $HOME directory when the package is purged. I think this is a reasonable expectation of Debian packages. Some packages (e.g. mysql, iirc) explicitly prompt the user through debconf to confirm file removal, which could be an option here as well. I understand why the user is disabled when the package is removed right now, but in my use case (IRC bot) there isn't much state left behind and i believe it's fine to remove the files on purge. Disabling the user could be done on "remove". -- System Information: Debian Release: 8.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable'), (1, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.7.0-0.bpo.1-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dh-sysuser depends on: ii perl 5.20.2-3+deb8u6 dh-sysuser recommends no packages. dh-sysuser suggests no packages. -- no debconf information --- End Message --- --- Begin Message --- Source: dh-sysuser Source-Version: 1.3.2 We believe that the bug you reported is fixed in the latest version of dh-sysuser, 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 848...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Dmitry Bogatov (supplier of updated dh-sysuser 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 ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Sun, 25 Mar 2018 14:58:19 +0300 Source: dh-sysuser Binary: dh-sysuser sysuser-helper Architecture: source Version: 1.3.2 Distribution: unstable Urgency: medium Maintainer: Dmitry Bogatov Changed-By: Dmitry Bogatov Description: dh-sysuser - debhelper addon to handle creation of system users sysuser-helper - dh-sysuser implementation detail Closes: 848239 Changes: dh-sysuser (1.3.2) unstable; urgency=medium . * Remove user on purge, not remove (Closes: #848239) + Thanks: Antoine Beaupré Checksums-Sha1: b64d51be0451ef8dab8d12a6d488e0f4e658ad7a 1608 dh-sysuser_1.3.2.dsc fdb0028c7ec81ba07c955c6d15bfbe9ff5cd6d23 5420 dh-sysuser_1.3.2.tar.xz fc0dc515c205528003c7e99602ed633a0ff1d253 5930 dh-sysuser_1.3.2_source.buildinfo Checksums-Sha256: f613cfbfeafdeedb5bf6ee14c4cffb3ad00f8718c4619b9ec6618f48ee3470a0 1608 dh-sysuser_1.3.2.dsc 5d273fc99a154575dcfae6a852feac49bad2490858b67c7d05b92d18dd831aa3 5420 dh-sysuser_1.3.2.tar.xz b1b43b9d078ed99dced2397623f59a279beadb500393d791ae479edd6af90361 5930 dh-sysuser_1.3.2_source.buildinfo Files: d14d42f5bdb17f737e2646e887014e5c 1608 admin optional dh-sysuser_1.3.2.dsc 810f1d221348562aa371b415ce93e151 5420 admin optional dh-sysuser_1.3.2.tar.xz 87170a556e2d7769048cf8eb1c18e7e3 5930 admin optional dh-sysuser_1.3.2_source.buildinfo -BEGIN PGP SIGNATURE- iQIcBAEBCAAGBQJaz13JAAoJEPNPCXROn13ZD3QP/1ui8FYQRAjLtMoF8zU/3Tw+ IyN800/mxuSE1TqVJfL5KIYuomIH/8LXWvENw8oqZNMTRCNDgTD+ntrgglGnFkpy APp6Wdv3XrjAVWPB1FJiVjMEe0ToF/8ZqcCU4nd0u9/EA/4USgoWEVQ/aQ7TNSvF exvVkr4vQTOe/Ce6UTf6ZQmUY3QEK5Ny5Bwe8L8vx7XrarrRcTDzY7MKGXQo5rH4 gaBuDmUOS46L6itJBmarbovl3yULRccWcqFu2aRfClZcLwDFA2HP+2WAWqeudw+q 1Iw7vta6sGVm8C607i2E9HDJxnrjgbndkOeG0bGOlg9aYZokJUZgpTVwjH3AoH2n 6b/siY4txfHj00EkZRinXzZjhPmZ/y07+TZPX5ChK3NqbFBCMVTXv8SbbvpfQrvR 4K5HZAH62Uk+jjBJ/WOfaJcP9+pVl3SzPChYSo3UrrPSXKGu0Te33HjOXpZ+Pdng +8kDTClu8cRwMfJzBeFzoc/NhVRfVhKB7UEfw+pRKEzbnVG9gRQLbQ02wGVEiDOY lFEpIzxQdrtdQStOj8yUR7vWFfl0a2D1JHrB4hMKeSe8E/SlYQlr1gU0BT0vp5sl
Bug#848239: marked as done (deluser on purge)
Your message dated Mon, 12 Mar 2018 11:04:48 + with message-idand subject line Bug#848239: fixed in dh-sysuser 1.3.1 has caused the Debian Bug report #848239, regarding deluser on purge 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 ow...@bugs.debian.org immediately.) -- 848239: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848239 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: dh-sysuser Version: 1.3 Severity: wishlist I think that, under certain circumstances, users should be completely removed along with their $HOME directory when the package is purged. I think this is a reasonable expectation of Debian packages. Some packages (e.g. mysql, iirc) explicitly prompt the user through debconf to confirm file removal, which could be an option here as well. I understand why the user is disabled when the package is removed right now, but in my use case (IRC bot) there isn't much state left behind and i believe it's fine to remove the files on purge. Disabling the user could be done on "remove". -- System Information: Debian Release: 8.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable'), (1, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.7.0-0.bpo.1-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dh-sysuser depends on: ii perl 5.20.2-3+deb8u6 dh-sysuser recommends no packages. dh-sysuser suggests no packages. -- no debconf information --- End Message --- --- Begin Message --- Source: dh-sysuser Source-Version: 1.3.1 We believe that the bug you reported is fixed in the latest version of dh-sysuser, 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 848...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Dmitry Bogatov (supplier of updated dh-sysuser 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 ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Format: 1.8 Date: Wed, 07 Mar 2018 03:33:07 +0300 Source: dh-sysuser Binary: dh-sysuser sysuser-helper Architecture: source Version: 1.3.1 Distribution: unstable Urgency: medium Maintainer: Dmitry Bogatov Changed-By: Dmitry Bogatov Description: dh-sysuser - debhelper addon to handle creation of system users sysuser-helper - dh-sysuser implementation detail Closes: 844342 848239 848240 Changes: dh-sysuser (1.3.1) unstable; urgency=medium . * Fix description of sysuser-helper package: s/it's/its. (Closes: #844342) + Thanks: Toby Speight * Remove system user without home directory at package uninstall. If there is no home directory, it seems safe to assume that no files belong to that user, and removing that user will not cause harm. * Create system users with /usr/sbin/nologin as shell. * Do not impose dependency on bin:adduser. It is unneeded, since bin:sysuser-helper uses useradd(8), which is provided by bin:passwd, with is of required priority. * Document in manpage, that sysuser-helper delegates its job to useradd(8) (Closes: #848240) * Remove useless account locking in prerm. * Ensure that content of /etc/skel is not copied into home directory. * Update Vcs-* and Homepage fields in debian/control. * Update standards version to 4.1.3 (no changes needed) * Bump compat version to 11 (no changes needed) * Document and implement login, that system user is removed when it has either empty home directory or none at all (Closes: #848239) Checksums-Sha1: d7f1cffc1561affbca9bcf28e28c1cbb131ffa46 1608 dh-sysuser_1.3.1.dsc ea86ac475b9599b6bec63a1f76967766011ec76a 5220 dh-sysuser_1.3.1.tar.xz d727a77c14a4fa86af1e7980c70cee0a1640afe4 5927 dh-sysuser_1.3.1_source.buildinfo Checksums-Sha256: 6ec383b0dcf93955a086426894febfacb31e3b26d0800b98575cae3863da27ae 1608 dh-sysuser_1.3.1.dsc b95153a329ccaa6fe9c2599fdd0141d0ab4c299b247c46417467dcf5c8859615 5220 dh-sysuser_1.3.1.tar.xz 4c86f8f708e480acc682435a3b22e85bbc0f36c98e1c499305e9a52167b2c358 5927