Debian Bug report logs - #763055
adduser: --quiet should not suppress fatal error messages

version graph

Package: adduser; Maintainer for adduser is Debian Adduser Developers <adduser@packages.debian.org>; Source for adduser is src:adduser (PTS, buildd, popcon).

Reported by: Michal Sojka <sojkam1@fel.cvut.cz>

Date: Sat, 27 Sep 2014 15:39:02 UTC

Severity: important

Found in version adduser/3.113+nmu3

Fixed in version adduser/3.116

Done: Afif Elghraoui <afif@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#763055; Package adduser. (Sat, 27 Sep 2014 15:39:06 GMT) (full text, mbox, link).


Acknowledgement sent to Michal Sojka <sojkam1@fel.cvut.cz>:
New Bug report received and forwarded. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Sat, 27 Sep 2014 15:39:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Michal Sojka <sojkam1@fel.cvut.cz>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: adduser: --quiet should not suppress fatal error messages
Date: Sat, 27 Sep 2014 17:29:31 +0200
Package: adduser
Version: 3.113+nmu3
Severity: normal

Dear Maintainer,

according to the man page, --quiet is supposed to suppress only
informational messages, not errors or warnings. However there are cases
when addgroup returns a non-zero exit code without printing any message,
for example, when the group to be created already exists with a
different GID. I think that, at least, the following pieces of code
should not have the "if $verbose" suffix.

   printf STDERR (gtx("The group `%s' already exists and is not a system group. Exiting.\n"), $new_name) if $verbose;
   exit RET_OBJECT_ALREADY_EXISTS;

   printf STDERR (gtx("The group `%s' already exists, but has a different GID. Exiting.\n"), $new_name) if $verbose;
   exit RET_OBJECT_ALREADY_EXISTS;

See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762275#32.

Best regards,
-Michal


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages adduser depends on:
ii  debconf [debconf-2.0]  1.5.53
ii  passwd                 1:4.2-2+b1
ii  perl-base              5.20.1-1

adduser recommends no packages.

Versions of packages adduser suggests:
ii  liblocale-gettext-perl  1.05-8+b1
ii  perl-modules            5.20.1-1

-- debconf information:
  adduser/title:
  adduser/homedir-permission: true



Added indication that bug 763055 blocks 769948 Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sun, 28 Jun 2015 10:06:13 GMT) (full text, mbox, link).


Severity set to 'important' from 'normal' Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sun, 28 Jun 2015 10:06:16 GMT) (full text, mbox, link).


Added indication that bug 763055 blocks 837871 Request was from Michael Biebl <biebl@debian.org> to 837871-submit@bugs.debian.org. (Thu, 15 Sep 2016 02:27:05 GMT) (full text, mbox, link).


Added indication that bug 763055 blocks 850092 Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Wed, 04 Jan 2017 02:03:05 GMT) (full text, mbox, link).


Message sent on to Michal Sojka <sojkam1@fel.cvut.cz>:
Bug#763055. (Sat, 12 Aug 2017 20:18:07 GMT) (full text, mbox, link).


Message #16 received at 763055-submitter@bugs.debian.org (full text, mbox, reply):

From: Afif Elghraoui <afif@debian.org>
To: 763055-submitter@bugs.debian.org
Subject: Bug#763055 in package adduser marked as pending
Date: Sat, 12 Aug 2017 20:14:08 +0000
Control: tag 763055 pending

Bug #763055 in package adduser reported by you has been fixed in
the adduser/adduser.git Git repository. You can see the changelog below, and
you can check the diff of the fix at:

    https://anonscm.debian.org/cgit/adduser/adduser.git/commit/?id=6400c67

---
commit 6400c67d621affb74d12079261e02e8d764b4775
Author: Afif Elghraoui <afif@debian.org>
Date:   Sat Aug 12 12:42:52 2017 -0400

    Update changelog

diff --git a/debian/changelog b/debian/changelog
index d72119d..924c1c6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+adduser (3.116) UNRELEASED; urgency=medium
+
+  * Advise installation of 'perl' rather than 'perl-modules'
+    (Closes: #840982)
+  * Improve distinction between informational and essential messages
+    (Closes: #763055)
+  * Improve message accompanying error code for creating system user
+    (Closes: #708073, #759740)
+  * testsuite: add current directory to module search path
+
+ -- Afif Elghraoui <afif@debian.org>  Sat, 12 Aug 2017 11:44:19 -0400
+
 adduser (3.115) unstable; urgency=medium
 
   [ Afif Elghraoui ]



Added tag(s) pending. Request was from Afif Elghraoui <afif@debian.org> to 763055-submitter@bugs.debian.org. (Sat, 12 Aug 2017 20:18:07 GMT) (full text, mbox, link).


Reply sent to Afif Elghraoui <afif@debian.org>:
You have taken responsibility. (Sat, 12 Aug 2017 20:51:15 GMT) (full text, mbox, link).


Notification sent to Michal Sojka <sojkam1@fel.cvut.cz>:
Bug acknowledged by developer. (Sat, 12 Aug 2017 20:51:15 GMT) (full text, mbox, link).


Message #23 received at 763055-close@bugs.debian.org (full text, mbox, reply):

From: Afif Elghraoui <afif@debian.org>
To: 763055-close@bugs.debian.org
Subject: Bug#763055: fixed in adduser 3.116
Date: Sat, 12 Aug 2017 20:49:20 +0000
Source: adduser
Source-Version: 3.116

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

Debian distribution maintenance software
pp.
Afif Elghraoui <afif@debian.org> (supplier of updated adduser 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: Sat, 12 Aug 2017 16:05:34 -0400
Source: adduser
Binary: adduser
Architecture: source
Version: 3.116
Distribution: unstable
Urgency: medium
Maintainer: Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>
Changed-By: Afif Elghraoui <afif@debian.org>
Description:
 adduser    - add and remove users and groups
Closes: 708073 759740 763055 840982 845791
Changes:
 adduser (3.116) unstable; urgency=medium
 .
   * Advise installation of 'perl' rather than 'perl-modules'
     (Closes: #840982)
   * Improve distinction between informational and essential messages
     (Closes: #763055)
   * Improve message accompanying error code for creating system user
     (Closes: #708073, #759740)
   * testsuite: add current directory to Perl module search path
   * Use /usr/sbin/nologin instead of /bin/false for default system shell
     (Closes: #845791)
   * Bump Standards-Version to 4.0.1
Checksums-Sha1:
 649f82bad2d5234d899c126a19bb66bc7867a8f0 1740 adduser_3.116.dsc
 8cd86a573f8e9ede3cee2fd14a35287bf300eb68 212012 adduser_3.116.tar.xz
 30e561dae6a99add7c6d925b28129905493f7577 5767 adduser_3.116_source.buildinfo
Checksums-Sha256:
 50e4154d3101101a890864185a09478c182155dc13f73dbb465c4279213bfafa 1740 adduser_3.116.dsc
 72d811ad3ba17d2794b14d19acd1d6b57f9dd31d9250d51e786895dee2daeac0 212012 adduser_3.116.tar.xz
 a2c50a451d87ebac2e8007f55d7850afc581c2ce9d0a09d544a59a42132adabf 5767 adduser_3.116_source.buildinfo
Files:
 66a17b27890067707dbf9580814c7918 1740 admin important adduser_3.116.dsc
 e042a5842b8f24312d6f5a99a1af8f2c 212012 admin important adduser_3.116.tar.xz
 fee33cdea505963c2bbe2b6cbedd0e5b 5767 admin important adduser_3.116_source.buildinfo

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

iQJEBAEBCAAuFiEE6rcjomb2J+aAVWFfWbIwbzr53cEFAlmPYVMQHGFmaWZAZGVi
aWFuLm9yZwAKCRBZsjBvOvndwUd7D/4387QEKKi7MKVZqxiIEJnzGsE4OV7f5vZr
U1FQV2tQruYyMYOFg1Q2b4Dr639hSa0AJhw2Mr7Nb/zzxN7amIlJWcowM2fUWxKz
ulMLsizC5yISUE0AKqbIzHPHl55yJMjDLS89iPE1OO9Axdbss8wr2VZC4pVTejgW
+BIcZyHH0um+4cj2PTjFjVH7TpwsRY2kl+SW7tyxolaDdnVNY4YX37Jr4SOo3NcJ
ld5BNpCxjjqFl2T0AzZNv3kMrqs3/MvULP5aHt91mjdRAf59V2+HPg/jMm9UeEkJ
B4JguAbFibKnB8WdBkMzSNXUSUNla09p4dfEYFNPUcZYrUfC/MAwTzcf/rt6DxbQ
E6IRnhiw/KAEh4kK6DYpXBawwLokysfFA3yfGTH3tf7Ii5/9g6Ajwefswwt+pWqP
d10uh9TEY5QgLlDsC4dlgPFnD3UrmUGTdflAIx5DjsjDcrxVrwKDbiiork/LjcfE
pqiojmHJhyjbBUSmT+APp8QCPY7BC/is+mPQBYUH8coUEwPRhQ/cpVAKlS5yuuj6
xm95bp+I9CSoGZuBjBtlY7zFDndLy6FSY6Dfkr/w91avmDyOHsMF0RnaHSBlD5Q8
VbU/euaQlWdj1teShZRHwqx5K7h2V0k9WMW/UWZNKZFKK3Fj9nTj/zxYwzRZGySx
XhfTxIps3A==
=jUjJ
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 15 Sep 2017 07:28:22 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 21:38:13 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.