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:
Install/update to RHEL 7.4 beta(RHEL-7.4-20170504.0) as VM on Hyper-V host. Run IP injection, and then check SELinux logs, there are many AVC denied logs.
RHEL 7.4 alpha does not have this issue. According to our test result, this issue is not caused by selinux or hyperv-daemons update, it should be caused by other component update from RHEL7.4 alpha to beta.
Version-Release number of selected component (if applicable):
RHEL 7.4 beta
selinux-policy-3.13.1-145.el7.noarch
hyperv-daemons-0-0.30.20161211git.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Install/update to RHEL 7.4 beta(RHEL-7.4-20170504.0) VM on Hyper-V
2. Run IP injection to change the network config of the VM
3. Check SELinux logs by 'ausearch -m avc'
Actual results:
There are many AVC logs, see the attachment for full log.
=====================================
time->Wed May 10 03:57:35 2017
type=PROCTITLE msg=audit(1494359855.365:1138): proctitle=2F62696E2F62617368002F7362696E2F6966646F776E0065746831
type=SYSCALL msg=audit(1494359855.365:1138): arch=c000003e syscall=21 success=no exit=-13 a0=22fa140 a1=1 a2=7ffce06114f0 a3=7ffce06112d0 items=0 ppid=12549 pid=12554 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ifdown" exe="/usr/bin/bash" subj=system_u:system_r:hypervkvp_t:s0 key=(null)
type=AVC msg=audit(1494359855.365:1138): avc: denied { execute } for pid=12554 comm="ifdown" name="hostname" dev="dm-0" ino=480957 scontext=system_u:system_r:hypervkvp_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file
----
time->Wed May 10 03:57:35 2017
type=PROCTITLE msg=audit(1494359855.365:1139): proctitle=2F62696E2F62617368002F7362696E2F6966646F776E0065746831
type=SYSCALL msg=audit(1494359855.365:1139): arch=c000003e syscall=21 success=no exit=-13 a0=22fa140 a1=4 a2=7ffce06114f0 a3=7ffce06112d0 items=0 ppid=12549 pid=12554 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ifdown" exe="/usr/bin/bash" subj=system_u:system_r:hypervkvp_t:s0 key=(null)
type=AVC msg=audit(1494359855.365:1139): avc: denied { read } for pid=12554 comm="ifdown" name="hostname" dev="dm-0" ino=480957 scontext=system_u:system_r:hypervkvp_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file
..........
Expected results:
No AVC log found
Additional info:
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://access.redhat.com/errata/RHBA-2017:1861
​Description of problem: Install/update to RHEL 7.4 beta(RHEL-7.4-20170504.0) as VM on Hyper-V host. Run IP injection, and then check SELinux logs, there are many AVC denied logs. RHEL 7.4 alpha does not have this issue. According to our test result, this issue is not caused by selinux or hyperv-daemons update, it should be caused by other component update from RHEL7.4 alpha to beta. Version-Release number of selected component (if applicable): RHEL 7.4 beta selinux-policy-3.13.1-145.el7.noarch hyperv-daemons-0-0.30.20161211git.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Install/update to RHEL 7.4 beta(RHEL-7.4-20170504.0) VM on Hyper-V 2. Run IP injection to change the network config of the VM 3. Check SELinux logs by 'ausearch -m avc' Actual results: There are many AVC logs, see the attachment for full log. ===================================== time->Wed May 10 03:57:35 2017 type=PROCTITLE msg=audit(1494359855.365:1138): proctitle=2F62696E2F62617368002F7362696E2F6966646F776E0065746831 type=SYSCALL msg=audit(1494359855.365:1138): arch=c000003e syscall=21 success=no exit=-13 a0=22fa140 a1=1 a2=7ffce06114f0 a3=7ffce06112d0 items=0 ppid=12549 pid=12554 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ifdown" exe="/usr/bin/bash" subj=system_u:system_r:hypervkvp_t:s0 key=(null) type=AVC msg=audit(1494359855.365:1138): avc: denied { execute } for pid=12554 comm="ifdown" name="hostname" dev="dm-0" ino=480957 scontext=system_u:system_r:hypervkvp_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file ---- time->Wed May 10 03:57:35 2017 type=PROCTITLE msg=audit(1494359855.365:1139): proctitle=2F62696E2F62617368002F7362696E2F6966646F776E0065746831 type=SYSCALL msg=audit(1494359855.365:1139): arch=c000003e syscall=21 success=no exit=-13 a0=22fa140 a1=4 a2=7ffce06114f0 a3=7ffce06112d0 items=0 ppid=12549 pid=12554 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ifdown" exe="/usr/bin/bash" subj=system_u:system_r:hypervkvp_t:s0 key=(null) type=AVC msg=audit(1494359855.365:1139): avc: denied { read } for pid=12554 comm="ifdown" name="hostname" dev="dm-0" ino=480957 scontext=system_u:system_r:hypervkvp_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file .......... Expected results: No AVC log found Additional info: