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 1663092 - qemu-ga command guest-get-fsinfo isn't allowed read access
Summary: qemu-ga command guest-get-fsinfo isn't allowed read access
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.7
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
: 1663109 (view as bug list)
Depends On:
Blocks: 1635571 1636178 1687721
TreeView+ depends on / blocked
 
Reported: 2019-01-03 06:28 UTC by Marc-Andre Lureau
Modified: 2019-10-22 15:13 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 1635571
: 1687721 (view as bug list)
Environment:
Last Closed: 2019-08-06 12:52:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2127 0 None None None 2019-08-06 12:53:18 UTC

Description Marc-Andre Lureau 2019-01-03 06:28:05 UTC
+++ This bug was initially created as a clone of Bug #1635571 +++

Bug 1635571 needs SELinux policy update:


# sealert -l 441edee4-6c7b-447b-be45-8b03e932994a
SELinux is preventing /usr/bin/qemu-ga from read access on the file b252:1.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that qemu-ga should be allowed read access on the b252:1 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:udev_var_run_t:s0
Target Objects                b252:1 [ file ]
Source                        qemu-ga
Source Path                   /usr/bin/qemu-ga
Port                          <Unknown>
Host                          localhost.localdomain
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-228.el7.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     vm-74-84.lab.eng.pek2.redhat.com
Platform                      Linux vm-74-84.lab.eng.pek2.redhat.com
                              3.10.0-954.el7.x86_64 #1 SMP Mon Sep 24 16:18:49
                              EDT 2018 x86_64 x86_64
Alert Count                   8
First Seen                    2019-01-02 18:18:44 CST
Last Seen                     2019-01-02 18:54:27 CST
Local ID                      441edee4-6c7b-447b-be45-8b03e932994a

Raw Audit Messages
type=AVC msg=audit(1546426467.133:224): avc:  denied  { read } for  pid=2894 comm="qemu-ga" name="b252:1" dev="tmpfs" ino=20899 scontext=system_u:system_r:virt_qemu_ga_t:s0 tcontext=system_u:object_r:udev_var_run_t:s0 tclass=file permissive=0


Hash: qemu-ga,virt_qemu_ga_t,udev_var_run_t,file,read

Comment 2 Marc-Andre Lureau 2019-01-04 08:17:11 UTC
*** Bug 1663109 has been marked as a duplicate of this bug. ***

Comment 17 errata-xmlrpc 2019-08-06 12:52:54 UTC
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


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