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.
Description of problem: AVC Denials are seen when ipa-dns-install is run with --dnssec-master option.
Version-Release number of selected component (if applicable):
ipa-server-4.8.0-11.module+el8.1.0+4247+9f3fd721.x86_64
How reproducible:
Always
Steps to Reproduce:
1. Install ipa-server
2. Run ipa-dns-install --dnssec-master
3. ausearch -m AVC
Actual results:
[root@master ~]# ausearch -m AVC
----
time->Thu Dec 5 05:47:44 2019
type=PROCTITLE msg=audit(1575542864.074:1742): proctitle=2F7573722F6C6962657865632F706C6174666F726D2D707974686F6E002D45002F7573722F6C6962657865632F6970612F6970612D6F64732D6578706F72746572
type=SYSCALL msg=audit(1575542864.074:1742): arch=c000003e syscall=257 success=no exit=-13 a0=ffffff9c a1=56135c0000f0 a2=0 a3=0 items=0 ppid=1 pid=1689 auid=4294967295 uid=991 gid=986 euid=991 suid=991 fsuid=991 egid=986 sgid=986 fsgid=986 tty=(none) ses=4294967295 comm="ipa-ods-exporte" exe="/usr/libexec/platform-python3.6" subj=system_u:system_r:ipa_ods_exporter_t:s0 key=(null)
type=AVC msg=audit(1575542864.074:1742): avc: denied { search } for pid=1689 comm="ipa-ods-exporte" name="krb5" dev="vda1" ino=4327664 scontext=system_u:system_r:ipa_ods_exporter_t:s0 tcontext=system_u:object_r:krb5_keytab_t:s0 tclass=dir permissive=0
2. /var/log/messages displays the below message
Dec 5 05:47:45 master systemd[1]: Started IPA OpenDNSSEC Signer replacement.
Dec 5 05:47:45 master dbus-daemon[795]: [system] Activating service name='org.fedoraproject.Setroubleshootd' requested by ':1.495' (uid=0 pid=623 comm="/usr/sbin/sedispatch " label="system_u:system_r:auditd_t:s0") (using servicehelper)
Dec 5 05:47:46 master dbus-daemon[795]: [system] Successfully activated service 'org.fedoraproject.Setroubleshootd'
Dec 5 05:47:47 master systemd[1]: Starting Generate rndc key for BIND (DNS)...
Dec 5 05:47:47 master systemd[1]: Started Generate rndc key for BIND (DNS).
Dec 5 05:47:47 master systemd[1]: Starting One-time temporary TLS key generation for httpd.service...
Dec 5 05:47:47 master systemd[1]: Started One-time temporary TLS key generation for httpd.service.
Dec 5 05:47:47 master setroubleshoot[1806]: SELinux is preventing /usr/libexec/platform-python3.6 from search access on the directory krb5. For complete SELinux messages run: sealert -l 980fee23-b2f9-4059-8d86-c7493c010afb
Dec 5 05:47:47 master platform-python[1806]: SELinux is preventing /usr/libexec/platform-python3.6 from search access on the directory krb5.#012#012***** Plugin catchall (100. confidence) suggests **************************#012#012If you believe that platform-python3.6 should be allowed search access on the krb5 directory by default.#012Then you should report this as a bug.#012You can generate a local policy module to allow this access.#012Do#012allow this access for now by executing:#012# ausearch -c 'ipa-ods-exporte' --raw | audit2allow -M my-ipaodsexporte#012# semodule -X 300 -i my-ipaodsexporte.pp#012
Expected results:
Additional info:
Description of problem: AVC Denials are seen when ipa-dns-install is run with --dnssec-master option. Version-Release number of selected component (if applicable): ipa-server-4.8.0-11.module+el8.1.0+4247+9f3fd721.x86_64 How reproducible: Always Steps to Reproduce: 1. Install ipa-server 2. Run ipa-dns-install --dnssec-master 3. ausearch -m AVC Actual results: [root@master ~]# ausearch -m AVC ---- time->Thu Dec 5 05:47:44 2019 type=PROCTITLE msg=audit(1575542864.074:1742): proctitle=2F7573722F6C6962657865632F706C6174666F726D2D707974686F6E002D45002F7573722F6C6962657865632F6970612F6970612D6F64732D6578706F72746572 type=SYSCALL msg=audit(1575542864.074:1742): arch=c000003e syscall=257 success=no exit=-13 a0=ffffff9c a1=56135c0000f0 a2=0 a3=0 items=0 ppid=1 pid=1689 auid=4294967295 uid=991 gid=986 euid=991 suid=991 fsuid=991 egid=986 sgid=986 fsgid=986 tty=(none) ses=4294967295 comm="ipa-ods-exporte" exe="/usr/libexec/platform-python3.6" subj=system_u:system_r:ipa_ods_exporter_t:s0 key=(null) type=AVC msg=audit(1575542864.074:1742): avc: denied { search } for pid=1689 comm="ipa-ods-exporte" name="krb5" dev="vda1" ino=4327664 scontext=system_u:system_r:ipa_ods_exporter_t:s0 tcontext=system_u:object_r:krb5_keytab_t:s0 tclass=dir permissive=0 2. /var/log/messages displays the below message Dec 5 05:47:45 master systemd[1]: Started IPA OpenDNSSEC Signer replacement. Dec 5 05:47:45 master dbus-daemon[795]: [system] Activating service name='org.fedoraproject.Setroubleshootd' requested by ':1.495' (uid=0 pid=623 comm="/usr/sbin/sedispatch " label="system_u:system_r:auditd_t:s0") (using servicehelper) Dec 5 05:47:46 master dbus-daemon[795]: [system] Successfully activated service 'org.fedoraproject.Setroubleshootd' Dec 5 05:47:47 master systemd[1]: Starting Generate rndc key for BIND (DNS)... Dec 5 05:47:47 master systemd[1]: Started Generate rndc key for BIND (DNS). Dec 5 05:47:47 master systemd[1]: Starting One-time temporary TLS key generation for httpd.service... Dec 5 05:47:47 master systemd[1]: Started One-time temporary TLS key generation for httpd.service. Dec 5 05:47:47 master setroubleshoot[1806]: SELinux is preventing /usr/libexec/platform-python3.6 from search access on the directory krb5. For complete SELinux messages run: sealert -l 980fee23-b2f9-4059-8d86-c7493c010afb Dec 5 05:47:47 master platform-python[1806]: SELinux is preventing /usr/libexec/platform-python3.6 from search access on the directory krb5.#012#012***** Plugin catchall (100. confidence) suggests **************************#012#012If you believe that platform-python3.6 should be allowed search access on the krb5 directory by default.#012Then you should report this as a bug.#012You can generate a local policy module to allow this access.#012Do#012allow this access for now by executing:#012# ausearch -c 'ipa-ods-exporte' --raw | audit2allow -M my-ipaodsexporte#012# semodule -X 300 -i my-ipaodsexporte.pp#012 Expected results: Additional info: