-
Notifications
You must be signed in to change notification settings - Fork 70
dropping privileges for qemu-lite-system-x86_64 #1104
Comments
We are looking at doing this, but only in the new Kata Containers project: I'd recommend upgrading to Kata Containers since this is the development focus: |
thanks @jodh-intel, good to see it's being addressed. You're right that it's time to migrate. I have to get over the fact that clearcontainers works so well at the moment and take the dive! |
Hi @zeigerpuppy - we'd like to think you'll be equally if not more impressed with Kata 😄 fwiw, if you are on a non-critical system, you can remove the The upgrading guide recommends removing Clear Containers since:
However, short term you can play with both if you wish :) |
Oh great, it will make my migration simpler if I can run both for a while! |
Hi @jodh-intel,
Therefore, I removed it with the following workaround (I thought it may be useful to document for others in the same situation):
|
Thanks for posting the info @zeigerpuppy ! |
I think this may be a little tricker than I expected. The kata packages don't install on Debian Stretch because of dependency issues:
I will file a more complete report on the kata repo EDIT |
Usually when running qemu, it is recommended to drop privileges when a machine starts.
For standard qemu with libvirt this is achieved by setting the values in
/etc/libvirt/qemu.conf
to:I note that currently qemu-lite-system-x86_64 runs all processes as root.
Is there a way to similarly drop privileges?
I understand that this has some impact on image ownership and sharing, which would require permissions to be set properly but it still seems like it would be a good idea to ensure a rogue machine can do less damage to the host if it escapes confinement.
The text was updated successfully, but these errors were encountered: