Skip to content

ephemeral run: propagate kvm group permissions to container#301

Open
petracvv wants to merge 1 commit into
bootc-dev:mainfrom
petracvv:fix_kvm_permissions
Open

ephemeral run: propagate kvm group permissions to container#301
petracvv wants to merge 1 commit into
bootc-dev:mainfrom
petracvv:fix_kvm_permissions

Conversation

@petracvv

Copy link
Copy Markdown
Contributor

Mounting /dev/kvm into the container is not sufficient when running through user mode podman on certain distributions. We should keep our host user group in the container to propogate the appropriate permissions for running VMs.

I found this other permission issue when running bcvk on my (non-fedora) setup. I think this is the right approach as permissions to /dev/kvm are controlled by groups on the host as well.

Mounting /dev/kvm into the container is not sufficient when
running through user mode podman on certain distributions.
We should keep our host user group in the container to
propogate the appropriate permissions for running VMs

Signed-off-by: Mihai Petracovici <petracvv@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant