emulators/qemu-guest-agent: not working at 24.1 -> 24.7 upgrade
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- [x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
- [x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue
Describe the bug
QEMU Guest Agent does not work after 24.1 -> 24.7 upgrade.
To Reproduce
Steps to reproduce the behavior:
- Run OPNsense 24.1 in QEMU environment, eg Proxmox, with QEMU Agent installed.
- Update from 24.1.x to 24.7.x.
- Check hypervisor for QEMU Agent connection.
Expected behavior
QEMU Agent should remain installed and communicate with the host.
Describe alternatives you considered
N/A. There are no practical alternatives to having the proper agent.
The plugin needs to move to the qemu port and activate the "guestagent" flavor: https://github.com/freebsd/freebsd-ports/blob/main/emulators/qemu/Makefile https://www.freshports.org/emulators/qemu-guest-agent/
I'll take care of this.
@fraenki , not sure if there is an additional problem, but I got it running again on 24.7 after adjusting the following CLI option:
https://github.com/opnsense/plugins/blob/f25a1fa6d54ef53339ab02685ecaf53a8fa5fcbb/emulators/qemu-guest-agent/src/opnsense/service/templates/OPNsense/QemuGuestAgent/rc.conf.d#L9
Changed to:
{% do optional_flags.append('--block-rpcs=' ~ OPNsense.QemuGuestAgent.general.DisabledRPCs) %}
Looks like --blacklist was renamed to --block-rpcs. See also: https://bugzilla.redhat.com/show_bug.cgi?id=2156515