summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-06-07 17:21:48 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2024-06-08 12:29:55 +0200
commit4861eace1232105ad3bcf316a5f63b2e8fa19a2d (patch)
tree12b9f98056a5c799374b50279cdc6cd4bd2cd45c
parentdev-setup: Follow /dev/console symlinks when locking /dev/console (diff)
downloadsystemd-4861eace1232105ad3bcf316a5f63b2e8fa19a2d.tar.xz
systemd-4861eace1232105ad3bcf316a5f63b2e8fa19a2d.zip
presets: Don't enable systemd-homed-firstboot.service by default
Enabling this service by default means every CI image without a regular user now gets stuck on first boot due to the password prompt from systemd-homed-firstboot.service. Let's not enable the service by default but instead require users to enable it explicitly if they want its behavior. Fixes #33249
-rw-r--r--presets/90-systemd.preset1
-rw-r--r--units/systemd-homed.service.in2
2 files changed, 1 insertions, 2 deletions
diff --git a/presets/90-systemd.preset b/presets/90-systemd.preset
index 7b7c20a020..da6b9805fd 100644
--- a/presets/90-systemd.preset
+++ b/presets/90-systemd.preset
@@ -21,7 +21,6 @@ enable systemd-boot-update.service
enable systemd-confext.service
enable systemd-homed.service
enable systemd-homed-activate.service
-enable systemd-homed-firstboot.service
enable systemd-journald-audit.socket
enable systemd-mountfsd.socket
enable systemd-network-generator.service
diff --git a/units/systemd-homed.service.in b/units/systemd-homed.service.in
index ff4f429498..b54e5d30b2 100644
--- a/units/systemd-homed.service.in
+++ b/units/systemd-homed.service.in
@@ -40,4 +40,4 @@ TimeoutStopSec=3min
[Install]
WantedBy=multi-user.target
Alias=dbus-org.freedesktop.home1.service
-Also=systemd-homed-activate.service systemd-homed-firstboot.service
+Also=systemd-homed-activate.service