Read-only file-system after install?

Robert robert.ayrapetyan at gmail.com
Thu Feb 16 04:17:50 UTC 2017


Hi.

I've installed FreeBSD in ZFS mirror mode many times on different hardware.

The last step was always "Exit to the system to make final changes" 
where I'm performing something like below:

pw useradd -n myuser -s /bin/tcsh -m
pw groupmod wheel -m myuser
passwd myuser

After reboot my user was there and everything worked as expected.

/tmp folder was always writable after reboot btw.


Starting from FreeBSD 11.0 I've noticed a following "bug":

once user added on the final step, all folders are created properly 
(folder /home/myuser is there).

After reboot, I can login as myuser, but /home/myuser is not there! 
/home folder is empty!

Moreover, /tmp is read-only!

So I have to perform:

su
chmod 1777 /tmp
pw userdel -n myuser
pw useradd -n myuser -s /bin/tcsh -m
pw groupmod wheel -m myuser
passwd myuser

after first reboot to recover my user. After further reboots everything 
stays as it should.

Is this expected behavior or a known bug?

If expected - how can I get what I want after installation?

Thanks!





More information about the freebsd-sysinstall mailing list