Hide Forgot
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.7-1.fc16.i686.PAE reason: SELinux is preventing /usr/sbin/httpd from 'sys_admin' accesses on the None . time: Thu 01 Mar 2012 06:26:56 AM EST description: :SELinux is preventing /usr/sbin/httpd from 'sys_admin' accesses on the None . : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that httpd should be allowed sys_admin access on the <Unknown> 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 /usr/sbin/httpd /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:httpd_t:s0 :Target Context system_u:system_r:httpd_t:s0 :Target Objects [ None ] :Source /usr/sbin/httpd :Source Path /usr/sbin/httpd :Port <Unknown> :Host (removed) :Source RPM Packages httpd-2.2.22-1.fc16.i686 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-75.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.2.7-1.fc16.i686.PAE #1 SMP Tue Feb : 21 01:30:59 UTC 2012 i686 i686 :Alert Count 1 :First Seen Sun 26 Feb 2012 10:08:34 AM EST :Last Seen Sun 26 Feb 2012 10:08:34 AM EST :Local ID 0ec87fb8-f941-47fb-ac3a-05b1cbba42d9 : :Raw Audit Messages :type=AVC msg=audit(1330268914.150:79): avc: denied { sys_admin } for pid=1602 comm="/usr/sbin/httpd" capability=21 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:system_r:httpd_t:s0 tclass=capabilitynode=(removed) type=SYSCALL msg=audit(1330268914.150:79): arch=40000003 syscall=117 success=no exit=-1 a0=3 a1=60003 a2=0 a3=100 items=0 ppid=1 pid=1602 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="/usr/sbin/httpd" exe="/usr/sbin/httpd" subj=system_u:system_r:httpd_t:s0 key=(null) : : :Hash: /usr/sbin/httpd,httpd_t,httpd_t,None,sys_admin : :audit2allow : : :audit2allow -R : :
This is not something what we want to allow for apache. What mod_* do you use? If you need it, you can allow it by a local policy $ grep /usr/sbin/httpd /var/log/audit/audit.log | audit2allow -M mypol $ semodule -i mypol.pp
*** Bug 799380 has been marked as a duplicate of this bug. ***