]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: pull in basic.target rather than sysinit.target from system-install.target
authorLennart Poettering <lennart@amutable.com>
Mon, 11 May 2026 15:17:35 +0000 (17:17 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 11 May 2026 21:34:28 +0000 (22:34 +0100)
Many of our services are nowadays implemented via socket activation, and
hence require sockets.target to be active to be accessible. One of them
is mute-console.socket, which we typically want to use from
systemd-firstboot.service, systemd-sysinstall.service and other related
services. Hence let's pull in basic.target rather than sysinit.target
from system-install.target since it pulls sockets.target in too.

Effectively, this doesn't change much except for pulling in a bunch more
sockets, and frankly going for sysinit.target was really a bug to begin
width.

units/system-install.target

index 660110dcea36ac1fc127650a14a87f6d227bb943..d60f9d8137ee7b6f235703dede95c332fb2e37b6 100644 (file)
@@ -10,6 +10,6 @@
 [Unit]
 Description=System Installer
 Documentation=man:systemd-sysinstall(8)
-Requires=sysinit.target
-After=sysinit.target
+Requires=basic.target
+After=basic.target
 AllowIsolate=yes