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.

Bug 1910220

Summary: qemu-ga service still active and can work after qemu-guest-agent been removed
Product: Red Hat Enterprise Linux 8 Reporter: dehanmeng <demeng>
Component: qemu-kvmAssignee: Marc-Andre Lureau <marcandre.lureau>
qemu-kvm sub component: Guest Agent QA Contact: dehanmeng <demeng>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: ddepaula, demeng, ehadley, fjin, lijin, lizhu, lmen, marcandre.lureau, virt-maint, yicui
Version: 8.4Keywords: Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-4.2.0-40.module+el8.4.0+9278+dd53883d Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1882719 Environment:
Last Closed: 2021-05-18 15:22:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1882719    
Bug Blocks:    

Comment 6 dehanmeng 2021-01-05 09:23:49 UTC
Reproduce with version :
qemu-kvm-4.2.0-38.module+el8.4.0+9133+5346b06d
RHEL-8.4.0-20201229.n.0 BaseOS x86_64

Steps to Reproduce:
1.Boot rhel840 guest successfully.
2.check qemu-guest-agent service
● qemu-guest-agent.service - QEMU Guest Agent
   Loaded: loaded (/usr/lib/systemd/system/qemu-guest-agent.service; disabled; vendor preset: enabled)
   Active: active (running) since Thu 2020-12-22 15:57:08 CST; 22min ago
 Main PID: 905 (qemu-ga)
    Tasks: 2 (limit: 8164)
   Memory: 2.1M
   CGroup: /system.slice/qemu-guest-agent.service
           └─905 /usr/bin/qemu-ga --method=virtio-serial --path=/dev/virtio-ports/org.qemu.guest_agent.0 --blacklist=guest-file-open,guest-file-close,guest-file-read,guest-file->

3. remove qemu-guest-agent package
# rpm -e --nodeps qemu-guest-agent

4. check qemu-guest-agent packages
# rpm -q qemu-guest-agent
package qemu-guest-agent is not installed

5. check qemu-guest-agent service
# systemctl status qemu-guest-agent

Actual result:
● qemu-guest-agent.service
   Loaded: not-found (Reason: Unit qemu-guest-agent.service not found.)
   Active: active (running) since Thu 2020-12-22 15:57:08 CST; 34min ago
 Main PID: 905 (qemu-ga)
    Tasks: 2 (limit: 8164)
   Memory: 2.1M
   CGroup: /system.slice/qemu-guest-agent.service
           └─905 /usr/bin/qemu-ga --method=virtio-serial --path=/dev/virtio-ports/org.qemu.guest_agent.0 --blacklist=guest-file-open,guest-file-close,guest-file-read,guest-file->

Expected results:
# systemctl status qemu-guest-agent
Unit qemu-guest-agent.service could not be found.

Verified with version:
qemu-kvm-4.2.0-40.module+el8.4.0+9278+dd53883d
RHEL-8.4.0-20201229.n.0 BaseOS x86_64

Steps to verify like above
As above

Actual result:
[root@localhost ~]# systemctl status qemu-guest-agent.service 
Unit qemu-guest-agent.service could not be found.

Expected result:
qemu-guest-agent service could not be found.

Comment 8 errata-xmlrpc 2021-05-18 15:22:59 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 (Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update), 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/RHSA-2021:1762