Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Here what's going on -- in 7.1, we switched from writing out logins into the /etc/selinux/targeted/logins directory to using semanage. I guess selinux-policy doesn't like that.
However, there is one more change coming up -- the call to semanage will not be done from the sssd_be process, but from a new selinux_child process. The selinux_child patches are still pending on review on sssd-devel.
So if you're blocked, you can change selinux-policy now to allow sssd_be to call semanage, but we'll request another change when we merge the selinux_child patches.
sssd-1.12.2-9.el7 has all the selinux related changes in.
There is a new binary, called selinux_child that performs the SELinux context switch. This binary needs to be allowed to call functions like sss_semanage_user_mod.
(In reply to Jakub Hrozek from comment #12)
> sssd-1.12.2-9.el7 has all the selinux related changes in.
>
> There is a new binary, called selinux_child that performs the SELinux
> context switch. This binary needs to be allowed to call functions like
> sss_semanage_user_mod.
So we will need to add labeling for this binary.
It seems that everything work correctly. ipa-client-install successfully configured a machine and I was able to get information about users in IPA server and log as user from IPA.
Description of problem: time->Sat Nov 1 22:22:15 2014 type=SYSCALL msg=audit(1414894935.837:159): arch=80000016 syscall=33 success=no exit=-13 a0=3fff5e1d8c8 a1=1 a2=3fff5e1807a a3=2ab154da910 items=0 ppid=51209 pid=51210 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sssd_be" exe="/usr/libexec/sssd/sssd_be" subj=system_u:system_r:sssd_t:s0 key=(null) type=AVC msg=audit(1414894935.837:159): avc: denied { execute } for pid=51210 comm="sssd_be" name="load_policy" dev="dm-0" ino=68153247 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:load_policy_exec_t:s0 tclass=file ---- time->Sat Nov 1 22:22:15 2014 type=SYSCALL msg=audit(1414894935.837:160): arch=80000016 syscall=33 success=no exit=-13 a0=3fff5e1d8de a1=1 a2=3fff5e180de a3=2ab15527600 items=0 ppid=51209 pid=51210 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sssd_be" exe="/usr/libexec/sssd/sssd_be" subj=system_u:system_r:sssd_t:s0 key=(null) type=AVC msg=audit(1414894935.837:160): avc: denied { execute } for pid=51210 comm="sssd_be" name="setfiles" dev="dm-0" ino=68153251 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:setfiles_exec_t:s0 tclass=file ---- time->Sat Nov 1 22:22:15 2014 type=SYSCALL msg=audit(1414894935.837:161): arch=80000016 syscall=33 success=no exit=-13 a0=2ab15528420 a1=5 a2=0 a3=0 items=0 ppid=51209 pid=51210 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sssd_be" exe="/usr/libexec/sssd/sssd_be" subj=system_u:system_r:sssd_t:s0 key=(null) type=AVC msg=audit(1414894935.837:161): avc: denied { read search } for pid=51210 comm="sssd_be" name="active" dev="dm-0" ino=101680616 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:semanage_store_t:s0 tclass=dir Fail: AVC messages found. Version-Release number of selected component (if applicable): selinux-policy-3.13.1-6.el7 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: