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

2015-05-19 Thread Lennart Poettering
On Tue, 19.05.15 20:13, Andrei Borzenkov (arvidj...@gmail.com) wrote: > В Tue, 19 May 2015 14:07:21 +0200 > Lennart Poettering пишет: > > > On Tue, 19.05.15 14:26, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > > > > On Tue, May 19, 2015 at 2:15 PM, Uoti Urpala > > > wrote: > > > > As for

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

2015-05-19 Thread Andrei Borzenkov
В Tue, 19 May 2015 14:07:21 +0200 Lennart Poettering пишет: > On Tue, 19.05.15 14:26, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > > On Tue, May 19, 2015 at 2:15 PM, Uoti Urpala > > wrote: > > > As for Evert's original problem, I think it's that RESTART is propagated > > > to all Required

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

2015-05-19 Thread Lennart Poettering
On Tue, 19.05.15 17:13, Uoti Urpala (uoti.urp...@pp1.inet.fi) wrote: > On Tue, 2015-05-19 at 14:06 +0200, Lennart Poettering wrote: > > On Tue, 19.05.15 14:15, Uoti Urpala (uoti.urp...@pp1.inet.fi) wrote: > > > As for Evert's original problem, I think it's that RESTART is propagated > > > to all R

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

2015-05-19 Thread Lennart Poettering
On Tue, 19.05.15 14:15, Uoti Urpala (uoti.urp...@pp1.inet.fi) wrote: > On Tue, 2015-05-19 at 01:26 +0200, Lennart Poettering wrote: > > On Tue, 19.05.15 00:55, Lennart Poettering (lenn...@poettering.net) wrote: > > > On Thu, 14.05.15 21:23, Evert (evert.gen...@planet.nl) wrote: > > > > According t

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

2015-05-19 Thread Alban Crequy
On Tue, May 19, 2015 at 3:44 PM, Lennart Poettering wrote: > On Tue, 19.05.15 13:08, Alban Crequy (al...@endocode.com) wrote: > >> The commit be7d9ff730cb88d7c6a869dd5c47754c78ceaef2 ("core: introduce >> seperate reverse dependencies for Requires= and Requisite=") >> introduced a regression in rkt

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

2015-05-19 Thread Uoti Urpala
On Tue, 2015-05-19 at 14:06 +0200, Lennart Poettering wrote: > On Tue, 19.05.15 14:15, Uoti Urpala (uoti.urp...@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! Thi

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

2015-05-19 Thread Lennart Poettering
On Tue, 19.05.15 13:08, Alban Crequy (al...@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 term

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

2015-05-19 Thread Lennart Poettering
On Tue, 19.05.15 14:26, Andrei Borzenkov (arvidj...@gmail.com) wrote: > On Tue, May 19, 2015 at 2:15 PM, Uoti Urpala 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 affe

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

2015-05-19 Thread Lennart Poettering
On Tue, 19.05.15 14:15, Uoti Urpala (uoti.urp...@pp1.inet.fi) wrote: > On Tue, 2015-05-19 at 01:26 +0200, Lennart Poettering wrote: > > On Tue, 19.05.15 00:55, Lennart Poettering (lenn...@poettering.net) wrote: > > > On Thu, 14.05.15 21:23, Evert (evert.gen...@planet.nl) wrote: > > > > According t

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

2015-05-19 Thread Andrei Borzenkov
On Tue, May 19, 2015 at 2:15 PM, Uoti Urpala 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

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

2015-05-19 Thread Uoti Urpala
On Tue, 2015-05-19 at 01:26 +0200, Lennart Poettering wrote: > On Tue, 19.05.15 00:55, Lennart Poettering (lenn...@poettering.net) wrote: > > On Thu, 14.05.15 21:23, Evert (evert.gen...@planet.nl) wrote: > > > According to the systemd documentation, Requisite disallows starting a > > > unit unless

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

2015-05-19 Thread Alban Crequy
On Tue, May 19, 2015 at 1:26 AM, Lennart Poettering wrote: > On Tue, 19.05.15 00:55, Lennart Poettering (lenn...@poettering.net) wrote: > >> On Thu, 14.05.15 21:23, Evert (evert.gen...@planet.nl) wrote: >> >> > Hi, >> > >> > According to the systemd documentation, Requisite disallows starting a >>

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

2015-05-18 Thread Lennart Poettering
On Tue, 19.05.15 00:55, Lennart Poettering (lenn...@poettering.net) wrote: > On Thu, 14.05.15 21:23, Evert (evert.gen...@planet.nl) wrote: > > > Hi, > > > > According to the systemd documentation, Requisite disallows starting a > > unit unless the specified unit has been started. This seems to w

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

2015-05-18 Thread Lennart Poettering
On Thu, 14.05.15 21:23, Evert (evert.gen...@planet.nl) wrote: > Hi, > > According to the systemd documentation, Requisite disallows starting a > unit unless the specified unit has been started. This seems to work > fine, however, if the specified unit has been restarted, this unit will > be start

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

2015-05-15 Thread Evert
On 15-05-15 07:05, Andrei Borzenkov wrote: > В Thu, 14 May 2015 21:23:38 +0200 > Evert пишет: > >> Hi, >> >> According to the systemd documentation, Requisite disallows starting a >> unit unless the specified unit has been started. This seems to work >> fine, however, if the specified unit has been

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

2015-05-14 Thread Andrei Borzenkov
В Thu, 14 May 2015 21:23:38 +0200 Evert пишет: > Hi, > > According to the systemd documentation, Requisite disallows starting a > unit unless the specified unit has been started. This seems to work > fine, however, if the specified unit has been restarted, this unit will > be started too! > This

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

2015-05-14 Thread Evert
Hi, According to the systemd documentation, Requisite disallows starting a unit unless the specified unit has been started. This seems to work fine, however, if the specified unit has been restarted, this unit will be started too! This is not what should happen and it doesn't happen with a stop an