2015-02-08 00:08:26 +01:00
|
|
|
# Units that should not run by default in Qubes VMs.
|
|
|
|
#
|
|
|
|
# This file is part of the qubes-core-vm-systemd package. To ensure that the
|
|
|
|
# default configuration is applied to all units in the list regardless of
|
|
|
|
# package installation order, including units added to the list by
|
|
|
|
# qubes-core-vm-systemd upgrades, all units in the list are preset by a
|
|
|
|
# scriptlet every time qubes-core-vm-systemd is installed or upgraded. That
|
|
|
|
# means that to permanently enable a unit with an [Install] section, you must
|
|
|
|
# create your own higher-priority preset file. (It might be possible to be
|
|
|
|
# smarter and keep a list of units previously preset, but this is not
|
|
|
|
# implemented.)
|
|
|
|
#
|
|
|
|
# For units below with no [Install] section, the scriptlet masks them instead.
|
|
|
|
# Qubes currently does not provide a way to permanently prevent such units from
|
|
|
|
# being masked.
|
|
|
|
#
|
2016-10-28 07:47:59 +02:00
|
|
|
# Maintainer information:
|
|
|
|
#
|
|
|
|
# * All units listed here are preset during first install of the *-systemd RPM.
|
|
|
|
# For those units which are disabled here, but don't have an install section
|
|
|
|
# (static units), we mask them during that install.
|
|
|
|
# * All units listed here that find themselves below the comment titled
|
|
|
|
# "# Units below this line will be re-preset on package upgrade"
|
|
|
|
# are preset both during install and during upgrade. This allows you to add
|
|
|
|
# new units here and have them become active when the user's machine upgrades
|
|
|
|
# their *-systemd RPM built by this project.
|
|
|
|
#
|
|
|
|
# Hi, Matt! I see you did great with this conversion to systemd presets!
|
|
|
|
# Thank you! Skyler sends you her regards from Europe!
|
|
|
|
# - Rudd-O
|
|
|
|
#
|
2015-02-08 00:08:26 +01:00
|
|
|
# https://groups.google.com/d/topic/qubes-users/dpM_GHfmEOk/discussion
|
|
|
|
|
|
|
|
disable avahi.service
|
|
|
|
disable avahi-daemon.service
|
2015-04-10 18:23:14 +02:00
|
|
|
disable avahi-daemon.socket
|
2016-10-28 07:47:59 +02:00
|
|
|
|
|
|
|
# Fedora only services
|
|
|
|
disable rpcbind.service
|
|
|
|
disable sendmail.service
|
|
|
|
disable sm-client.service
|
|
|
|
disable sshd.service
|
|
|
|
disable backuppc.service
|
|
|
|
|
|
|
|
# Units below this line will be re-preset on package upgrade
|
|
|
|
|
|
|
|
disable alsa-store.service
|
|
|
|
disable alsa-restore.service
|
2015-07-24 11:05:25 +02:00
|
|
|
disable hwclock-save.service
|
|
|
|
disable mdmonitor.service
|
|
|
|
disable plymouth-start.service
|
|
|
|
disable plymouth-read-write.service
|
|
|
|
disable plymouth-quit.service
|
|
|
|
disable plymouth-quit-wait.service
|
|
|
|
disable smartd.service
|
|
|
|
disable upower.service
|
|
|
|
disable colord.service
|
2017-12-14 21:40:04 +01:00
|
|
|
disable wpa_supplicant@.service
|
2018-04-04 01:50:40 +02:00
|
|
|
disable dkms.service
|
2015-07-24 11:05:25 +02:00
|
|
|
|
|
|
|
# Fedora only services
|
2015-02-08 00:08:26 +01:00
|
|
|
disable cpuspeed.service
|
2015-04-10 18:23:14 +02:00
|
|
|
disable dnf-makecache.timer
|
2015-02-08 00:08:26 +01:00
|
|
|
disable fedora-autorelabel.service
|
|
|
|
disable fedora-autorelabel-mark.service
|
2015-07-24 11:05:25 +02:00
|
|
|
disable fedora-storage-init.service
|
|
|
|
disable fedora-storage-init-late.service
|
2015-02-08 00:08:26 +01:00
|
|
|
disable hwclock-load.service
|
2015-07-24 11:05:25 +02:00
|
|
|
disable ipmi.service
|
2015-08-04 17:15:01 +02:00
|
|
|
disable iptables.service
|
|
|
|
disable ip6tables.service
|
2015-07-24 11:05:25 +02:00
|
|
|
disable irqbalance.service
|
|
|
|
disable mcelog.service
|
|
|
|
disable mdmonitor-takeover.service
|
2015-02-08 00:08:26 +01:00
|
|
|
disable multipathd.service
|
|
|
|
disable openct.service
|
2015-07-24 11:05:25 +02:00
|
|
|
disable rngd.service
|
2015-02-08 00:08:26 +01:00
|
|
|
disable tcsd.service
|
2015-04-07 02:30:59 +02:00
|
|
|
|
2020-02-15 22:12:34 +01:00
|
|
|
# Debian only services
|
|
|
|
disable apt-daily-upgrade.timer
|
|
|
|
disable apt-daily.timer
|
|
|
|
disable cups-browsed.service
|
|
|
|
disable avahi-daemon.socket
|
|
|
|
|
2015-04-07 02:30:59 +02:00
|
|
|
enable qubes-sysinit.service
|
2016-10-28 07:21:33 +02:00
|
|
|
enable qubes-early-vm-config.service
|
2015-04-07 02:30:59 +02:00
|
|
|
enable qubes-db.service
|
|
|
|
enable qubes-gui-agent.service
|
|
|
|
enable qubes-update-check.timer
|
|
|
|
enable qubes-misc-post.service
|
|
|
|
enable qubes-updates-proxy.service
|
|
|
|
enable qubes-network.service
|
Move network uplink setup to a separate service
Previously, network uplink (eth0) was configured in two places:
- udev (asynchronously)
- qubes-misc-post.service - at the very end of the boot process
This caused multiple issues:
1. Depending on udev event processing (non-deterministic), network
uplink could be enabled too early, for example before setting up
firewall.
2. Again depending on udev processing, it can be enabled quite late in
the boot process, after network.target is up and services assume
network already configured. This for example causes qubes-firewall to
fail DNS queries.
3. If udev happen try to enable enable networking even earlier, it may
happend before qubesdb-daemon is started, in which case network setup
fill fail. For this case, there was network re-setup in
qubes-misc-post service - much later in the boot.
Fix the above by placing network uplink setup in a dedicated
qubes-network-uplink@${INTERFACE}.service unit ordered after
network-pre.target and pulled in by udev based on vif device existence,
to handle also dynamic network attach/detach.
Then, create qubes-network-uplink.service unit waiting for appropriate
interface-specific unit (if one is expected!) and order it before
network.target.
QubesOS/qubes-issues#5576
2020-11-12 01:37:12 +01:00
|
|
|
enable qubes-network-uplink.service
|
2015-04-07 02:30:59 +02:00
|
|
|
enable qubes-qrexec-agent.service
|
2015-10-14 21:09:49 +02:00
|
|
|
enable qubes-mount-dirs.service
|
2017-10-18 16:57:39 +02:00
|
|
|
enable qubes-rootfs-resize.service
|
2015-04-07 02:30:59 +02:00
|
|
|
enable qubes-firewall.service
|
|
|
|
enable qubes-meminfo-writer.service
|
2015-08-04 17:15:01 +02:00
|
|
|
enable qubes-iptables.service
|
2017-05-26 03:07:47 +02:00
|
|
|
enable qubes-updates-proxy-forwarder.socket
|
2015-04-07 02:30:59 +02:00
|
|
|
enable haveged.service
|
|
|
|
enable chronyd.service
|
2016-07-03 07:00:29 +02:00
|
|
|
enable xendriverdomain.service
|
2017-07-06 23:37:26 +02:00
|
|
|
enable systemd-timesyncd.service
|
|
|
|
enable qubes-sync-time.service
|
2017-10-18 16:57:39 +02:00
|
|
|
enable qubes-sync-time.timer
|
2020-09-20 15:12:39 +02:00
|
|
|
enable module-load-dummy-psu.service
|
|
|
|
enable module-load-dummy-backlight.service
|
2020-10-03 19:34:58 +02:00
|
|
|
enable qubes-psu-client@.service default sys-usb
|
2020-11-02 04:46:31 +01:00
|
|
|
enable dev-xvdc1-swap.service
|
2019-04-14 12:59:41 +02:00
|
|
|
|
|
|
|
# Disable useless Xen services in Qubes VM
|
|
|
|
disable xenstored.service
|
|
|
|
disable xenconsoled.service
|
2020-07-24 16:07:39 +02:00
|
|
|
disable proc-xen.mount
|