Hide Forgot
SELinux is preventing /usr/bin/perl from using the 'dac_override' capabilities. ***** Plugin dac_override (91.4 confidence) suggests *********************** If you want to help identify if domain needs this access or you have a file with the wrong permissions on your system Then turn on full auditing to get path information about the offending file and generate the error again. Do Turn on full auditing # auditctl -w /etc/shadow -p w Try to recreate AVC. Then execute # ausearch -m avc -ts recent If you see PATH record check ownership/permissions on file, and fix it, otherweise report as a bugzilla. ***** Plugin catchall (9.59 confidence) suggests *************************** If you believe that perl should have the dac_override capability 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 awstats.pl /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:awstats_t:s0-s0:c0.c1023 Target Context system_u:system_r:awstats_t:s0-s0:c0.c1023 Target Objects Unknown [ capability ] Source awstats.pl Source Path /usr/bin/perl Port <Unknown> Host (removed) Source RPM Packages perl-5.12.3-141.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-28.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.35.10-74.fc14.x86_64 #1 SMP Thu Dec 23 16:04:50 UTC 2010 x86_64 x86_64 Alert Count 2 First Seen Thu 03 Feb 2011 08:01:01 PM WIT Last Seen Thu 03 Feb 2011 09:01:02 PM WIT Local ID 0266a575-ccbd-47f8-83a6-9bc1cc5ce89d Raw Audit Messages type=AVC msg=audit(1296741662.403:25623): avc: denied { dac_override } for pid=9360 comm="awstats.pl" capability=1 scontext=system_u:system_r:awstats_t:s0-s0:c0.c1023 tcontext=system_u:system_r:awstats_t:s0-s0:c0.c1023 tclass=capability type=SYSCALL msg=audit(1296741662.403:25623): arch=x86_64 syscall=open success=yes exit=EINTR a0=137cb80 a1=0 a2=1b6 a3=39c7f27420 items=0 ppid=9359 pid=9360 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=202 comm=awstats.pl exe=/usr/bin/perl subj=system_u:system_r:awstats_t:s0-s0:c0.c1023 key=(null) Hash: awstats.pl,awstats_t,awstats_t,capability,dac_override audit2allow #============= awstats_t ============== allow awstats_t self:capability dac_override; audit2allow -R #============= awstats_t ============== allow awstats_t self:capability dac_override;
Did you read the alert? And collect the extra data? We need to find out which file on your system has bad permissions.