mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
appliance: run systemd-tmpfiles also for /var/run
Commit a6330e9d3a enabled /run for
systemd-tmpfiles: while this works fine in most of the cases, there are
few tmpfiles configurations that still references /var/run instead of
/run. As result, include also /var/run in the systemd-tmpfiles
execution.
This commit is contained in:
@@ -90,7 +90,7 @@ machine_id=$(dd if=/dev/urandom bs=16 count=1 status=none | od -x -A n)
|
||||
echo "${machine_id// /}" > /etc/machine-id
|
||||
|
||||
# Set up tmpfiles (must run after kmod.conf is created above).
|
||||
systemd-tmpfiles --prefix=/dev --prefix=/run --create --boot
|
||||
systemd-tmpfiles --prefix=/dev --prefix=/run --prefix=/var/run --create --boot
|
||||
|
||||
# Find udevd and run it directly.
|
||||
for f in /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd \
|
||||
|
||||
Reference in New Issue
Block a user