tags #264570 wishlist wontfix thanks On Sat, Sep 25, 2004 at 03:48:30PM +1000, Brian May wrote:> According to adduser man page: > > If called with one non-option argument and the --system option, adduser > will add a system user. If an user with an uid in the system range (or > if the uid is specified, with that) does already exist, adduser will > exit silently. > > However, adduser comes up with a lot of warnings when the user already > exists, contrary to the documentation which says it should exit > silently.Adduser issues a single warning if a user to be added does already exist. That warning can be turned off with the --quiet option. amavisd-new triggers other warnings in its postinst. Workarounds: - Create the home directory manually (or have it created with package installation by debian/dirs) and call adduser with --no-create-home. - Don''t manually create the group for the user, call adduser --system --group. Frankly, I believe that adduser can be used in a way that doesn''t trigger that many warnings. Thus, I am tagging this bug wontfix and am inclined to close it entirely. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Debian Bug Tracking System
2005-Feb-05 12:33 UTC
[Adduser-devel] Processed: Re: adduser is too verbose
Processing commands for control@bugs.debian.org:> tags #264570 wishlist wontfixUnknown tag/s: wishlist. Recognized are: patch wontfix moreinfo unreproducible fixed potato woody sid help security upstream pending sarge sarge-ignore experimental d-i confirmed ipv6 lfs fixed-in-experimental fixed-upstream l10n. Bug#264570: adduser is too verbose There were no tags set. Tags added: wontfix> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
>>>>> "Marc" == Marc Haber <mh+debian-packages@zugschlus.de> writes:Marc> Adduser issues a single warning if a user to be added does Marc> already exist. That warning can be turned off with the Marc> --quiet option. Marc> amavisd-new triggers other warnings in its Marc> postinst. Workarounds: Marc> - Create the home directory manually (or have it created Marc> with package installation by debian/dirs) and call adduser Marc> with --no-create-home. - Don''t manually create the group Marc> for the user, call adduser --system --group. Marc> Frankly, I believe that adduser can be used in a way that Marc> doesn''t trigger that many warnings. Hello, I was going to indicate that I disagree, and consider the man page was wrong, but it looks like the man page has already been fixed ;-) --- cut --- If called with one non-option argument and the --system option, adduser will add a system user. If an user with an uid in the system range (or if the uid is specified, with that) does already exist, adduser will exit with a warning. --- cut --- My only slight criticism is that it isn''t highlighted that this warning doesn''t occur if used with --quiet, but it solves the issue I complained about. Thanks. -- Brian May <bam@debian.org>
On Mon, Apr 25, 2005 at 04:06:54PM +1000, Brian May wrote:> My only slight criticism is that it isn''t highlighted that this > warning doesn''t occur if used with --quiet, but it solves the issue I > complained about.So the bug can be closed? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835