Unfortunately, after more testing the solution posted does not work reliably. I have to add an additional dependency the the local filesystem is fully initialized, including /run, using local-fs.target. It's not clear to me why RequiresMountFor= is not sufficient.

[Unit]
After=systemd-sysctl.service systemd-sysusers.service local-fs.target
RequiresMountsFor=/run/systemd/mount-rootfs/var/tmp

--
JP

Reply via email to