Ana Guerrero 2023-11-09 20:35:29 +00:00 committed by Git OBS Bridge
commit 1e396bd53d
2 changed files with 7 additions and 4 deletions

View File

@ -89,12 +89,10 @@ COPY augconf /augconf
RUN augtool -f /augconf
RUN cd /var && rm -rf run && ln -s ../run .
# Setup permissions and capabilities for non-root VMIs. KubeVirt sets
# XDG_* directories to /var/run.
# Setup permissions and capabilities for non-root VMIs
RUN setcap 'cap_net_bind_service=+ep' /usr/bin/virt-launcher && \
setcap 'cap_net_bind_service=+ep' /usr/bin/virt-launcher-monitor && \
setcap 'cap_net_bind_service=+ep' /usr/bin/qemu-system-$(uname -m) && \
chmod 0755 /etc/libvirt && \
chown qemu:qemu /var/run
chmod 0755 /etc/libvirt
ENTRYPOINT [ "/usr/bin/virt-launcher-monitor" ]

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 8 14:08:15 UTC 2023 - Vasily Ulyanov <vasily.ulyanov@suse.com>
- Do not chown /var/run
-------------------------------------------------------------------
Mon Oct 23 12:28:27 UTC 2023 - Vasily Ulyanov <vasily.ulyanov@suse.com>