Re: [systemd-devel] [PATCH] core: get rid the start job when transitioning to deactivating

2013-09-13 Thread Michal Sekletar
On Thu, Sep 12, 2013 at 06:51:49PM +0200, Lennart Poettering wrote: > On Fri, 19.07.13 09:17, Lukáš Nykrýn (lnyk...@redhat.com) wrote: > > > Hi, > > when service has StopWhenUnneeded=yes and it is requested by forking > > service, which fails during initialization, the first unit is not > > stoppe

Re: [systemd-devel] [PATCH] core: get rid the start job when transitioning to deactivating

2013-09-12 Thread Lennart Poettering
On Fri, 19.07.13 09:17, Lukáš Nykrýn (lnyk...@redhat.com) wrote: > Hi, > when service has StopWhenUnneeded=yes and it is requested by forking > service, which fails during initialization, the first unit is not > stopped. I have added this to the TODO list for now, so that we don't forget. I'll lo

Re: [systemd-devel] [PATCH] core: get rid the start job when transitioning to deactivating

2013-07-19 Thread Lukáš Nykrýn
Dne 18.7.2013 20:02, Lennart Poettering napsal(a): On Thu, 18.07.13 17:04, Michal Sekletar (msekl...@redhat.com) wrote: When dependency unit is configured with StopWhenUnneeded=yes and activation of main unit fails, e.g. start timeout occurs, then dependencies are never stopped. This happens b

Re: [systemd-devel] [PATCH] core: get rid the start job when transitioning to deactivating

2013-07-18 Thread Lennart Poettering
On Thu, 18.07.13 17:04, Michal Sekletar (msekl...@redhat.com) wrote: > When dependency unit is configured with StopWhenUnneeded=yes and > activation of main unit fails, e.g. start timeout occurs, then > dependencies are never stopped. This happens because start job for > the main unit is still ar

[systemd-devel] [PATCH] core: get rid the start job when transitioning to deactivating

2013-07-18 Thread Michal Sekletar
When dependency unit is configured with StopWhenUnneeded=yes and activation of main unit fails, e.g. start timeout occurs, then dependencies are never stopped. This happens because start job for the main unit is still around. --- src/core/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(