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 1434526 - gssproxy and httpd selinux AVC denials during ipa-server-install
Summary: gssproxy and httpd selinux AVC denials during ipa-server-install
Keywords:
Status: CLOSED DUPLICATE of bug 1432115
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lukas Vrabec
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-21 16:17 UTC by Scott Poore
Modified: 2017-03-29 21:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-29 21:21:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Scott Poore 2017-03-21 16:17:50 UTC
Description of problem:

During an ipa-server-install, I'm seeing some AVC denials for gssproxy and httpd that are causing failures during the upgrade portion of install.


Version-Release number of selected component (if applicable):
[root@rhel7-1 ~]# rpm -q selinux-policy
selinux-policy-3.13.1-130.el7.noarch


How reproducible:
always

Steps to Reproduce:
1.  yum -y install ipa-server-dns
2.  run ipa-server-install with dns enabled
3.  ausearch -m avc


Actual results:

ipa-server-install fails.  and ausearch shows denials.

[root@rhel7-1 ~]# ausearch -m avc
----
time->Tue Mar 21 11:01:36 2017
type=SYSCALL msg=audit(1490112096.587:206): arch=c000003e syscall=2 success=no exit=-13 a0=561972b21830 a1=0 a2=1b6 a3=24 items=0 ppid=1 pid=4110 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="gssproxy" exe="/usr/sbin/gssproxy" subj=system_u:system_r:gssproxy_t:s0 key=(null)
type=AVC msg=audit(1490112096.587:206): avc:  denied  { search } for  pid=4110 comm="gssproxy" name="ipa" dev="dm-0" ino=8993581 scontext=system_u:system_r:gssproxy_t:s0 tcontext=system_u:object_r:ipa_var_lib_t:s0 tclass=dir
----
time->Tue Mar 21 11:01:36 2017
type=SYSCALL msg=audit(1490112096.587:207): arch=c000003e syscall=2 success=no exit=-13 a0=561972b21900 a1=0 a2=1b6 a3=24 items=0 ppid=1 pid=4110 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="gssproxy" exe="/usr/sbin/gssproxy" subj=system_u:system_r:gssproxy_t:s0 key=(null)
type=AVC msg=audit(1490112096.587:207): avc:  denied  { search } for  pid=4110 comm="gssproxy" name="ipa" dev="dm-0" ino=8993581 scontext=system_u:system_r:gssproxy_t:s0 tcontext=system_u:object_r:ipa_var_lib_t:s0 tclass=dir
----
time->Tue Mar 21 11:01:45 2017
type=SYSCALL msg=audit(1490112105.585:217): arch=c000003e syscall=2 success=no exit=-13 a0=55d5ac90239d a1=800c1 a2=180 a3=7ffe239c0d30 items=0 ppid=1 pid=4227 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="httpd" exe="/usr/sbin/httpd" subj=system_u:system_r:httpd_t:s0 key=(null)
type=AVC msg=audit(1490112105.585:217): avc:  denied  { write } for  pid=4227 comm="httpd" name="alias" dev="dm-0" ino=13373928 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:cert_t:s0 tclass=dir
----
time->Tue Mar 21 11:01:45 2017
type=SYSCALL msg=audit(1490112105.586:218): arch=c000003e syscall=2 success=no exit=-13 a0=55d5ac905fed a1=800c1 a2=180 a3=708 items=0 ppid=1 pid=4227 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="httpd" exe="/usr/sbin/httpd" subj=system_u:system_r:httpd_t:s0 key=(null)
type=AVC msg=audit(1490112105.586:218): avc:  denied  { write } for  pid=4227 comm="httpd" name="alias" dev="dm-0" ino=13373928 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:cert_t:s0 tclass=dir
----
time->Tue Mar 21 11:01:45 2017
type=SYSCALL msg=audit(1490112105.687:219): arch=c000003e syscall=2 success=no exit=-13 a0=55d5ac9090bd a1=800c1 a2=180 a3=708 items=0 ppid=1 pid=4227 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="httpd" exe="/usr/sbin/httpd" subj=system_u:system_r:httpd_t:s0 key=(null)
type=AVC msg=audit(1490112105.687:219): avc:  denied  { write } for  pid=4227 comm="httpd" name="alias" dev="dm-0" ino=13373928 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:cert_t:s0 tclass=dir
----
time->Tue Mar 21 11:01:45 2017
type=SYSCALL msg=audit(1490112105.688:220): arch=c000003e syscall=2 success=no exit=-13 a0=55d5ac90e02d a1=800c1 a2=180 a3=708 items=0 ppid=1 pid=4227 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="httpd" exe="/usr/sbin/httpd" subj=system_u:system_r:httpd_t:s0 key=(null)
type=AVC msg=audit(1490112105.688:220): avc:  denied  { write } for  pid=4227 comm="httpd" name="alias" dev="dm-0" ino=13373928 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:cert_t:s0 tclass=dir


Expected results:

ipa-server-install succeeds with no AVC denials.

Additional info:

Comment 2 Scott Poore 2017-03-29 21:21:37 UTC
Closing this as duplicate of bug #1432115

*** This bug has been marked as a duplicate of bug 1432115 ***


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