SELinux is preventing /usr/sbin/tmpwatch from read access on the directory /var/cache/php-eaccelerator.
***** Plugin restorecon (94.8 confidence) suggests *************************
If you want to fix the label. /var/cache/php-eaccelerator default label should be httpd_cache_t. Then you can run restorecon. Do # /sbin/restorecon -v /var/cache/php-eaccelerator
***** Plugin catchall_labels (5.21 confidence) suggests ********************
If you want to allow tmpwatch to have read access on the php-eaccelerator directory Then you need to change the label on /var/cache/php-eaccelerator Do # semanage fcontext -a -t FILE_TYPE '/var/cache/php-eaccelerator' where FILE_TYPE is one of the following: amavis_spool_t, user_home_dir_t, abrt_t, lib_t, man_t, device_t, device_t, root_t, locale_t, usr_t, etc_t, etc_t, file_t, tmpfile, textrel_shlib_t, sandbox_file_t, httpd_cache_t, kismet_log_t, rpm_var_cache_t, var_lib_t, var_run_t, user_home_type, home_root_t, tmpreaper_t, print_spool_t, sysctl_crypto_t. Then execute: restorecon -v '/var/cache/php-eaccelerator'
***** Plugin catchall (1.44 confidence) suggests ***************************
If you believe that tmpwatch should be allowed read access on the php-eaccelerator 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 tmpwatch /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp
Additional Information: Source Context system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 Target Context unconfined_u:object_r:var_t:s0 Target Objects /var/cache/php-eaccelerator [ dir ] Source tmpwatch Source Path /usr/sbin/tmpwatch Port <Unknown> Host localhost.localdomain Source RPM Packages tmpwatch-2.10.3-1.fc16 Target RPM Packages php-eaccelerator-0.9.6.1-9.fc16 Policy RPM selinux-policy-3.10.0-55.fc16 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name localhost.localdomain Platform Linux localhost.localdomain 3.1.1-2.fc16.x86_64 #1 SMP Mon Nov 14 15:46:10 UTC 2011 x86_64 x86_64 Alert Count 6 First Seen Wed 16 Nov 2011 11:40:25 AM PHT Last Seen Mon 21 Nov 2011 01:47:16 PM PHT Local ID bb696892-4165-4a18-b8b4-57f8fc2074f0
Raw Audit Messages type=AVC msg=audit(1321854436.287:84): avc: denied { read } for pid=4262 comm="tmpwatch" name="php-eaccelerator" dev=dm-1 ino=402181 scontext=system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:var_t:s0 tclass=dir
type=SYSCALL msg=audit(1321854436.287:84): arch=x86_64 syscall=openat success=no exit=EACCES a0=ffffffffffffff9c a1=4045eb a2=90800 a3=0 items=0 ppid=4260 pid=4262 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm=tmpwatch exe=/usr/sbin/tmpwatch subj=system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 key=(null)
Hash: tmpwatch,tmpreaper_t,var_t,dir,read
audit2allow
#============= tmpreaper_t ============== allow tmpreaper_t var_t:dir read;
audit2allow -R
#============= tmpreaper_t ============== allow tmpreaper_t var_t:dir read;
mirror-admin@lists.fedoraproject.org