Accepting request 1124361 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1124361 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virt-launcher-container?expand=0&rev=26
This commit is contained in:
commit
1e396bd53d
@ -89,12 +89,10 @@ COPY augconf /augconf
|
|||||||
RUN augtool -f /augconf
|
RUN augtool -f /augconf
|
||||||
RUN cd /var && rm -rf run && ln -s ../run .
|
RUN cd /var && rm -rf run && ln -s ../run .
|
||||||
|
|
||||||
# Setup permissions and capabilities for non-root VMIs. KubeVirt sets
|
# Setup permissions and capabilities for non-root VMIs
|
||||||
# XDG_* directories to /var/run.
|
|
||||||
RUN setcap 'cap_net_bind_service=+ep' /usr/bin/virt-launcher && \
|
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/virt-launcher-monitor && \
|
||||||
setcap 'cap_net_bind_service=+ep' /usr/bin/qemu-system-$(uname -m) && \
|
setcap 'cap_net_bind_service=+ep' /usr/bin/qemu-system-$(uname -m) && \
|
||||||
chmod 0755 /etc/libvirt && \
|
chmod 0755 /etc/libvirt
|
||||||
chown qemu:qemu /var/run
|
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/virt-launcher-monitor" ]
|
ENTRYPOINT [ "/usr/bin/virt-launcher-monitor" ]
|
||||||
|
@ -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>
|
Mon Oct 23 12:28:27 UTC 2023 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user