[systemd-devel] systemd-218 - Requisite implies TriggeredByRestartOf

Lennart Poettering lennart at poettering.net
Tue May 19 05:07:21 PDT 2015


On Tue, 19.05.15 14:26, Andrei Borzenkov (arvidjaar at gmail.com) wrote:

> On Tue, May 19, 2015 at 2:15 PM, Uoti Urpala <uoti.urpala at pp1.inet.fi> wrote:
> > As for Evert's original problem, I think it's that RESTART is propagated
> > to all RequiredBy units unconditionally - even if those are currently
> > stopped! This affects both Requires= and Requisite= in exactly the same
> > way.
> 
> Exactly. At least I do not see anything obvious in code that would
> check whether dependent units are running or not. And try-restart is
> pure forntend option which is not propagated to systemd manager
> itself.

Hmm? We do have JOB_TRY_RESTART while putting together the
transaction... What do you mean?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list