Bug 305061 - sshd ignoring nfs mounted home directories
Summary: sshd ignoring nfs mounted home directories
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: bzcl34nup
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-25 13:32 UTC by Andrew Cagney
Modified: 2008-04-04 14:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-04 14:12:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.



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