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

Alban Crequy alban at endocode.com
Tue May 19 07:18:50 PDT 2015


On Tue, May 19, 2015 at 3:44 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Tue, 19.05.15 13:08, Alban Crequy (alban at endocode.com) wrote:
>
>> The commit be7d9ff730cb88d7c6a869dd5c47754c78ceaef2 ("core: introduce
>> seperate reverse dependencies for Requires= and Requisite=")
>> introduced a regression in rkt: the container does not stop anymore
>> when the main service terminates. In my test, grep says we have one
>> unit using a Requisite* option (systemd-update-utmp-runlevel.service).
>> The main unit file uses one "Requires" option":
>
> I have the suspicion that f3b85044c845de03de05135c1dd5f3298bf3e5a2
> might fix your issue, can you check?

Yes, it works now. Thanks!

> (only if you have units that use StopWhenUnneeded=yes, otherwise it's
> a different issue)

Yes, there was a unit with StopWhenUnneeded=yes.

Cheers,
Alban


More information about the systemd-devel mailing list