From 9671d775e800e21361d4200ae86dfac649166462 Mon Sep 17 00:00:00 2001 From: Aaron Rainbolt Date: Thu, 23 Oct 2025 18:24:06 -0500 Subject: [PATCH] Start qubes-bind-dirs.service before systemd-tmpfiles-setup.service tmpfiles.d may contain configuration to "fix" the permissions on some directories (like /var/lib/sdwdate on Whonix-Gateway qubes) in the event an app qube's template is changed and the UIDs/GIDs for some users in the original template do not match the UIDs/GIDs for the same users in the new template. This requires that bind mounts from /rw are set up before systemd-tmpfiles runs, so ensure that the units run in that order. --- vm-systemd/qubes-bind-dirs.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm-systemd/qubes-bind-dirs.service b/vm-systemd/qubes-bind-dirs.service index 7c954077..8659d342 100644 --- a/vm-systemd/qubes-bind-dirs.service +++ b/vm-systemd/qubes-bind-dirs.service @@ -1,7 +1,7 @@ [Unit] Description=Mount configured bind files and directories After=qubes-mount-dirs.service local-fs.target rw.mount home.mount usr-local.mount -Before=qubes-gui-agent.service +Before=qubes-gui-agent.service systemd-tmpfiles-setup.service DefaultDependencies=no Requires=qubes-mount-dirs.service home.mount usr-local.mount