Bug 1171275
| Summary: | Qpid policy needs to be rewritten. | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Darryl L. Pierce <dpierce> | |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | |
| Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.7 | CC: | dwalsh, lvrabec, mgrepl, mmalik, plautrba, pvrabec, sghai, ssekidde, tross | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | selinux-policy-3.7.19-264.el6 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1218323 (view as bug list) | Environment: | ||
| Last Closed: | 2015-07-22 07:10:02 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1170775, 1218323 | |||
|
Description
Darryl L. Pierce
2014-12-05 19:24:25 UTC
I believe that following rule should be added to policy:
allow qpidd_t proc_net_t : file { getattr open read }
Caught in permissive mode:
----
type=PATH msg=audit(12/06/2014 08:32:25.921:908) : item=0 name=/proc/net/psched inode=4026531986 dev=00:03 mode=file,444 ouid=root ogid=root rdev=00:00 obj=system_u:object_r:proc_net_t:s0 nametype=NORMAL
type=CWD msg=audit(12/06/2014 08:32:25.921:908) : cwd=/
type=SYSCALL msg=audit(12/06/2014 08:32:25.921:908) : arch=x86_64 syscall=open success=yes exit=4 a0=0x7fff11211410 a1=O_RDONLY a2=0x1b6 a3=0x0 items=1 ppid=32653 pid=32654 auid=root uid=qpidd gid=qpidd euid=qpidd suid=qpidd fsuid=qpidd egid=qpidd sgid=qpidd fsgid=qpidd tty=(none) ses=5 comm=qpidd exe=/usr/sbin/qpidd subj=unconfined_u:system_r:qpidd_t:s0 key=(null)
type=AVC msg=audit(12/06/2014 08:32:25.921:908) : avc: denied { open } for pid=32654 comm=qpidd name=psched dev=proc ino=4026531986 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file
type=AVC msg=audit(12/06/2014 08:32:25.921:908) : avc: denied { read } for pid=32654 comm=qpidd name=psched dev=proc ino=4026531986 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file
----
type=SYSCALL msg=audit(12/06/2014 08:32:25.922:909) : arch=x86_64 syscall=fstat success=yes exit=0 a0=0x4 a1=0x7fff11210e90 a2=0x7fff11210e90 a3=0x0 items=0 ppid=32653 pid=32654 auid=root uid=qpidd gid=qpidd euid=qpidd suid=qpidd fsuid=qpidd egid=qpidd sgid=qpidd fsgid=qpidd tty=(none) ses=5 comm=qpidd exe=/usr/sbin/qpidd subj=unconfined_u:system_r:qpidd_t:s0 key=(null)
type=AVC msg=audit(12/06/2014 08:32:25.922:909) : avc: denied { getattr } for pid=32654 comm=qpidd path=/proc/32654/net/psched dev=proc ino=4026531986 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file
----
commit 266ef0d597ae82ef60f0bd62cf6c36045f4801ce
Author: Simon Sekidde <ssekidde>
Date: Mon Dec 29 13:58:17 2014 -0500
Allow qpidd to read network state and sysctls dirs
commit 5f055a58886c9b7f55ab416ebe8d8c15845c3bfc
Author: Miroslav Grepl <mgrepl>
Date: Fri Apr 10 16:36:38 2015 +0200
Allow qpidd to read own init script file.
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. https://rhn.redhat.com/errata/RHBA-2015-1375.html *** Bug 1209495 has been marked as a duplicate of this bug. *** |