From 99af1038a67e4f855cd45e348b3e61deaa931f92 Mon Sep 17 00:00:00 2001 From: tasket Date: Fri, 21 Apr 2017 11:26:55 -0400 Subject: [PATCH] Add parameters for Whonix Tested briefly on Whonix. Don't use 'vm-sudo-protect-root' service. --- lib/systemd/system/vm-sudo-protect.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/systemd/system/vm-sudo-protect.service b/lib/systemd/system/vm-sudo-protect.service index 4d52421..95973d8 100644 --- a/lib/systemd/system/vm-sudo-protect.service +++ b/lib/systemd/system/vm-sudo-protect.service @@ -1,8 +1,10 @@ [Unit] Description=Script protections to enhance vm-sudo After=qubes-sysinit.service +Before=qubes-mount-dirs.service ConditionPathExists=|/var/run/qubes-service/vm-sudo-protect ConditionPathExists=|/var/run/qubes-service/vm-sudo-protect-root +DefaultDependencies=false [Service] Type=oneshot