RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1263339 - SELinux prevents CIM provider from reading /var/lib/sss/mc/initgroups file
Summary: SELinux prevents CIM provider from reading /var/lib/sss/mc/initgroups file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-15 15:03 UTC by Patrik Kis
Modified: 2016-11-04 02:22 UTC (History)
7 users (show)

Fixed In Version: selinux-policy-3.13.1-68.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 02:22:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2283 0 normal SHIPPED_LIVE selinux-policy bug fix and enhancement update 2016-11-03 13:36:25 UTC

Description Patrik Kis 2015-09-15 15:03:27 UTC
Description of problem:
The following AVC denaul appeared on test systems:

time->Sat Aug 22 23:09:09 2015
type=SYSCALL msg=audit(1440299349.536:3441): arch=80000015 syscall=5 success=no exit=-13 a0=1001021a470 a1=80000 a2=3fffc7660ecc a3=0 items=0 ppid=9382 pid=9383 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="cimprovagt" exe="/usr/libexec/pegasus/cimprovagt" subj=system_u:system_r:pegasus_openlmi_services_t:s0 key=(null)
type=AVC msg=audit(1440299349.536:3441): avc:  denied  { read } for  pid=9383 comm="cimprovagt" name="initgroups" dev="dm-0" ino=68663640 scontext=system_u:system_r:pegasus_openlmi_services_t:s0 tcontext=system_u:object_r:sssd_public_t:s0 tclass=file


Version-Release number of selected component (if applicable):
selinux-policy-3.13.1-47.el7
sssd-1.13.0-26.el7
tog-pegasus-2.14.1-2.el7
openlmi-python-base-0.5.0-3.el7

How reproducible:
always

Steps to Reproduce:
1. Join to IPA/AD via realmd and openlmi

Comment 2 Milos Malik 2015-09-16 08:04:17 UTC
Could you collect SELinux denials triggered by these TCs in permissive mode and attach them here?

Comment 3 Patrik Kis 2015-09-16 12:26:09 UTC
(In reply to Milos Malik from comment #2)
> Could you collect SELinux denials triggered by these TCs in permissive mode
> and attach them here?

----
type=SYSCALL msg=audit(09/16/2015 12:24:39.107:399) : arch=x86_64 syscall=open success=yes exit=3 a0=0x7f5a00e364a0 a1=O_RDONLY|O_CLOEXEC a2=0x7ffce04e10c4 a3=0x7ffce04e0e00 items=0 ppid=7883 pid=7884 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=cimprovagt exe=/usr/libexec/pegasus/cimprovagt subj=system_u:system_r:pegasus_openlmi_services_t:s0 key=(null) 
type=AVC msg=audit(09/16/2015 12:24:39.107:399) : avc:  denied  { open } for  pid=7884 comm=cimprovagt path=/var/lib/sss/mc/initgroups dev="dm-0" ino=67300584 scontext=system_u:system_r:pegasus_openlmi_services_t:s0 tcontext=system_u:object_r:sssd_public_t:s0 tclass=file 
type=AVC msg=audit(09/16/2015 12:24:39.107:399) : avc:  denied  { read } for  pid=7884 comm=cimprovagt name=initgroups dev="dm-0" ino=67300584 scontext=system_u:system_r:pegasus_openlmi_services_t:s0 tcontext=system_u:object_r:sssd_public_t:s0 tclass=file 
----
type=SYSCALL msg=audit(09/16/2015 12:24:39.107:400) : arch=x86_64 syscall=fstat success=yes exit=0 a0=0x3 a1=0x7ffce04e10d0 a2=0x7ffce04e10d0 a3=0x7ffce04e0e30 items=0 ppid=7883 pid=7884 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=cimprovagt exe=/usr/libexec/pegasus/cimprovagt subj=system_u:system_r:pegasus_openlmi_services_t:s0 key=(null) 
type=AVC msg=audit(09/16/2015 12:24:39.107:400) : avc:  denied  { getattr } for  pid=7884 comm=cimprovagt path=/var/lib/sss/mc/initgroups dev="dm-0" ino=67300584 scontext=system_u:system_r:pegasus_openlmi_services_t:s0 tcontext=system_u:object_r:sssd_public_t:s0 tclass=file

Comment 4 Mike McCune 2016-03-28 22:59:28 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 8 errata-xmlrpc 2016-11-04 02:22:26 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.

https://rhn.redhat.com/errata/RHBA-2016-2283.html


Note You need to log in before you can comment on or make changes to this bug.