Date: Wed, 15 Feb 2017 23:40:25 -0500 From: Allan Jude <allanjude@freebsd.org> To: freebsd-sysinstall@freebsd.org Subject: Re: Read-only file-system after install? Message-ID: <1ac9555c-8cde-b7ba-64d5-d84889c415a8@freebsd.org> In-Reply-To: <80d9f08b-f0bf-c3c2-6307-78fa7e04b5b9@gmail.com> References: <80d9f08b-f0bf-c3c2-6307-78fa7e04b5b9@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --bT7CauqO72SHi1bHdW97wjfEUGgH0ifC5 Content-Type: multipart/mixed; boundary="Nqfi0Xha36Axuf1NkTGt06ogcdrsLEbs4"; protected-headers="v1" From: Allan Jude <allanjude@freebsd.org> To: freebsd-sysinstall@freebsd.org Message-ID: <1ac9555c-8cde-b7ba-64d5-d84889c415a8@freebsd.org> Subject: Re: Read-only file-system after install? References: <80d9f08b-f0bf-c3c2-6307-78fa7e04b5b9@gmail.com> In-Reply-To: <80d9f08b-f0bf-c3c2-6307-78fa7e04b5b9@gmail.com> --Nqfi0Xha36Axuf1NkTGt06ogcdrsLEbs4 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017-02-15 23:17, Robert wrote: > Hi. >=20 > I've installed FreeBSD in ZFS mirror mode many times on different hardw= are. >=20 > The last step was always "Exit to the system to make final changes" > where I'm performing something like below: >=20 > pw useradd -n myuser -s /bin/tcsh -m > pw groupmod wheel -m myuser > passwd myuser >=20 > After reboot my user was there and everything worked as expected. >=20 > /tmp folder was always writable after reboot btw. >=20 >=20 > Starting from FreeBSD 11.0 I've noticed a following "bug": >=20 > once user added on the final step, all folders are created properly > (folder /home/myuser is there). >=20 > After reboot, I can login as myuser, but /home/myuser is not there! > /home folder is empty! >=20 > Moreover, /tmp is read-only! >=20 > So I have to perform: >=20 > su > chmod 1777 /tmp > pw userdel -n myuser > pw useradd -n myuser -s /bin/tcsh -m > pw groupmod wheel -m myuser > passwd myuser >=20 > after first reboot to recover my user. After further reboots everything= > stays as it should. >=20 > Is this expected behavior or a known bug? >=20 > If expected - how can I get what I want after installation? >=20 > Thanks! >=20 >=20 >=20 > _______________________________________________ > freebsd-sysinstall@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-sysinstall > To unsubscribe, send any mail to > "freebsd-sysinstall-unsubscribe@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? --=20 Allan Jude --Nqfi0Xha36Axuf1NkTGt06ogcdrsLEbs4-- --bT7CauqO72SHi1bHdW97wjfEUGgH0ifC5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJYpS08AAoJEBmVNT4SmAt+IC8QAMFqNGIpVRLF5zgPKR8sRgd0 SmOWJeEsMpn8dhOxXTrfo3jAMo9NSMffoa1YFgSRO1HWcsU+efO1VwWXXHEe3COF qO8woT/8MIrHQzfmVGEw3lcq4FSEdk9zhiUBnKgtP/xxS0943qfCikmxcAdUTsUB EQYg8iQ/FaitWDUhDKeWP1TfAyL70HMEv9MExfJFzRro5EHVLXzmURz7iWlfGORz QutZB3uJXEoyixelwwoCcYXiR4BDTFeWYgZUOKjiC2yKgWzkItGOv80jmy3f2WaG J0aNm39GJbQ6mrPiXAHt0fxbNSLRalRxQxO9uttSpFdFc7AmeN9+2Wmjs8Lq9/NR WHBayhVkagQm5OltwE748XsVltei+PVu4+VGd7Qxcj5zsGXBPr9FAKhIJEdd6dko 2orLM8TTFLwi16AytmFgB7kdUw0mZXb6F4OJ2h0iEVqtNkhARuxT/waqT6y2T8qJ Akw28mqo1/sNksomK2gqbFlPfKGzo+EBEvsyV71MhiNxMpt9ViCWZt9jnNA2G1dl RSI/bDdNrYg4x+iddADmW36Zn6coH6kWj3HiGwmYaYkWfxyofxaRrIXDg83tt8Lo b6OFaLLhvpLz/KDJCOLMXNoIkc4YyDV6vtyCsZ8XsgjEOYVUqtqSCDRS4FLbeJ7q c57TaHNn8UzBQo4TRntK =UdcJ -----END PGP SIGNATURE----- --bT7CauqO72SHi1bHdW97wjfEUGgH0ifC5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1ac9555c-8cde-b7ba-64d5-d84889c415a8>
