Kevin B. McCarty
2006-Feb-15 18:48 UTC
Bug#353032: adduser: Adduser tries to print new system user ID before it''s defined
Package: adduser Version: 3.83 Severity: minor Hi, If adduser is called with the --system option without a specific UID, it complains "Use of uninitialized value in printf" (note the 3rd and 4th lines below). benjo (sid)[2]:/home/kmccarty# adduser --system --ingroup nogroup --home /tmp bar adduser: Warning: The home dir you specified already exists. Use of uninitialized value in printf at /usr/sbin/adduser line 334. Adding system user `bar'' with uid ... Adding new user `bar'' (107) with group `nogroup''. The home directory `/tmp'' already exists. Not copying from `/etc/skel'' adduser: Warning: that home directory does not belong to the user you are currently creating The problem is that line 334 of the adduser script tries to print the new UID before it is defined on lines 336 and following. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, ''unstable'') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.8-2-386 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages adduser depends on: ii debconf [debconf-2.0] 1.4.70 Debian configuration management sy ii passwd 1:4.0.14-6 change and administer password and ii perl-base 5.8.8-2 The Pathologically Eclectic Rubbis adduser recommends no packages. -- debconf information: * adduser/homedir-permission: true regards, -- Kevin B. McCarty <kmccarty@princeton.edu> Physics Department WWW: http://www.princeton.edu/~kmccarty/ Princeton University GPG: public key ID 4F83C751 Princeton, NJ 08544
Joerg Hoh
2006-Feb-15 19:48 UTC
Bug#353032: [Adduser-devel] Bug#353032: adduser: Adduser tries to print new system user ID before it''s defined
Hi Kevin On Wed, Feb 15, 2006 at 01:44:28PM -0500, Kevin B. McCarty wrote:> Package: adduser > Version: 3.83 > Severity: minor > > Hi, > > If adduser is called with the --system option without a specific UID, it > complains "Use of uninitialized value in printf" (note the 3rd and 4th > lines below).I already spotted this failure and committed the fix to subversion. adduser 3.84 won''t have this bug anymore. J?rg -- Was denen einen ihr Watergate, ist den anderen ihr Firstgate. - Thomas Bliessner, <slrnd1hklm.g53.nospam@melix.com.mx> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060215/58a46452/attachment.pgp
Marc Haber
2006-Feb-15 22:03 UTC
Bug#353032: Re: [Adduser-devel] Bug#353032: adduser: Adduser tries to print new system user ID before it''s defined
tags #353032 confirmed pending thanks On Wed, Feb 15, 2006 at 08:12:01PM +0100, Joerg Hoh wrote:> I already spotted this failure and committed the fix to subversion. adduser > 3.84 won''t have this bug anymore.Tagging appropriately. 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
2006-Feb-15 22:04 UTC
Processed: Re: Re: [Adduser-devel] Bug#353032: adduser: Adduser tries to print new system user ID before it''s defined
Processing commands for control@bugs.debian.org:> tags #353032 confirmed pendingBug#353032: adduser: Adduser tries to print new system user ID before it''s defined There were no tags set. Tags added: confirmed, pending> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Debian Bug Tracking System
2006-Feb-19 18:57 UTC
[Adduser-devel] Bug#353032: marked as done (adduser: Adduser tries to print new system user ID before it''s defined)
Your message dated Sun, 19 Feb 2006 10:32:07 -0800 with message-id <E1FAtLr-0002Uf-TA@spohr.debian.org> and subject line Bug#353032: fixed in adduser 3.84 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------- next part -------------- An embedded message was scrubbed... From: "Kevin B. McCarty" <kmccarty@princeton.edu> Subject: adduser: Adduser tries to print new system user ID before it''s defined Date: Wed, 15 Feb 2006 13:44:28 -0500 Size: 2845 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060219/787221aa/attachment-0002.mht -------------- next part -------------- An embedded message was scrubbed... From: Marc Haber <mh+debian-packages@zugschlus.de> Subject: Bug#353032: fixed in adduser 3.84 Date: Sun, 19 Feb 2006 10:32:07 -0800 Size: 3257 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060219/787221aa/attachment-0003.mht