Bug 305061

Summary: sshd ignoring nfs mounted home directories
Product: [Fedora] Fedora Reporter: Andrew Cagney <cagney>
Component: opensshAssignee: Tomas Mraz <tmraz>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: triage
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: bzcl34nup
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-04 14:12:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Cagney 2007-09-25 13:32:51 UTC
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
/home/.../cagney

Comment 1 Tomas Mraz 2007-09-25 13:57:56 UTC
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 14:40:20 UTC
good call:

$ selinuxenabled
$ echo $?
0
$ man selinuxenabled
$ getenforce
Enforcing

--

$ sudo setenforce 0
cagney@toidi$ getenforce
Permissive

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 15:13:42 UTC
/var/log/audit/audit.log (easiest with ausearch -m AVC -ts today)


Comment 4 Bug Zapper 2008-04-04 13:54:40 UTC
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
rawhide.
(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:
http://fedoraproject.org/wiki/BugZappers/F9CleanUp

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 14:12:08 UTC
Not enough information to fix this problem. Perhaps already fixed now, if not
please reopen along with the AVCs reported.