Some recent update to Fedora 32 has caused this to start happen:
Fedora 32 (Workstation Edition) Kernel 5.7.12-200.fc32.x86_64 on an x86_64 (tty3) mull login: braden Password: Last login: Sun Aug 9 21:08:51 on tty2 -- braden: /home/braden: change directory failed: Logging in with home = "/". [braden@mull /]$ cd [braden@mull ~]$ pwd /home/braden [braden@mull ~]$
What's happening here?
Why is the login process itself failing to change to the home directory, yet it's accessible immediately afterward?
Home directories are NFS mounted on this machine via autofs.
$ cat /etc/auto.master.d/home.autofs /home /etc/auto.home $ cat /etc/auto.home * -fstype=nfs4 hinge:/endoframe-store/home/&
On 8/9/20 8:02 PM, Braden McDaniel wrote:
Fedora 32 (Workstation Edition) Kernel 5.7.12-200.fc32.x86_64 on an x86_64 (tty3) mull login: braden Password: Last login: Sun Aug 9 21:08:51 on tty2 -- braden: /home/braden: change directory failed: Logging in with home = "/".
Try: setsebool -P use_nfs_home_dirs 1
On Sun, 2020-08-09 at 20:49 -0700, Gordon Messmer wrote:
On 8/9/20 8:02 PM, Braden McDaniel wrote:
Fedora 32 (Workstation Edition) Kernel 5.7.12-200.fc32.x86_64 on an x86_64 (tty3) mull login: braden Password: Last login: Sun Aug 9 21:08:51 on tty2 -- braden: /home/braden: change directory failed: Logging in with home = "/".Try: setsebool -P use_nfs_home_dirs 1
After doing that and rebooting, NFS shares couldn't be mounted at all.
More likely that had to do with the rebooting than the use_nfs_home_dirs setting.
What *did* get things back to working order was to update the Fedora 32 server where the NFS shares live. It was probably two or three weeks behind. Apparently some incompatible change was introduced in that time.
Generally I try to use nfsvers=3 since I have had version 4 act up like this a couple of times when everything is not completely in sync.
On Tue, Aug 11, 2020 at 8:12 AM Braden McDaniel braden@endoframe.com wrote:
On Sun, 2020-08-09 at 20:49 -0700, Gordon Messmer wrote:
On 8/9/20 8:02 PM, Braden McDaniel wrote:
Fedora 32 (Workstation Edition) Kernel 5.7.12-200.fc32.x86_64 on an x86_64 (tty3) mull login: braden Password: Last login: Sun Aug 9 21:08:51 on tty2 -- braden: /home/braden: change directory failed: Logging in with home = "/".Try: setsebool -P use_nfs_home_dirs 1
After doing that and rebooting, NFS shares couldn't be mounted at all.
More likely that had to do with the rebooting than the use_nfs_home_dirs setting.
What *did* get things back to working order was to update the Fedora 32 server where the NFS shares live. It was probably two or three weeks behind. Apparently some incompatible change was introduced in that time.
-- Braden McDaniel braden@endoframe.com _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org