presets: Don't enable systemd-homed-firstboot.service by default
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 7 Jun 2024 15:21:48 +0000 (17:21 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 8 Jun 2024 10:29:55 +0000 (11:29 +0100)
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

presets/90-systemd.preset
units/systemd-homed.service.in

index 7b7c20a02000bdff064d2f6d3d7af3e4c1ffd1cb..da6b9805fdc7f09879297827cc56daa8767e9995 100644 (file)
@@ -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
index ff4f429498c702a095f0dcaa29c729d563021959..b54e5d30b200a1a1379a2628722116e8f22af40f 100644 (file)
@@ -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