Bug#661109: lsb: Please include helper function for init scripts on upstart-based systems

2012-05-02 Thread Steve Langasek
On Tue, May 01, 2012 at 09:45:44AM +0200, Didier 'OdyX' Raboud wrote: Le 01.05.2012 07:42, Steve Langasek a écrit : My opinion is that this is best done in the single /lib/lsb/init-functions file. The filename is an interface defined in the LSB, but there's nothing in the LSB that says

Bug#661109: lsb: Please include helper function for init scripts on upstart-based systems

2012-05-02 Thread Didier 'OdyX' Raboud
Le 02.05.2012 08:55, Steve Langasek a écrit : BTW, I'm sorry to say I've just noticed the patch I sent has a bug; the output of 'which initctl' should be suppressed, otherwise each init script using this function will output /sbin/initctl which we don't want. So the line should be: if

Bug#661109: lsb: Please include helper function for init scripts on upstart-based systems

2012-05-02 Thread Steve Langasek
On Wed, May 02, 2012 at 09:35:34AM +0200, Didier 'OdyX' Raboud wrote: Le 02.05.2012 08:55, Steve Langasek a écrit : BTW, I'm sorry to say I've just noticed the patch I sent has a bug; the output of 'which initctl' should be suppressed, otherwise each init script using this function will

Bug#661109: lsb: Please include helper function for init scripts on upstart-based systems

2012-05-01 Thread Didier 'OdyX' Raboud
tags 661109 -moreinfo +pending thanks Le 01.05.2012 07:42, Steve Langasek a écrit : My opinion is that this is best done in the single /lib/lsb/init-functions file. The filename is an interface defined in the LSB, but there's nothing in the LSB that says this interface can't provide

Bug#661109: lsb: Please include helper function for init scripts on upstart-based systems

2012-04-30 Thread Steve Langasek
Hi Didier, On Fri, Mar 02, 2012 at 06:39:07PM +0100, Didier 'OdyX' Raboud wrote: I'm proposing this change in support of bug #591791, a bug against debian-policy which aims to come up with coherent rules about the inclusion of native upstart jobs in Debian. This is not a very high-level

Bug#661109: lsb: Please include helper function for init scripts on upstart-based systems

2012-03-02 Thread Didier 'OdyX' Raboud
Hi Steve, and thanks for your bugreport, Le 24.02.2012 10:05, Steve Langasek a écrit : Please find attached a patch for lsb that adds a new helper function to /lib/lsb/init-functions to support maintainer scripts that should behave as no-ops because the package is upstart-aware and upstart is

Bug#661109: lsb: Please include helper function for init scripts on upstart-based systems

2012-02-24 Thread Steve Langasek
Package: lsb Version: 3.2-28.1 Severity: wishlist Hi there, Please find attached a patch for lsb that adds a new helper function to /lib/lsb/init-functions to support maintainer scripts that should behave as no-ops because the package is upstart-aware and upstart is in use. I'm proposing this

Bug#661109: lsb: Please include helper function for init scripts on upstart-based systems

2012-02-24 Thread Steve Langasek
tags 661109 patch thanks Whoops, sorry, forgot the patch. Here it is! -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer