/home and /usr/home not created by bsdinstall

Lars Engels lars.engels at 0x20.net
Thu Sep 1 10:03:11 UTC 2011


On Thu, 1 Sep 2011 11:08:59 +0200, Yamagi Burmeister wrote:
> Hi,
> when installing FreeBSD 9.0-BETA1 and choosing the auto partition
> layout (Guided -> Entire Disk -> Exit -> Save) with no seperate
> /usr/home partition and adding no user accounts to the system
> (Would you like to add users to the installed system now -> No) 
> neither
> the /usr/home directory nor the /home symlink are created. I'm not 
> sure
> if this is a bug or a feature, but adding users via adduser(8) or 
> pw(8)
> without the directory and symlink in existance results in "mkdir
> (/home/xxx): No such file or directory", making the newly created 
> user
> account unusable. Therefor I'm suggesting that bsdinstall
> creates /usr/home and the /home symlink in any case, regardless if
> users are added or not.
>
> Ciao,
> Yamagi

Hi Yamagi,

this was already reported and will be fixed in BETA2. The cause was a 
bug in
pw(8).

Cheers
Lars


More information about the freebsd-current mailing list