Additional info: libreport version: 2.0.16 kernel: 3.6.3-1.fc17.x86_64 description: :SELinux is preventing /usr/bin/bash from using the 'sys_admin' capabilities. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that bash should have the sys_admin 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 prelink /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:prelink_cron_system_t:s0-s0:c0.c : 1023 :Target Context system_u:system_r:prelink_cron_system_t:s0-s0:c0.c : 1023 :Target Objects [ capability ] :Source prelink :Source Path /usr/bin/bash :Port <Unknown> :Host (removed) :Source RPM Packages bash-4.2.37-2.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-156.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.3-1.fc17.x86_64 #1 SMP Mon Oct : 22 15:32:35 UTC 2012 x86_64 x86_64 :Alert Count 19 :First Seen 2012-10-28 19:47:50 CET :Last Seen 2012-10-29 03:07:04 CET :Local ID 311538a8-b0fb-4d3c-8b7d-d10ed47afa2a : :Raw Audit Messages :type=AVC msg=audit(1351476424.287:180): avc: denied { sys_admin } for pid=13274 comm="prelink" capability=21 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tclass=capability : : :type=AVC msg=audit(1351476424.287:180): avc: denied { sys_resource } for pid=13274 comm="prelink" capability=24 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tclass=capability : : :type=SYSCALL msg=audit(1351476424.287:180): arch=x86_64 syscall=clone success=yes exit=13275 a0=1200011 a1=0 a2=0 a3=7f6e3a8d5a10 items=0 ppid=13268 pid=13274 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=11 comm=prelink exe=/usr/bin/bash subj=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 key=(null) : :Hash: prelink,prelink_cron_system_t,prelink_cron_system_t,capability,sys_admin : :audit2allow : :#============= prelink_cron_system_t ============== :allow prelink_cron_system_t self:capability { sys_admin sys_resource }; : :audit2allow -R : :#============= prelink_cron_system_t ============== :allow prelink_cron_system_t self:capability { sys_admin sys_resource }; :
Created attachment 634885 [details] File: type
Created attachment 634886 [details] File: hashmarkername
Another problem with these caps and success=yes in enforcing mode.
*** This bug has been marked as a duplicate of bug 887882 ***