On Tue, 2007-11-20 at 11:00 -0500, Jason Solan wrote: > We have home directories set up on an NFS mount, mounted through autofs > using a ldap. > > Everything appears to set up correctly and the RHEL 5.1 configs are > virtually identical to the RHEL 4.5 configs. > > On all of our RHEL 4 systems the mounts work fine. > I don't know for sure if this was an issue in RHEL 5.0, and we don't > have any more 5.0 systems to test it on. > > On RHEL5.1 systems when I do an su, I get: > su: warning: cannot change directory to /home/jsolan: No such file or > directory > > And the user is taken into the /root directory. > > However, the directory mounts just fine and I can cd into /home/jsolan > and use it without issue. > > Is this a timeout issue? Is there something we need to adjust so that > the system 'waits' before trying change directory? > > I can't seem to reproduce the issue if I do an ssh login today, though I > was pretty sure it was happening with an ssh login yesterday. >
This is a selinux issue, you should do: setsebool -P use_nfs_home_dirs=1 -- EirĂkur Hjartarson _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
