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.
Created attachment 1120367[details]
beaker avc log file
Description of problem:
Following AVC seen when a IPA user tries su.( su - testuser1 -c 'touch /tmp/mytestfile.user1' )
snip from log:
==============
type=AVC msg=audit(1454404629.071:363): avc: denied { search } for pid=686 comm="systemd-logind" name="yp" dev="dm-0" ino=134323567 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:var_yp_t:s0 tclass=dir
type=AVC msg=audit(1454404629.072:364): avc: denied { name_connect } for pid=686 comm="systemd-logind" dest=111 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:portmap_port_t:s0 tclass=tcp_socket
Version-Release number of selected component (if applicable):
[root@dell-per300-01 ~]# rpm -q ipa-client sssd selinux-policy
ipa-client-4.2.0-15.el7_2.5.x86_64
sssd-1.13.0-40.el7_2.1.x86_64
selinux-policy-3.13.1-60.el7_2.2.noarch
[root@dell-per300-01 ~]#
How reproducible:
Always
Steps to Reproduce:
1. Setup an IPA server and and a NIS Server
2. Migrate all data from NIS server to IPA server.
3. Configure a NIS client with yp* tools to fetch data from IPA Server.
4. Add a user on IPA master and try to execute su with that user on NIS client. No AVC is seen. User Deleted.
5. Enroll NIS client machine of step 3 to IPA server as ipa client.
6. Same user of step 4 added again on IPA master.
7. Try to execute the su with step 6 user
Actual results:
Following AVC seen (Please find the attached
type=AVC msg=audit(1454404629.071:363): avc: denied { search } for pid=686 comm="systemd-logind" name="yp" dev="dm-0" ino=134323567 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:var_yp_t:s0 tclass=dir
type=AVC msg=audit(1454404629.072:364): avc: denied { name_connect } for pid=686 comm="systemd-logind" dest=111 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:portmap_port_t:s0 tclass=tcp_socket
Expected results:
NO AVC should be there.
Additional info:
(1) Please find the attached beaker avc log file for reference.
Created attachment 1120367 [details] beaker avc log file Description of problem: Following AVC seen when a IPA user tries su.( su - testuser1 -c 'touch /tmp/mytestfile.user1' ) snip from log: ============== type=AVC msg=audit(1454404629.071:363): avc: denied { search } for pid=686 comm="systemd-logind" name="yp" dev="dm-0" ino=134323567 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:var_yp_t:s0 tclass=dir type=AVC msg=audit(1454404629.072:364): avc: denied { name_connect } for pid=686 comm="systemd-logind" dest=111 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:portmap_port_t:s0 tclass=tcp_socket Version-Release number of selected component (if applicable): [root@dell-per300-01 ~]# rpm -q ipa-client sssd selinux-policy ipa-client-4.2.0-15.el7_2.5.x86_64 sssd-1.13.0-40.el7_2.1.x86_64 selinux-policy-3.13.1-60.el7_2.2.noarch [root@dell-per300-01 ~]# How reproducible: Always Steps to Reproduce: 1. Setup an IPA server and and a NIS Server 2. Migrate all data from NIS server to IPA server. 3. Configure a NIS client with yp* tools to fetch data from IPA Server. 4. Add a user on IPA master and try to execute su with that user on NIS client. No AVC is seen. User Deleted. 5. Enroll NIS client machine of step 3 to IPA server as ipa client. 6. Same user of step 4 added again on IPA master. 7. Try to execute the su with step 6 user Actual results: Following AVC seen (Please find the attached type=AVC msg=audit(1454404629.071:363): avc: denied { search } for pid=686 comm="systemd-logind" name="yp" dev="dm-0" ino=134323567 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:var_yp_t:s0 tclass=dir type=AVC msg=audit(1454404629.072:364): avc: denied { name_connect } for pid=686 comm="systemd-logind" dest=111 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:portmap_port_t:s0 tclass=tcp_socket Expected results: NO AVC should be there. Additional info: (1) Please find the attached beaker avc log file for reference.