File tree 1 file changed +2
-3
lines changed
pkg/controller/build/buildrequest/assets
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,8 @@ RUN ostree container commit
40
40
# Hardcoded tmpfiles configuration for usbguard and ipsec.
41
41
# Eventually when https://github.com/USBGuard/usbguard/pull/652 is backported to RHEL, we will be able to remove the usbguard patch
42
42
# For now, libreswan (ipsec) patch will live here until we find a better alternative
43
- RUN echo -e "d /var/log/usbguard 0755 root root -\nd /var/lib/ipsec 0755 root root -\nd /var/lib/ipsec/nss 0755 root root -" > /usr/lib/tmpfiles.d/usbguard_ipsec.conf && \
44
- systemd-tmpfiles --create && \
45
- chmod 0755 /var/log/usbguard
43
+ RUN [ -f /usr/lib/tmpfiles.d/usbguard.conf ] && rm /usr/lib/tmpfiles.d/usbguard.conf
44
+ RUN echo -e "d /var/log/usbguard 0755 root root -\nd /var/lib/ipsec 0700 root root -\nd /var/lib/ipsec/nss 0700 root root -" > /usr/lib/tmpfiles.d/usbguard_ipsec.conf
46
45
47
46
COPY ./openshift-config-user-ca-bundle.crt /etc/pki/ca-trust/source/anchors/openshift-config-user-ca-bundle.crt
48
47
RUN update-ca-trust
You can’t perform that action at this time.
0 commit comments