[systemd-devel] [PATCH 3/4] manager: stop start timeout when sysinit.target is reached
Lennart Poettering
lennart at poettering.net
Mon Oct 27 15:07:46 PDT 2014
On Mon, 27.10.14 20:03, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:
> 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.
I'l look into hacking this up now, I really want to get the release
out of the door now.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list