Summary: SELinux prevented mysqld from reading files stored on a NFS filesytem. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux prevented mysqld from reading files stored on a NFS filesystem. NFS (Network Filesystem) is a network filesystem commonly used on Unix / Linux systems. mysqld 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 mysqld 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 unconfined_u:system_r:mysqld_t:s0 Target Context system_u:object_r:nfs_t:s0 Target Objects .my.cnf [ file ] Source mysqld Source Path /usr/libexec/mysqld Port <Unknown> Host (removed) Source RPM Packages mysql-server-5.1.47-1.fc13 Target RPM Packages Policy RPM selinux-policy-3.7.19-21.fc13 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name use_nfs_home_dirs Host Name (removed) Platform Linux (removed) 2.6.33.5-112.fc13.x86_64 #1 SMP Thu May 27 02:28:31 UTC 2010 x86_64 x86_64 Alert Count 2 First Seen Tue 08 Jun 2010 04:53:34 PM EDT Last Seen Tue 08 Jun 2010 04:53:34 PM EDT Local ID 387b0fc7-f0be-415b-bfa3-80b1476805b4 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1276030414.609:3159252): avc: denied { read } for pid=32312 comm="mysqld" name=".my.cnf" dev=afs ino=1180030 scontext=unconfined_u:system_r:mysqld_t:s0 tcontext=system_u:object_r:nfs_t:s0 tclass=file node=(removed) type=AVC msg=audit(1276030414.609:3159252): avc: denied { open } for pid=32312 comm="mysqld" name=".my.cnf" dev=afs ino=1180030 scontext=unconfined_u:system_r:mysqld_t:s0 tcontext=system_u:object_r:nfs_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1276030414.609:3159252): arch=c000003e syscall=2 success=yes exit=3 a0=7fffc972e150 a1=0 a2=1b6 a3=0 items=0 ppid=32223 pid=32312 auid=768 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts11 ses=1 comm="mysqld" exe="/usr/libexec/mysqld" subj=unconfined_u:system_r:mysqld_t:s0 key=(null) Hash String generated from use_nfs_home_dirs,mysqld,mysqld_t,nfs_t,file,read audit2allow suggests: #============= mysqld_t ============== allow mysqld_t nfs_t:file { read open };
*** This bug has been marked as a duplicate of bug 601914 ***