-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman: Install qemu-guest-agent in the bundle #595
Conversation
It will be used to sync the time of the guest on macOS when the system gets out of sleep. A selinux policy change is needed to be allowed to use it over virtio-vsock. To apply it ( https://relativkreativ.at/articles/how-to-compile-a-selinux-policy-package ) checkmodule -M -m -o qemuga-vsock.mod qemuga-vsock.te semodule_package -o qemuga-vsock.pp -m qemuga-vsock.mod semodule -i qemuga-vsock.pp
# checkpolicy | ||
/usr/bin/checkmodule -M -m -o qemuga-vsock.mod qemuga-vsock.te | ||
# policycoreutils | ||
/usr/bin/semodule_package -o qemuga-vsock.pp -m qemuga-vsock.mod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cfergeau these commands need to run on the host can't we run it on the VM because our CI system is based on the RHEL8 host so I am wondering if those steps going to work as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The needed packages are not available in the VM, this is why I run them on the host. We may need to install additional packages (the comments are the package names), but hopefully this will work fine on rhel8 when they are installed.
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cfergeau, gbraad The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test |
/test e2e-snc |
This will be needed by the timesync code (set the VM time automatically when the machine gets out of sleep).