From 50c6d96f4ad619e230dab0fe3558780de44543d6 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 4 Sep 2024 10:08:24 +0300 Subject: [PATCH] n/essentialsoftware.md: note systemd presets on threat of suffering --- n/essentialsoftware.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/n/essentialsoftware.md b/n/essentialsoftware.md index fc91709..52c5815 100644 --- a/n/essentialsoftware.md +++ b/n/essentialsoftware.md @@ -31,6 +31,7 @@ _{{ page.excerpt }}_ - [BTRFS](#btrfs) - [Swap](#swap) - [sudo](#sudo) + - [systemd presets](#systemd-presets) - [Debian](#debian) - [sources.list](#sourceslist) - [`/etc/apt/preferences.d/whatever`](#etcaptpreferencesdwhatever) @@ -199,6 +200,16 @@ Additionally Arch Linux should consider either #%wheel ALL=(ALL:ALL) ALL ``` +### systemd presets + +You are practically **_guaranteed horrible time especially on Debian_**, unless +`/etc/systemd/system-preset` has a `whatever.preset` saying `disable *` as some +distributions consider it a good idea to autostart every installed service by +default. + +To return to the preset state of nothing autostarting, execute the **_dangerous +if you don't know what you are doing_** command `sudo systemctl preset-all`. + ### Debian Remember to install `apt-transport-tor`!