[systemd-devel] [PATCH 3/4] manager: stop start timeout when sysinit.target is reached
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Mon Oct 27 12:03:02 PDT 2014
On Mon, Oct 27, 2014 at 06:51:08PM +0100, Lennart Poettering wrote:
> 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...
Yeah, I thought about that too, but only after I sent the patch.
Zbyszek
More information about the systemd-devel
mailing list