Debian Bug report logs - #515909
despite man page claims, a warning is not shown.

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: shaulkarl@yahoo.com

Date: Wed, 18 Feb 2009 10:33:05 UTC

Severity: normal

Found in version adduser/3.110

Fixed in version adduser/3.111

Done: Stephen Gran <sgran@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#515909; Package adduser. (Wed, 18 Feb 2009 10:33:08 GMT) (full text, mbox, link).


Acknowledgement sent to shaulkarl@yahoo.com:
New Bug report received and forwarded. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Wed, 18 Feb 2009 10:33:08 GMT) (full text, mbox, link).


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

From: shaul Karl <shaulkarl@yahoo.com>
To: bts debian <submit@bugs.debian.org>
Subject: despite man page claims, a warning is not shown.
Date: Wed, 18 Feb 2009 02:32:13 -0800 (PST)
Package: adduser
Version: 3.110
Severity: normal

man page claims:

       If called with one non-option  argument  and  the  --system  
       option, adduser will add a system user. If a user with the same 
       name already exists in the system uid range (or, if the uid is  
       specified,  if  a user  with  that uid already exists), adduser 
       will exit with a warning.

    and

    --quiet
       Suppress  informational  messages,  only  show  warnings  and
       errors.

However this doesn't work for me. I do have an ftp user:

# adduser --quiet --system ftp
#


      




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#515909; Package adduser. (Wed, 18 Feb 2009 21:03:17 GMT) (full text, mbox, link).


Acknowledgement sent to Stephen Gran <sgran@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Wed, 18 Feb 2009 21:03:18 GMT) (full text, mbox, link).


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

From: Stephen Gran <sgran@debian.org>
To: shaulkarl@yahoo.com, 515909@bugs.debian.org
Cc: bts debian <submit@bugs.debian.org>
Subject: Re: [Adduser-devel] Bug#515909: despite man page claims, a warning is not shown.
Date: Wed, 18 Feb 2009 21:01:45 +0000
[Message part 1 (text/plain, inline)]
This one time, at band camp, shaul Karl said:
> man page claims:
> 
>        If called with one non-option  argument  and  the  --system  
>        option, adduser will add a system user. If a user with the same 
>        name already exists in the system uid range (or, if the uid is  
>        specified,  if  a user  with  that uid already exists), adduser 
>        will exit with a warning.
> 
>     and
> 
>     --quiet
>        Suppress  informational  messages,  only  show  warnings  and
>        errors.
> 
> However this doesn't work for me. I do have an ftp user:
> 
> # adduser --quiet --system ftp

Hmm.  It's always been my understanding that that is precisely the way
that we encourage maintainer scripts to invoke adduser, and it's not an
error to invoke it with the same set of parameters a second time.  It
sounds like the docs are wrong, rather than the code, but does anyone
else disagree?

Cheers,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#515909; Package adduser. (Sat, 19 Sep 2009 20:27:23 GMT) (full text, mbox, link).


Acknowledgement sent to Joerg Hoh <joerg@joerghoh.de>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Sat, 19 Sep 2009 20:27:23 GMT) (full text, mbox, link).


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

From: Joerg Hoh <joerg@joerghoh.de>
To: 515909@bugs.debian.org
Cc: shaul Karl <shaulkarl@yahoo.com>
Subject: Re: [Adduser-devel] Bug#515909: despite man page claims, a warning is not shown.
Date: Sat, 19 Sep 2009 22:05:03 +0200
[Message part 1 (text/plain, inline)]
On Wed, Feb 18, 2009 at 02:32:13AM -0800, shaul Karl wrote:
> Package: adduser
> Version: 3.110
> Severity: normal
> 
> man page claims:
> 
>        If called with one non-option  argument  and  the  --system  
>        option, adduser will add a system user. If a user with the same 
>        name already exists in the system uid range (or, if the uid is  
>        specified,  if  a user  with  that uid already exists), adduser 
>        will exit with a warning.
> 
>     and
> 
>     --quiet
>        Suppress  informational  messages,  only  show  warnings  and
>        errors.
> 
> However this doesn't work for me. I do have an ftp user:
> 
> # adduser --quiet --system ftp
> #
> 

I agree to Stephen, the docs are missing the description of the interaction
of these 2 settings. I will add a statement to the manpage, that --quiet
will surpress this printed warning.

Joerg

-- 
What did you do to the cat? It looks half-dead. -Schroedinger's wife
[Message part 2 (application/pgp-signature, inline)]

Reply sent to Stephen Gran <sgran@debian.org>:
You have taken responsibility. (Sun, 20 Sep 2009 22:45:23 GMT) (full text, mbox, link).


Notification sent to shaulkarl@yahoo.com:
Bug acknowledged by developer. (Sun, 20 Sep 2009 22:45:23 GMT) (full text, mbox, link).


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

From: Stephen Gran <sgran@debian.org>
To: 515909-close@bugs.debian.org
Subject: Bug#515909: fixed in adduser 3.111
Date: Sun, 20 Sep 2009 22:19:17 +0000
Source: adduser
Source-Version: 3.111

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:

adduser_3.111.dsc
  to pool/main/a/adduser/adduser_3.111.dsc
adduser_3.111.tar.gz
  to pool/main/a/adduser/adduser_3.111.tar.gz
adduser_3.111_all.deb
  to pool/main/a/adduser/adduser_3.111_all.deb



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 515909@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephen Gran <sgran@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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 20 Sep 2009 22:09:53 +0100
Source: adduser
Binary: adduser
Architecture: source all
Version: 3.111
Distribution: unstable
Urgency: low
Maintainer: Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>
Changed-By: Stephen Gran <sgran@debian.org>
Description: 
 adduser    - add and remove users and groups
Closes: 502150 515909 515909 517505 520586 535857 544504 545024 545475
Changes: 
 adduser (3.111) unstable; urgency=low
 .
   [ Joerg Hoh ]
   * deluser: --backup-to implies --backup; thanks Zak Wilcox (closes: #535857)
   * deluser: sockets should also be backupped and removed (closes: #545024),
     thanks Christian Sievers for spotting.
   * allow underscores again in usernames (closes: #520586)
   * remove the "games" group from the EXTRA_GROUPS example (closes: #502150)
   * really warn if a user is already present when creating a new system user
     (closes: 515909)
   * document the interaction between --system and --close (closes: #515909)
 .
   [ Stephen Gran ]
   * Update po4a calls
   * Translations:
     - fr (thanks Nicolas FRANCOIS (Nekral) <nicolas.francois@centraliens.net>
       closes: #545475)
     - sv (thanks Daniel Nylander <yeager@ubuntu.com> closes: #517505)
     - zh_CN (thanks Aron Xu <happyaron.xu@gmail.com> closes: #544504)
   * update standards version - no changes
Checksums-Sha1: 
 a88675596f20799582560d96bd2843a5733ca553 1029 adduser_3.111.dsc
 4b874463cc33770a487e8ee29610db30607f7c63 279519 adduser_3.111.tar.gz
 8b44de5811c120eb2e349fc3e796d8b06d22ff7f 156872 adduser_3.111_all.deb
Checksums-Sha256: 
 09e2c5f4cf5ef68e0f279ea967a9ff887fd7f90bf9b2b7763fac61f76bf5e944 1029 adduser_3.111.dsc
 1c16ab1dec3159423e25ce5519aff24c52243ff2f0998d317815d281f979e8e6 279519 adduser_3.111.tar.gz
 0b416e8d1a0bc949754138843589bd00e64682ad8638b024d7475ae70ede1259 156872 adduser_3.111_all.deb
Files: 
 d37ba5f0d4307433f4a3827fe497e153 1029 admin important adduser_3.111.dsc
 d02c8a84893db6f76f9a75c3c4d11b8a 279519 admin important adduser_3.111.tar.gz
 a5196425ad59794274bd0132a5f7a53c 156872 admin important adduser_3.111_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkq2nGoACgkQSYIMHOpZA47HQQCfSDR6SOM0yvJV6SnGTvxwczHv
S/AAoN93FbRam+1ytod5UTvBJCNQssKN
=1lfv
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 29 Oct 2009 07:59:14 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:23:30 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.