Bug 788492

Summary: SELinux is preventing /usr/sbin/matahari-qmf-hostd.#prelink#.TUumNu (deleted) from using the 'sys_ptrace' capabilities.
Product: Red Hat Enterprise Linux 6 Reporter: Michal Nowak <mnowak>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: dwalsh, mmalik, ohudlick
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: abrt_hash:a8efb73c4005039ea4c7dca5f5819e115b0216d61896eb820a9df2d4cfa2a15a
Fixed In Version: selinux-policy-3.7.19-138.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 12:31:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michal Nowak 2012-02-08 09:55:41 UTC
abrt version: 2.0.5
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         2.6.32-220.el6.x86_64
reason:         SELinux is preventing /usr/sbin/matahari-qmf-hostd.#prelink#.TUumNu (deleted) from using the 'sys_ptrace' capabilities.
time:           Wed 08 Feb 2012 10:55:29 AM CET

description:
:SELinux is preventing /usr/sbin/matahari-qmf-hostd.#prelink#.TUumNu (deleted) from using the 'sys_ptrace' capabilities.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that matahari-qmf-hostd.#prelink#.TUumNu (deleted) should have the sys_ptrace 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 matahari-qmf-ho /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:matahari_hostd_t:s0
:Target Context                system_u:system_r:matahari_hostd_t:s0
:Target Objects                 [ capability ]
:Source                        matahari-qmf-ho
:Source Path                   /usr/sbin/matahari-qmf-hostd.#prelink#.TUumNu
:                              (deleted)
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    <Unknown>
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed)
:                              2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13
:                              EST 2011 x86_64 x86_64
:Alert Count                   4
:First Seen                    Wed 08 Feb 2012 10:54:51 AM CET
:Last Seen                     Wed 08 Feb 2012 10:55:11 AM CET
:Local ID                      4eb6da39-4726-43ea-b19a-da9e3c254b66
:
:Raw Audit Messages
:type=AVC msg=audit(1328694911.451:49104): avc:  denied  { sys_ptrace } for  pid=2483 comm="matahari-qmf-ho" capability=19  scontext=system_u:system_r:matahari_hostd_t:s0 tcontext=system_u:system_r:matahari_hostd_t:s0 tclass=capability
:
:
:type=SYSCALL msg=audit(1328694911.451:49104): arch=x86_64 syscall=read success=yes exit=155 a0=9 a1=7fff1d2ef9f0 a2=2000 a3=1999999999999999 items=0 ppid=1 pid=2483 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=matahari-qmf-ho exe=2F7573722F7362696E2F6D617461686172692D716D662D686F7374642E237072656C696E6B232E5455756D4E75202864656C6574656429 subj=system_u:system_r:matahari_hostd_t:s0 key=(null)
:
:Hash: matahari-qmf-ho,matahari_hostd_t,matahari_hostd_t,capability,sys_ptrace
:
:audit2allow
:
:#============= matahari_hostd_t ==============
:allow matahari_hostd_t self:capability sys_ptrace;
:
:audit2allow -R
:
:#============= matahari_hostd_t ==============
:allow matahari_hostd_t self:capability sys_ptrace;
:

Comment 1 Michal Nowak 2012-02-08 10:03:57 UTC
Note: The system is low on free disk space.

Comment 8 errata-xmlrpc 2012-06-20 12:31:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0780.html