mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-17 14:03:09 +00:00
docker-base: limit systemd-tmpfiles to /run/
In96a6711
we added re-running systemd-tmpfiles to add files to /run on the root fs of the container. Here we'll limit where systemd-tmpfiles puts files by passing it --prefix /var and --prefix /var/run/ (cherry picked from commit93205adc7d
)
This commit is contained in:
parent
0f69fe0d48
commit
75d580c3fa
@ -27,6 +27,6 @@ systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connec
|
|||||||
# This unmounts /run (tmpfs) and then recreates the files
|
# This unmounts /run (tmpfs) and then recreates the files
|
||||||
# in the /run directory on the root filesystem of the container
|
# in the /run directory on the root filesystem of the container
|
||||||
umount /run
|
umount /run
|
||||||
systemd-tmpfiles --create --boot
|
systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
Loading…
Reference in New Issue
Block a user