Hide Forgot
SELinux is preventing /bin/systemd-notify from write access on the directory readahead. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-notify should be allowed write access on the readahead directory 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 systemd-notify /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:systemd_notify_t:s0 Target Context system_u:object_r:tmpfs_t:s0 Target Objects readahead [ dir ] Source systemd-notify Source Path /bin/systemd-notify Port <Unknown> Host banach Source RPM Packages systemd-21-2.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-6.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name banach Platform Linux localhost 2.6.38.2-10.fc15.x86_64 #1 SMP Thu Mar 31 03:11:25 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Thu 31 Mar 2011 01:43:02 PM CEST Last Seen Thu 31 Mar 2011 01:43:02 PM CEST Local ID 93ca26c9-e5b5-4aa1-98aa-1fae689c1cd1 Raw Audit Messages type=AVC msg=audit(1301571782.633:191): avc: denied { write } for pid=1726 comm="systemd-notify" name="readahead" dev=tmpfs ino=9239 scontext=system_u:system_r:systemd_notify_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir type=AVC msg=audit(1301571782.633:191): avc: denied { add_name } for pid=1726 comm="systemd-notify" name="done" scontext=system_u:system_r:systemd_notify_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir type=AVC msg=audit(1301571782.633:191): avc: denied { create } for pid=1726 comm="systemd-notify" name="done" scontext=system_u:system_r:systemd_notify_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file type=AVC msg=audit(1301571782.633:191): avc: denied { write open } for pid=1726 comm="systemd-notify" name="done" dev=tmpfs ino=23250 scontext=system_u:system_r:systemd_notify_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file type=SYSCALL msg=audit(1301571782.633:191): arch=x86_64 syscall=open success=yes exit=ESRCH a0=405082 a1=80141 a2=1b6 a3=7fff4d6fd380 items=0 ppid=1 pid=1726 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-notify exe=/bin/systemd-notify subj=system_u:system_r:systemd_notify_t:s0 key=(null) Hash: systemd-notify,systemd_notify_t,tmpfs_t,dir,write audit2allow #============= systemd_notify_t ============== #!!!! The source type 'systemd_notify_t' can write to a 'dir' of the following types: # readahead_var_run_t, device_t allow systemd_notify_t tmpfs_t:dir { write add_name }; #!!!! The source type 'systemd_notify_t' can write to a 'file' of the following type: # readahead_var_run_t allow systemd_notify_t tmpfs_t:file { write create open }; audit2allow -R #============= systemd_notify_t ============== #!!!! The source type 'systemd_notify_t' can write to a 'dir' of the following types: # readahead_var_run_t, device_t allow systemd_notify_t tmpfs_t:dir { write add_name }; #!!!! The source type 'systemd_notify_t' can write to a 'file' of the following type: # readahead_var_run_t allow systemd_notify_t tmpfs_t:file { write create open };
*** This bug has been marked as a duplicate of bug 692459 ***