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.
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