Your message dated Sun, 02 Dec 2018 20:46:14 +0000
with message-id <[email protected]>
and subject line Bug#904046: fixed in netkit-telnet 0.17-41.1
has caused the Debian Bug report #904046,
regarding netkit-telnet: Please consider using getent instead of sg in 
maintscript
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.)


-- 
904046: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904046
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: netkit-telnet
Version: 0.17-41
Severity: wishlist
User: [email protected]
Usertags: sg-maintscript-removal

Hello,

Your package netkit-telnet was one of the few matches for 'sg' usage in
maintainer scripts[1].  As a preparation for potentially solving #833256
in the future, I'd like to ask you to change your package to adhere to
what seems to be the established defacto standard in maintainer-script
code for adding users/groups these days, eg.

if ! getent passwd | grep ^joeuser: > /dev/null; then
    adduser ...
fi

... and similar for groups with 'getent group'.

More examples can be found at
https://codesearch.debian.net/search?q=path%3A.*postinst+adduser
or for a specific example see:
https://sources.debian.org/src/util-linux/2.32-0.1/debian/uuid-runtime.postinst/

Please note that adding (and removing) system users and groups are still
not described in Debian Policy (see #228692), but this will eliminate
the need for the 'sg' utility and be more in line with what other
packages are doing.
If your package are removing users or groups during purge, you might
want to consider that there seems to be consensus against ever doing so
(see mailing list thread linked from #228692).

If time permits and I haven't heard anything back I'll consider fixing
this via a NMU while at DebCamp/DebConf.

Regards,
Andreas Henriksson

[1]: 
https://codesearch.debian.net/search?q=path%3Adebian%2F.*p%28ost%7Cre%29%28inst%7Crm%29+%5C+sg%5C+

--- End Message ---
--- Begin Message ---
Source: netkit-telnet
Source-Version: 0.17-41.1

We believe that the bug you reported is fixed in the latest version of
netkit-telnet, 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.
Andreas Henriksson <[email protected]> (supplier of updated netkit-telnet 
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: SHA512

Format: 1.8
Date: Sun, 02 Dec 2018 21:12:12 +0100
Source: netkit-telnet
Binary: telnet telnetd
Architecture: source
Version: 0.17-41.1
Distribution: unstable
Urgency: medium
Maintainer: Mats Erik Andersson <[email protected]>
Changed-By: Andreas Henriksson <[email protected]>
Description:
 telnet     - basic telnet client
 telnetd    - basic telnet server
Closes: 904046
Changes:
 netkit-telnet (0.17-41.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Replace sg usage with getent group in postinst (Closes: #904046)
     - note that there's still much room for related improvements, like
       using 'getent passwd' instead of id to match the common pattern
       also don't remove the user in postrm as that violates the
       common consensus (see discussion linked from #228692)
Checksums-Sha1:
 7da045c93798a12d6dd87b9c35f85cfdb00e6640 1856 netkit-telnet_0.17-41.1.dsc
 379c944c28b1b66b8a861bef22315ab4c7ac9405 36776 
netkit-telnet_0.17-41.1.debian.tar.xz
 156e63677a929860c2f7fa55f7353de6b3bbfd1c 6348 
netkit-telnet_0.17-41.1_amd64.buildinfo
Checksums-Sha256:
 d68c26011db7e736c055657e232ad3f329acd51ab18214b155866e5770e9a47f 1856 
netkit-telnet_0.17-41.1.dsc
 3181fe0635e4411b1f5896a88470639444354e1fbae088b53609436e78d00748 36776 
netkit-telnet_0.17-41.1.debian.tar.xz
 1fa865a07cbc4f34bff9ecadf538b9b176859b3b9c2223711348267c410274dc 6348 
netkit-telnet_0.17-41.1_amd64.buildinfo
Files:
 e6048bbca4200d40610803baa83d732e 1856 net standard netkit-telnet_0.17-41.1.dsc
 a10e3e10ef94789b4ea6269259c8a3b9 36776 net standard 
netkit-telnet_0.17-41.1.debian.tar.xz
 bab8a5b93a76c7ad722058e629a2482e 6348 net standard 
netkit-telnet_0.17-41.1_amd64.buildinfo

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

iQJFBAEBCgAvFiEE+uHltkZSvnmOJ4zCC8R9xk0TUwYFAlwEPRgRHGFuZHJlYXNA
ZmF0YWwuc2UACgkQC8R9xk0TUwYpKA//VpD32LMcJt3wTwbI/W5t9/Cg9xBGZ96M
BDIzURqG2JKaFIQTC00wUGG07guxktOyWoVUZvsRCOnHIajoGjw5clqX2S/lbygL
8wERUCPEQzA2BPzRkXzsReaiwBj6d7+HC4tAQPWAqpS0rxk8aAWj+pWUhsEbzPVV
tx/t1+iDwah+mEwNQgVR2ufOMLGnE9G3eC1/F3PNcPwMxmv5Pc0bf1qtA9RsGgA5
Dc20baBosgIOGBG/wSCcldHWgMd7FboRrokDn2/9+J5yvpjjVPrSQPpB3u0Eb/AC
vBmT1G28mvIaYJGCzMCZv94pwCBdCM/5C9Up/aWKJIxTN/1T2/XwRGCj2SP73zm6
CN0abcirp5S68nyqYUO/ljx2VPGnnsSRStMVcMxDqYWl5Lv2RcuX1UxxfhELkfi4
LiqhluodPx14lCZLkLO8csqm8XOKs/3vWS1FUTm4wuTx1e/RqoYw4EFUjyT2lTpS
946MsPJOvoEqXaHdxpdiQ3vKduqjSTNiHtMH6BuA7JVfLHvhhb6dCtz+4jNfJeaK
9VEoBcVsQmUbWYKUHITwKmkRAwJ7oaZfIVRWUsUIxH8dz/9r0y/3GKPBaUTh2mHZ
3RY/Wp1587TJRm42fMtmCSGz0ULqzP9GQll9f/fTtkNkaVH8s11GLjD4SyvB+KBJ
+A2YcIjaGyI=
=+4A3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to