-
Notifications
You must be signed in to change notification settings - Fork 5
/
50-eos.preset
107 lines (103 loc) · 3.34 KB
/
50-eos.preset
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# Systemd unit file presets for EOS. We do not install a wildcard
# "disable *" rule, so here we simply disable any units that aren't
# desired. All others will be enabled by systemd.
# Reverse systemd defaults
disable systemd-networkd.service
disable systemd-networkd.socket
disable systemd-resolved.service
disable systemd-networkd-wait-online.service
disable systemd-sysupdate.service
disable systemd-sysupdate.timer
disable systemd-sysupdate-reboot.service
disable systemd-sysupdate-reboot.timer
# Disable other unwanted units
disable apt-daily.timer
disable apt-daily-upgrade.timer
disable bluetooth-init.service
disable checkbox-ng.service
disable cni-dhcp.service
disable crio.service
disable crio-shutdown.service
disable cron.service
disable dpkg-db-backup.timer
disable eos-factory-reset-users.service
disable eos-firewall-localonly.service
disable eos-safe-defaults.service
disable eos-update-server.service
disable eos-update-server.socket
disable eos-updater-avahi.path
disable eos-updater-avahi.service
disable ifupdown-wait-online.service
disable networking.service
disable NetworkManager-wait-online.service
disable logrotate.timer
disable [email protected]
disable [email protected]
disable openvpn.service
disable [email protected]
disable podman-auto-update.service
disable podman-auto-update.timer
disable pppd-dns.service
disable rtkit-daemon.service
disable rsyslog.service
disable [email protected]
disable smartmontools.service
disable speech-dispatcherd.service
disable strongswan-starter.service
disable ssh*.service
disable ssh.socket
disable [email protected]
disable wpa_supplicant.service
disable [email protected]
disable [email protected]
disable [email protected]
disable xl2tpd.service
# Disable virtualbox-guest-utils.service by default. It will be enabled
# dynamically by eos-vm-generator when running in virtualbox.
# ConditionVirtualization=oracle on the unit is not enought as it will
# prevent conflicted units (systemd-timesyncd.service) from starting.
# https://phabricator.endlessm.com/T32330#906081
disable virtualbox-guest-utils.service
# Disable units masked by Debian, as systemctl preset-all fails to
# handle them. Without this, `systemctl preset-all` will fail with:
#
# Operation failed: Cannot send after transport endpoint shutdown
#
# Units masked in systemd. See debian/systemd.links.
disable x11-common.service
disable hostname.service
disable rmnologin.service
disable bootmisc.service
disable fuse.service
disable bootlogd.service
disable stop-bootlogd-single.service
disable stop-bootlogd.service
disable hwclock.service
disable mountkernfs.service
disable mountdevsubfs.service
disable mountall.service
disable mountall-bootclean.service
disable mountnfs.service
disable mountnfs-bootclean.service
disable umountfs.service
disable umountnfs.service
disable umountroot.service
disable checkfs.service
disable checkroot.service
disable checkroot-bootclean.service
disable cryptdisks.service
disable cryptdisks-early.service
disable single.service
disable killprocs.service
disable sendsigs.service
disable halt.service
disable reboot.service
disable rc.service
disable rcS.service
disable motd.service
disable bootlogs.service
#
# Units masked by other packages. Run the following to find them:
#
# find /usr/lib/systemd/system -lname /dev/null -printf 'disable %f\n' | sort
disable screen-cleanup.service