diff --git a/Makefile b/Makefile index ae9a2ff..9bc4ee0 100644 --- a/Makefile +++ b/Makefile @@ -77,6 +77,9 @@ ifeq ($(shell lsb_release -is), Debian) # handled by qubes-iptables service now SYSTEM_DROPINS += netfilter-persistent.service + + SYSTEM_DROPINS += anacron.service + SYSTEM_DROPINS += anacron-resume.service endif install-systemd-dropins: diff --git a/patches.debian/01_add_anacron.patch b/patches.debian/01_add_anacron.patch new file mode 100644 index 0000000..849325e --- /dev/null +++ b/patches.debian/01_add_anacron.patch @@ -0,0 +1,8 @@ +Index: core-agent-linux/misc/30_cron.conf +=================================================================== +--- core-agent-linux.orig/misc/30_cron.conf 2017-01-06 22:47:57.855061937 +0000 ++++ core-agent-linux/misc/30_cron.conf 2017-01-07 01:31:16.382061937 +0000 +@@ -1 +1,2 @@ + binds+=( '/var/spool/cron' ) ++binds+=( '/var/spool/anacron' ) + diff --git a/series-debian-vm.conf b/series-debian-vm.conf index 66bb7a9..06d5d05 100644 --- a/series-debian-vm.conf +++ b/series-debian-vm.conf @@ -1 +1 @@ -patches.debian/qrexec_disable_all_warnings_as_errors.patch +patches.debian/01_add_anacron.patch diff --git a/vm-systemd/anacron-resume.service.d/30_qubes.conf b/vm-systemd/anacron-resume.service.d/30_qubes.conf new file mode 100644 index 0000000..dac888e --- /dev/null +++ b/vm-systemd/anacron-resume.service.d/30_qubes.conf @@ -0,0 +1,3 @@ +[Unit] +ConditionPathExists=/var/run/qubes-service/crond + diff --git a/vm-systemd/anacron.service.d/30_qubes.conf b/vm-systemd/anacron.service.d/30_qubes.conf new file mode 100644 index 0000000..dac888e --- /dev/null +++ b/vm-systemd/anacron.service.d/30_qubes.conf @@ -0,0 +1,3 @@ +[Unit] +ConditionPathExists=/var/run/qubes-service/crond +