Bug#768456: Version 3 including ansgar's and pitti's feedback

2015-01-08 Thread Martin Pitt
Control: tag -1 pending Hey Didier, Didier Roche [2014-11-12 11:50 +0100]: > done, deb-systemd-invoke now returns latest unit error code it may found > (and print which one(s) in STDERR). > > I added as well, as ansgar's suggested that we don't start static units (not > being able to find as wel

Processed: Re: Bug#768456: Version 3 including ansgar's and pitti's feedback

2015-01-08 Thread Debian Bug Tracking System
Processing control commands: > tag -1 pending Bug #768456 [init-system-helpers] init-system-helpers: deb-system-invoke starts disabled systemd service on package upgrade Added tag(s) pending. -- 768456: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768456 Debian Bug Tracking System Contact o

Bug#768456: Version 3 including ansgar's and pitti's feedback

2014-11-12 Thread Didier Roche
Le 10/11/2014 07:04, Martin Pitt a écrit : Hey Martin, The downside is that we loose the return code, indeed (we could concatenate it if needed). Yes, I think it should save the return code if it's != 0 and return that. I. e. the script will fail if processing any unit fails. done, deb-system

Bug#768456: Version 3 including ansgar's and pitti's feedback

2014-11-09 Thread Martin Pitt
Hey Didier, Didier Roche [2014-11-07 17:16 +0100]: > The only suggestion I couldn't integrate is Martin's system vs exec one. I > had to change keep it as system() call as we are evaluating one unit after > another as the scripts can accepts multiple units Oh, of course, it's a loop. > The downs

Bug#768456: Version 3 including ansgar's and pitti's feedback

2014-11-07 Thread Didier Roche
Here is the v3 of the patch, which includes ansgar's and pitti's feedback. Thanks to them! The only suggestion I couldn't integrate is Martin's system vs exec one. I had to change keep it as system() call as we are evaluating one unit after another as the scripts can accepts multiple units, an