From a493b7c12187a5a037fa1f83eba912713b1e2565 Mon Sep 17 00:00:00 2001 From: unman Date: Tue, 11 Oct 2016 11:28:48 +0100 Subject: [PATCH] Remove custom mount when starting cron, in favour of bind-dirs --- vm-systemd/cron.service.d/30_qubes.conf | 6 +----- vm-systemd/crond.service.d/30_qubes.conf | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/vm-systemd/cron.service.d/30_qubes.conf b/vm-systemd/cron.service.d/30_qubes.conf index ef02a5e..980ba5c 100644 --- a/vm-systemd/cron.service.d/30_qubes.conf +++ b/vm-systemd/cron.service.d/30_qubes.conf @@ -1,7 +1,3 @@ [Unit] ConditionPathExists=/var/run/qubes-service/crond - -[Service] -ExecStartPre=/bin/mkdir --mode=0700 -p /rw/cron -ExecStartPre=/bin/mount --bind /rw/cron /var/spool/cron -ExecStopPost=/bin/umount /var/spool/cron +After=qubes-sysinit.service diff --git a/vm-systemd/crond.service.d/30_qubes.conf b/vm-systemd/crond.service.d/30_qubes.conf index ef02a5e..980ba5c 100644 --- a/vm-systemd/crond.service.d/30_qubes.conf +++ b/vm-systemd/crond.service.d/30_qubes.conf @@ -1,7 +1,3 @@ [Unit] ConditionPathExists=/var/run/qubes-service/crond - -[Service] -ExecStartPre=/bin/mkdir --mode=0700 -p /rw/cron -ExecStartPre=/bin/mount --bind /rw/cron /var/spool/cron -ExecStopPost=/bin/umount /var/spool/cron +After=qubes-sysinit.service