Description of problem: Just happened in 'normal use', apcupsd is running for my UPS. SELinux is preventing /usr/sbin/apcupsd from 'read' accesses on the file /var/log/apcupsd.events. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that apcupsd should be allowed read access on the apcupsd.events file 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 apcupsd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:apcupsd_t:s0 Target Context system_u:object_r:apcupsd_log_t:s0 Target Objects /var/log/apcupsd.events [ file ] Source apcupsd Source Path /usr/sbin/apcupsd Port <Unknown> Host (removed) Source RPM Packages apcupsd-3.14.10-9.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-34.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.9.0-0.rc7.git3.1.fc19.x86_64 #1 SMP Thu Apr 18 20:29:47 UTC 2013 x86_64 x86_64 Alert Count 5 First Seen 2013-04-17 19:28:26 PDT Last Seen 2013-04-28 23:54:57 PDT Local ID 7a4364d1-3a2b-4151-b7cd-fd72ef6fc44d Raw Audit Messages type=AVC msg=audit(1367218497.704:64): avc: denied { read } for pid=719 comm="apcupsd" name="apcupsd.events" dev="dm-1" ino=1239 scontext=system_u:system_r:apcupsd_t:s0 tcontext=system_u:object_r:apcupsd_log_t:s0 tclass=file type=SYSCALL msg=audit(1367218497.704:64): arch=x86_64 syscall=open success=no exit=EACCES a0=12672c4 a1=442 a2=1a4 a3=7f3da9a0a9d0 items=0 ppid=1 pid=719 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=apcupsd exe=/usr/sbin/apcupsd subj=system_u:system_r:apcupsd_t:s0 key=(null) Hash: apcupsd,apcupsd_t,apcupsd_log_t,file,read audit2allow #============= apcupsd_t ============== allow apcupsd_t apcupsd_log_t:file read; audit2allow -R require { type apcupsd_t; } #============= apcupsd_t ============== apcupsd_read_log(apcupsd_t) Additional info: hashmarkername: setroubleshoot kernel: 3.9.0-0.rc7.git3.1.fc19.x86_64 type: libreport
13ece79038cbdd69e2dc1ebde7891a0344cf5987 fixes this in git.
selinux-policy-3.12.1-47.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-47.fc19
Package selinux-policy-3.12.1-47.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-47.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-9565/selinux-policy-3.12.1-47.fc19 then log in and leave karma (feedback).
selinux-policy-3.12.1-47.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.