Bug#356162: [Adduser-devel] Bug#356162: adduser: No error message if homedir cannot be created

Joerg Hoh joerg at joerghoh.de
Fri Mar 10 23:28:23 UTC 2006

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 sshd

ok, 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.


Was denen einen ihr Watergate, ist den anderen ihr Firstgate.
- Thomas Bliessner, <slrnd1hklm.g53.nospam at 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

More information about the Adduser-devel mailing list