Description of problem: SELinux is preventing /usr/sbin/apcupsd from 'unlink' accesses on the file . ***** Plugin catchall_labels (83.8 confidence) suggests ******************* If you want to allow apcupsd to have unlink access on the file Then l'étiquette sur $FIX_TARGET_PATH doit être modifiée. Do # semanage fcontext -a -t FILE_TYPE '$FIX_TARGET_PATH' où FILE_TYPE est l'une des valeurs suivantes : apcupsd_lock_t, apcupsd_log_t, apcupsd_power_t, apcupsd_tmp_t, apcupsd_var_run_t, etc_runtime_t, systemd_passwd_var_run_t. Puis exécutez : restorecon -v '$FIX_TARGET_PATH' ***** Plugin catchall (17.1 confidence) suggests ************************** If vous pensez que apcupsd devrait être autorisé à accéder unlink sur file par défaut. Then vous devriez rapporter ceci en tant qu'anomalie. Vous pouvez générer un module de stratégie local pour autoriser cet accès. Do autoriser cet accès pour le moment en exécutant : # 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:etc_t:s0 Target Objects [ file ] Source apcupsd Source Path /usr/sbin/apcupsd Port <Unknown> Host (removed) Source RPM Packages apcupsd-3.14.11-1.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-127.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.13.5-200.fc20.x86_64 #1 SMP Mon Feb 24 16:51:35 UTC 2014 x86_64 x86_64 Alert Count 3 First Seen 2014-02-27 19:43:57 CET Last Seen 2014-02-27 20:26:15 CET Local ID 0b79068e-f5ad-4ac5-87f7-797500bde501 Raw Audit Messages type=AVC msg=audit(1393529175.493:355): avc: denied { unlink } for pid=1279 comm="apcupsd" name="LCK.." dev="dm-0" ino=653596 scontext=system_u:system_r:apcupsd_t:s0 tcontext=system_u:object_r:etc_t:s0 tclass=file type=SYSCALL msg=audit(1393529175.493:355): arch=x86_64 syscall=unlink success=yes exit=0 a0=7f57d294e2cc a1=0 a2=4ff a3=506 items=0 ppid=1 pid=1279 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,etc_t,file,unlink Additional info: reporter: libreport-2.1.12 hashmarkername: setroubleshoot kernel: 3.13.3-201.fc20.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 1070961 ***