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.
SELinux is preventing /usr/bin/qemu-ga from read access on the file dev.
***** Plugin catchall (100. confidence) suggests **************************
If you believe that qemu-ga should be allowed read access on the dev file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'qemu-ga' --raw | audit2allow -M my-qemuga
# semodule -i my-qemuga.pp
Additional Information:
Source Context system_u:system_r:virt_qemu_ga_t:s0
Target Context system_u:object_r:proc_net_t:s0
Target Objects dev [ file ]
Source qemu-ga
Source Path /usr/bin/qemu-ga
Port <Unknown>
Host rhel7
Source RPM Packages qemu-guest-agent-2.12.0-2.el7.x86_64
Target RPM Packages filesystem-3.2-25.el7.x86_64
Policy RPM selinux-policy-3.13.1-224.el7.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name rhel7
Platform Linux rhel7 3.10.0-693.21.1.el7.x86_64 #1 SMP Fri
Feb 23 18:54:16 UTC 2018 x86_64 x86_64
Alert Count 10975
First Seen 2018-09-11 05:24:02 EDT
Last Seen 2018-09-18 08:39:03 EDT
Local ID c7eeecfa-1699-4f35-a7ab-1816855ad8a0
Raw Audit Messages
type=AVC msg=audit(1537274343.807:38634): avc: denied { read } for pid=1910 comm="qemu-ga" name="dev" dev="proc" ino=4026531976 scontext=system_u:system_r:virt_qemu_ga_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file
type=SYSCALL msg=audit(1537274343.807:38634): arch=x86_64 syscall=open success=no exit=EACCES a0=55e0bc6bedca a1=0 a2=1b6 a3=24 items=0 ppid=1 pid=1910 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=qemu-ga exe=/usr/bin/qemu-ga subj=system_u:system_r:virt_qemu_ga_t:s0 key=(null)
Hash: qemu-ga,virt_qemu_ga_t,proc_net_t,file,read
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-2019:2127
SELinux is preventing /usr/bin/qemu-ga from read access on the file dev. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that qemu-ga should be allowed read access on the dev file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # ausearch -c 'qemu-ga' --raw | audit2allow -M my-qemuga # semodule -i my-qemuga.pp Additional Information: Source Context system_u:system_r:virt_qemu_ga_t:s0 Target Context system_u:object_r:proc_net_t:s0 Target Objects dev [ file ] Source qemu-ga Source Path /usr/bin/qemu-ga Port <Unknown> Host rhel7 Source RPM Packages qemu-guest-agent-2.12.0-2.el7.x86_64 Target RPM Packages filesystem-3.2-25.el7.x86_64 Policy RPM selinux-policy-3.13.1-224.el7.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name rhel7 Platform Linux rhel7 3.10.0-693.21.1.el7.x86_64 #1 SMP Fri Feb 23 18:54:16 UTC 2018 x86_64 x86_64 Alert Count 10975 First Seen 2018-09-11 05:24:02 EDT Last Seen 2018-09-18 08:39:03 EDT Local ID c7eeecfa-1699-4f35-a7ab-1816855ad8a0 Raw Audit Messages type=AVC msg=audit(1537274343.807:38634): avc: denied { read } for pid=1910 comm="qemu-ga" name="dev" dev="proc" ino=4026531976 scontext=system_u:system_r:virt_qemu_ga_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file type=SYSCALL msg=audit(1537274343.807:38634): arch=x86_64 syscall=open success=no exit=EACCES a0=55e0bc6bedca a1=0 a2=1b6 a3=24 items=0 ppid=1 pid=1910 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=qemu-ga exe=/usr/bin/qemu-ga subj=system_u:system_r:virt_qemu_ga_t:s0 key=(null) Hash: qemu-ga,virt_qemu_ga_t,proc_net_t,file,read