[systemd-devel] rc-local.service and its future in systemd?
Lennart Poettering
lennart at poettering.net
Mon Apr 24 11:16:26 UTC 2023
On Mo, 24.04.23 13:01, Aki Ketolainen (akik at mykolab.com) wrote:
> I tried to set After=systemd-update-utmp-runlevel.service but I got some
> cyclic dependency problem. Would you know how to do that?
s-u-u-r.s is a legacy service that will update utmp *after* all
services that constitute a sysv runlevel-lookalike have started. If
you order rc-local.service after that then you create a cyclic
dependency, because it would mean s-u-u-r.s is both before *and* after
rc-local.service and that cannot be.
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list