Skip to content

ephemeral run: propagate kvm group permissions to container#301

Merged
gursewak1997 merged 1 commit into
bootc-dev:mainfrom
petracvv:fix_kvm_permissions
Jul 20, 2026
Merged

ephemeral run: propagate kvm group permissions to container#301
gursewak1997 merged 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>

@gursewak1997 gursewak1997 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm and harmless on systems where it's not needed.

@gursewak1997
gursewak1997 merged commit 1126d6e into bootc-dev:main Jul 20, 2026
19 checks passed
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.

2 participants