--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: Assumes HOME is /home/$USER.
- From: "Trent W. Buck" <trentbuck@gmail.com>
- Date: Fri, 04 Sep 2009 12:08:41 +1000
- Message-id: <20090904020841.3572.99867.reportbug@Clio.local>
Package: user-setup
Version: 1.28
Severity: minor
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
HOME_EXISTED=
if [ -d "$ROOT/home/$USER" ]; then
HOME_EXISTED=1
fi
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
--- End Message ---