[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#544971: Assumes HOME is /home/$USER.



Control: tag -1 wontfix

Trent W. Buck <trentbuck@gmail.com> (2009-09-04):
> 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.

Given the current logic (HOME_EXISTED etc.), I'm not very keen on
changing things there, so I'll go with wontfix for now. If nobody
pops up yelling and posting patches, it can be closed in a while.

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: