Summary: SELinux prevented ck-get-x11-serv from reading files stored on a NFS filesytem. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux prevented ck-get-x11-serv from reading files stored on a NFS filesystem. NFS (Network Filesystem) is a network filesystem commonly used on Unix / Linux systems. ck-get-x11-serv attempted to read one or more files or directories from a mounted filesystem of this type. As NFS filesystems do not support fine-grained SELinux labeling, all files and directories in the filesystem will have the same security context. If you have not configured ck-get-x11-serv to read files from a NFS filesystem this access attempt could signal an intrusion attempt. Allowing Access: Changing the "use_nfs_home_dirs" boolean to true will allow this access: "setsebool -P use_nfs_home_dirs=1" Fix Command: setsebool -P use_nfs_home_dirs=1 Additional Information: Source Context system_u:system_r:consolekit_t:s0-s0:c0.c1023 Target Context system_u:object_r:nfs_t:s0 Target Objects .Xauthority [ file ] Source ck-get-x11-serv Source Path /usr/libexec/ck-get-x11-server-pid Port <Unknown> Host (removed) Source RPM Packages ConsoleKit-x11-0.4.1-3.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-84.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name use_nfs_home_dirs Host Name (removed) Platform Linux (removed) 2.6.31.12-174.2.19.fc12.x86_64 #1 SMP Thu Feb 11 07:07:16 UTC 2010 x86_64 x86_64 Alert Count 9 First Seen Thu 04 Feb 2010 07:53:21 AM MST Last Seen Tue 16 Feb 2010 10:41:16 AM MST Local ID 8ae98ba7-5833-48f6-95a2-4b0bf813526e Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1266342076.155:22819): avc: denied { open } for pid=1829 comm="ck-get-x11-serv" name=".Xauthority" dev=0:17 ino=7752708 scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:nfs_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1266342076.155:22819): arch=c000003e syscall=2 success=yes exit=4 a0=7fff8934cfa6 a1=0 a2=1b6 a3=0 items=0 ppid=1828 pid=1829 auid=4294967295 uid=150 gid=150 euid=150 suid=150 fsuid=150 egid=150 sgid=150 fsgid=150 tty=(none) ses=4294967295 comm="ck-get-x11-serv" exe="/usr/libexec/ck-get-x11-server-pid" subj=system_u:system_r:consolekit_t:s0-s0:c0.c1023 key=(null) NOTE: getsebool use_nfs_home_dirs use_nfs_home_dirs --> on Hash String generated from use_nfs_home_dirs,ck-get-x11-serv,consolekit_t,nfs_t,file,open audit2allow suggests: #============= consolekit_t ============== allow consolekit_t nfs_t:file open;
Miroslav Can you change consolekit_t to tunable_policy(`use_nfs_home_dirs',` fs_read_nfs_files(consolekit_t) ') tunable_policy(`use_samba_home_dirs',` fs_read_cifs_files(consolekit_t) ')
Changed in selinux-policy-3.6.32-91.fc12
selinux-policy-3.6.32-92.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-92.fc12
selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2953
selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.