Bug#544971: Assumes HOME is /home/$USER.
user-setup-apply is used by live-initramfs to create a "guest" account
at boot time. I needed the account to have HOME outside of /home,
because /home is an NFS mount used by non-guest accounts.
Since user-setup-apply seems to end up just calling adduser, this is
no big deal -- I can change DHOME to /tmp in adduser.conf. But while
RTFSing, I noticed that
if [ -d "$ROOT/home/$USER" ]; then
Assumes that the new user's home directory will be /home/$USER. To
fix this, you'd need to parse and understand adduser.conf, so it may
be reasonable to simply WONTFIX this issue.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash