Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2017 20:17:47 -0800
From:      Robert <robert.ayrapetyan@gmail.com>
To:        freebsd-sysinstall@freebsd.org
Subject:   Read-only file-system after install?
Message-ID:  <80d9f08b-f0bf-c3c2-6307-78fa7e04b5b9@gmail.com>

next in thread | raw e-mail | index | archive | help
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!






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80d9f08b-f0bf-c3c2-6307-78fa7e04b5b9>