Read-only file-system after install?

Allan Jude allanjude at freebsd.org
Thu Feb 16 04:40:38 UTC 2017


On 2017-02-15 23:17, Robert wrote:
> 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!
> 
> 
> 
> _______________________________________________
> freebsd-sysinstall at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-sysinstall
> To unsubscribe, send any mail to
> "freebsd-sysinstall-unsubscribe at freebsd.org"

This is unexpected, but I have not seen this myself.

On a fresh install, in the 'after install shell', what are the
permissions on /tmp?

And what are they after the reboot?


-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-sysinstall/attachments/20170215/3f4d0b34/attachment.sig>


More information about the freebsd-sysinstall mailing list