Ted Percival
2006-Mar-10 02:33 UTC
Bug#356162: adduser: No error message if homedir cannot be created
Package: adduser Version: 3.85 Severity: normal If creating the home directory fails there is no error message indicating why. # adduser --system --debug sshd Selecting uid from range 100 to 999. Adding system user `sshd'' with uid 107... Adding new user `sshd'' (107) with group `nogroup''. /usr/sbin/useradd -d /home/sshd -g nogroup -s /bin/false -u 107 sshd /usr/bin/chage -M 99999 sshd Creating home directory `/home/sshd''. Cleaning up. Removing directory `/home/sshd'' rm -rf /home/sshd Removing user `sshd''. userdel sshd # In this case /home is controlled by autofs: # mkdir /home/sshd mkdir: cannot create directory `/home/sshd'': No such file or directory # ls -ld /home drwxr-xr-x 3 root root 0 2006-03-10 12:19 /home -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, ''unstable''), (500, ''testing''), (1, ''experimental'') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.15-1-686-smp Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Versions of packages adduser depends on: ii debconf [debconf-2.0] 1.4.71 Debian configuration management sy ii passwd 1:4.0.14-7 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 _______________________________________________ Adduser-devel mailing list Adduser-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/adduser-devel
Joerg Hoh
2006-Mar-10 23:48 UTC
Bug#356162: [Adduser-devel] Bug#356162: adduser: No error message if homedir cannot be created
On Fri, Mar 10, 2006 at 01:29:06PM +1100, Ted Percival wrote:> Package: adduser > Version: 3.85 > Severity: normal > > If creating the home directory fails there is no error message > indicating why. > > # adduser --system --debug sshd > Selecting uid from range 100 to 999. > Adding system user `sshd'' with uid 107... > Adding new user `sshd'' (107) with group `nogroup''. > /usr/sbin/useradd -d /home/sshd -g nogroup -s /bin/false -u 107 sshd > /usr/bin/chage -M 99999 sshd > Creating home directory `/home/sshd''. > Cleaning up. > Removing directory `/home/sshd'' > rm -rf /home/sshd > Removing user `sshd''. > userdel sshdok, so the cleanup handler should also print the cause for the failure. That shouldn''t be a problem. Added to the to-do list. Thank you. 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/20060311/a119b3a6/attachment.pgp
Debian Bug Tracking System
2006-Apr-15 21:13 UTC
[Adduser-devel] Bug#356162: marked as done (adduser: No error message if homedir cannot be created)
Your message dated Sat, 15 Apr 2006 13:47:13 -0700 with message-id <E1FUrfl-0001Gh-2c@spohr.debian.org> and subject line Bug#356162: fixed in adduser 3.86 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: "Ted Percival" <Ted.Percival@quest.com> Subject: adduser: No error message if homedir cannot be created Date: Fri, 10 Mar 2006 13:29:06 +1100 Size: 5741 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060415/82449fbd/attachment.mht -------------- next part -------------- An embedded message was scrubbed... From: Marc Haber <mh+debian-packages@zugschlus.de> Subject: Bug#356162: fixed in adduser 3.86 Date: Sat, 15 Apr 2006 13:47:13 -0700 Size: 3560 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060415/82449fbd/attachment-0001.mht