Hide Forgot
Description of problem: XP is Windows XP partition. Don't know why it warned me. SELinux is preventing /usr/lib/sa/sadc from 'getattr' accesses on the filesystem /run/media/rpmaker/XP. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that sadc should be allowed getattr access on the XP filesystem by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep sadc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:sysstat_t:s0-s0:c0.c1023 Target Context system_u:object_r:fusefs_t:s0 Target Objects /run/media/rpmaker/XP [ filesystem ] Source sadc Source Path /usr/lib/sa/sadc Port <Unknown> Host (removed) Source RPM Packages sysstat-10.1.6-1.fc20.i686 Target RPM Packages Policy RPM selinux-policy-3.12.1-70.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.11.0-0.rc7.git0.2.fc21.i686+PAE #1 SMP Mon Aug 26 16:32:54 UTC 2013 i686 i686 Alert Count 13 First Seen 2013-08-16 16:30:03 CST Last Seen 2013-08-27 23:50:01 CST Local ID fa8fd4f7-fa91-4aca-85af-a96453b3c5a0 Raw Audit Messages type=AVC msg=audit(1377618601.93:461): avc: denied { getattr } for pid=3260 comm="sadc" name="/" dev="sda1" ino=5 scontext=system_u:system_r:sysstat_t:s0-s0:c0.c1023 tcontext=system_u:object_r:fusefs_t:s0 tclass=filesystem type=SYSCALL msg=audit(1377618601.93:461): arch=i386 syscall=statfs success=no exit=EACCES a0=bfe2a17c a1=bfe2a0f4 a2=9b826d0 a3=bfe2a1fc items=0 ppid=3254 pid=3260 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=2 tty=(none) comm=sadc exe=/usr/lib/sa/sadc subj=system_u:system_r:sysstat_t:s0-s0:c0.c1023 key=(null) Hash: sadc,sysstat_t,fusefs_t,filesystem,getattr Additional info: reporter: libreport-2.1.6 hashmarkername: setroubleshoot kernel: 3.11.0-0.rc7.git0.2.fc21.i686+PAE type: libreport
Hi Christopher, Try update package selinux-policy, problem still persist? This selinux rule is allowed in current policy.
Hi, After looking at http://pkgs.org/search/?keyword=selinux-policy, I think you forgot to git pull --rebase your scm repo, this package hasn't been updated for f21. f20 has a -72 package.
Chris, you are right. I need to pull changes from f20 to rawhide branch. But we have rawhide == f20 for builds in this phase.
Mock should be updated in yesterday's update. ;) I can't tell you more about it... GL...
$ cat avc.log | audit2allow #============= sysstat_t ============== #!!!! This avc is allowed in the current policy allow sysstat_t fusefs_t:filesystem getattr; package version: selinux-policy-3.12.1-73.fc19.noarch Rule is allowed in current package release.