[systemd-devel] [PATCH 3/4] manager: stop start timeout when sysinit.target is reached

Lennart Poettering mzerqung at 0pointer.de
Mon Oct 27 10:51:08 PDT 2014


On Sat, 25.10.14 21:43, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:

>  
> +        if (result == JOB_DONE && unit_has_name(u, SPECIAL_SYSINIT_TARGET))
> +                manager_cancel_start_timeout(u->manager);
> +

I'd really prefer to hook this up with manager_state(), so that we
don't have to hardcode the target name more than once, and so that we
know that the rescue/emergency mode is properly handled...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list