Bug 400641 - SELinux prevents gdm from accessing NFS home folder
Summary: SELinux prevents gdm from accessing NFS home folder
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 8
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-27 09:15 UTC by Trond Danielsen
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-11-28 13:26:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Trond Danielsen 2007-11-27 09:15:23 UTC
Description of problem:
SELinux prevents gdm from accessing NFS home folder. Home folder is mounted
under /export/home and users are authenticated agains a LDAP server.

SELinux context of relevant folder:
drwxr-xr-x  root root system_u:object_r:default_t:s0   /export
drwxr-xr-x  root root system_u:object_r:nfs_t:s0       /export/home

I assume that relabeling it to user_home_dir_t would solve this, but I though
setting the use_nfs_home_dir boolean should fix this.

Version-Release number of selected component (if applicable):
Fully up2date Fedora 8 x86_64

How reproducible:
Every time (reinstall, relabel etc does not help)

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Daniel Walsh 2007-11-28 13:26:22 UTC
# semanage fcontext -a -t home_root_t /export
# restorecon -v /export

Should fix it .


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