Re: [systemd-devel] [PATCH] Fix assertions while disabling unexisting target units

2013-07-15 Thread Lennart Poettering
On Mon, 15.07.13 05:00, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: # systemctl enable kmsconvt@tty5.service ln -s '/etc/systemd/system/kmsconvt@.service' '/etc/systemd/system/getty.target.wants/kmsconvt@tty5.service' # systemctl disable kmsconvt@tty5.service rm

[systemd-devel] [PATCH] Fix assertions while disabling unexisting target units

2013-07-14 Thread Oleksii Shevchuk
--- src/shared/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/install.c b/src/shared/install.c index 1161068..c1a5ce0 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -1414,7 +1414,7 @@ static int install_context_mark_for_removal(

Re: [systemd-devel] [PATCH] Fix assertions while disabling unexisting target units

2013-07-14 Thread Zbigniew Jędrzejewski-Szmek
Can you be a bit more explicit, how was this condition triggered? Zbyszek On Sun, Jul 14, 2013 at 01:45:17PM +0300, Oleksii Shevchuk wrote: --- src/shared/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/install.c b/src/shared/install.c index

Re: [systemd-devel] [PATCH] Fix assertions while disabling unexisting target units

2013-07-14 Thread Oleksii Shevchuk
Can you be a bit more explicit, how was this condition triggered? 1. enable templated target (blahbah@something.target) 2. make mistake and disable that as service (systemctl disable blahbah@something) 3. enjoy SIGABRT ___ systemd-devel mailing

Re: [systemd-devel] [PATCH] Fix assertions while disabling unexisting target units

2013-07-14 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Jul 14, 2013 at 05:03:29PM +0300, Oleksii Shevchuk wrote: Can you be a bit more explicit, how was this condition triggered? 1. enable templated target (blahbah@something.target) 2. make mistake and disable that as service (systemctl disable blahbah@something) 3. enjoy SIGABRT So