Qubes component: core-agent-linux
Go to file
Marek Marczykowski-Górecki 364fd3687f
debian: disable timer-based apt-get
Debian stretch in default configuration calls apt-get update every 24h.
And additionally, have automatic unattended security updates enabled.
Generally it would be good thing on standalone system, but in AppVM
which loose its rootfs changes after restart it is a waste of resources.
Especially when it kicks in on multiple VMs simultaneously, while on
battery (apt-daily.service have ConditionACPower=true, but VM don't have
that information...).

It would make some sense on TemplateVM/StandaloneVM, but then it kicks
in just at VM startup. Which conflicts with starting the update manually
then (by clicking "update VM" button in manager for example, or using
salt).

So, disable this feature completely.

The actual solution is based on pkg-manager-no-autoupdate by @adrelanos.

Fixes QubesOS/qubes-issues#2621

(cherry picked from commit 128af0d191)
2017-12-13 03:36:28 +01:00
archlinux Fix the previous shellcheck-related "fixes" again 2017-10-02 14:49:40 +03:00
autostart-dropins Merge branch 'autostart-dropins' 2015-09-02 01:16:19 +02:00
debian version 3.2.20 2017-09-24 23:14:38 +02:00
doc qrexec: fix reporting exit code in qrexec-client-vm 2017-09-24 17:22:26 +02:00
init dispvm: don't use perl to decode base64-encoded script 2017-05-14 23:29:52 +02:00
misc debian: disable timer-based apt-get 2017-12-13 03:36:28 +01:00
network Merge remote-tracking branch 'qubesos/pr/45' 2017-04-01 11:58:13 +02:00
patches.debian Stop anacron from starting in Debian using existing constraint on cron 2017-02-05 23:36:27 +00:00
pkgs archlinux: created build scripts 2013-04-17 01:22:32 +02:00
qrexec qrexec: code style fix - use spaces for indentation 2017-12-13 03:17:00 +01:00
qubes-rpc Handle fallthrough with attribute(noreturn) for consistancy and compatiblity with older GCC 2017-09-24 17:22:27 +02:00
rpm_spec Add CENTOS/RHEL support (drop fedora-release dependancy as template builder will install it anyway and here it only make harder to support non-fedora builds) 2017-09-24 17:22:27 +02:00
vm-init.d Clean up early initialization and setup of /rw 2016-10-23 20:19:51 +00:00
vm-systemd systemd: fix race condition between qubes-db and qubes-early-vm-config 2017-05-14 23:13:26 +02:00
.gitignore gitignore: fix binary packages declaration 2014-07-27 06:11:14 +02:00
.travis.yml travis: add fc25 and fc26 targets 2017-09-24 22:13:44 +02:00
debian-quilt debian: Refactor Debian quilt packaging for xen 2015-02-11 08:02:55 -05:00
LICENSE Added LICENSE 2010-04-05 21:21:27 +02:00
Makefile debian: disable timer-based apt-get 2017-12-13 03:36:28 +01:00
Makefile.builder Enable build for Zesty 2017-05-23 23:59:41 +01:00
series-debian-vm.conf Stop anacron from starting in Debian using existing constraint on cron 2017-02-05 23:36:27 +00:00
version version 3.2.20 2017-09-24 23:14:38 +02:00