Thanks for advice, but it does not appear to be an SELinux issue here.
I set use_nfs_home_dirs as you've said, restarted autofs, reloaded nscd,
and still get the same result.
I've even gone as far as setting selinux to permissive.
No SELinux errors show up, in fact no errors show up.  As I said, the
directory mounts normally as its supposed to, I just get a message
saying that it failed on the terminal window and am taken to the /root
directory.


On Tue, 2007-11-20 at 16:18 +0000, Eirikur Hjartarson wrote:
> 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
> 






IMPORTANT: 
This transmission is sent on behalf of Knouse Foods for business
purposes.  It is for the intended recipient only.  If you are not the intended
recipient or a person responsible for delivering this transmission to
the intended recipient, you may not disclose, copy or distribute this
transmission or take any action in reliance on it.  If you received this
transmission in error, please notify us immediately by replying to this
Email message, and please dispose of and delete this transmission.
Thank you.

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to