Bug 305061 - sshd ignoring nfs mounted home directories
sshd ignoring nfs mounted home directories
Product: Fedora
Classification: Fedora
Component: openssh (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Tomas Mraz
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-09-25 09:32 EDT by Andrew Cagney
Modified: 2008-04-04 10:12 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-04-04 10:12:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andrew Cagney 2007-09-25 09:32:51 EDT
The symptoms are:

-> upgraded sshd doesn't recognize my authorized keys in my ~/.ssh (but the same
keys / nfs directory works for non rawhide machines)

-> in wrong directory ; yet bash has read my .bashrc and cd puts me back where I
belong vis:

Could not chdir to home directory /home/.../cagney: Permission denied
$ cd
$ pwd
Comment 1 Tomas Mraz 2007-09-25 09:57:56 EDT
Is SELinux enforcing?

If you put it to permissive, does it work?

What about 'setsebool use_nfs_homedirs 1' does it help?
Comment 2 Andrew Cagney 2007-09-25 10:40:20 EDT
good call:

$ selinuxenabled
$ echo $?
$ man selinuxenabled
$ getenforce


$ sudo setenforce 0
cagney@toidi$ getenforce

ssh does work


$ sudo setenforce 1
$ sudo setsebool use_nfs_homedirs 1
Could not change active booleans: Invalid boolean
[grub grub]
$ sudo setsebool use_nfs_home_dirs 1

ssh does not work

where do I look for logging information?
Comment 3 Tomas Mraz 2007-09-25 11:13:42 EDT
/var/log/audit/audit.log (easiest with ausearch -m AVC -ts today)
Comment 4 Bug Zapper 2008-04-04 09:54:40 EDT
Based on the date this bug was created, it appears to have been reported
during the development of Fedora 8. In order to refocus our efforts as
a project we are changing the version of this bug to '8'.

If this bug still exists in rawhide, please change the version back to
(If you're unable to change the bug's version, add a comment to the bug
and someone will change it for you.)

Thanks for your help and we apologize for the interruption.

The process we're following is outlined here:

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.
Comment 5 Tomas Mraz 2008-04-04 10:12:08 EDT
Not enough information to fix this problem. Perhaps already fixed now, if not
please reopen along with the AVCs reported.

Note You need to log in before you can comment on or make changes to this bug.