Re: init.d script not using !/bin/sh

2014-02-10 Thread Jonathan Dowland
On 09/02/2014 13:14, Thomas Goirand wrote: Is it too late to fix this as a release goal, so that we get every init script to use /bin/sh? Whether this is worth the effort or not (and not just *your* effort, the effort of maintainers of packages with init scripts, even if just to review and

Re: init.d script not using !/bin/sh

2014-02-10 Thread Simon McVittie
On 10/02/14 14:55, Jonathan Dowland wrote: On 09/02/2014 13:14, Thomas Goirand wrote: Is it too late to fix this as a release goal, so that we get every init script to use /bin/sh? Whether this is worth the effort or not (and not just *your* effort, the effort of maintainers of packages with

init.d script not using !/bin/sh

2014-02-09 Thread Thomas Goirand
Hi, While we can discuss during literally *years* about which init system to use, I think it's more productive to try to improve what we have in packages, so I'd like to talk about that. One thing that bothers me is that some of our sysv-rc init.d scripts aren't using /bin/sh as interpreter.

Re: init.d script not using !/bin/sh

2014-02-09 Thread Petter Reinholdtsen
[Thomas Goirand] If possible, I'd like to make a survey of what kind of interpreter packages are using for /etc/init.d scripts. How can I do that? Note that this would make OpenRC maintainer's life more easy, and avoid ugly hacks. You can find all init.d scripts unpacked on

Re: init.d script not using !/bin/sh

2014-02-09 Thread Javier Barroso
On Sun, Feb 9, 2014 at 3:47 PM, Petter Reinholdtsen p...@hungry.com wrote: [Thomas Goirand] If possible, I'd like to make a survey of what kind of interpreter packages are using for /etc/init.d scripts. How can I do that? Note that this would make OpenRC maintainer's life more easy, and avoid

Re: init.d script not using !/bin/sh

2014-02-09 Thread Clint Byrum
Excerpts from Thomas Goirand's message of 2014-02-09 05:14:17 -0800: Hi, While we can discuss during literally *years* about which init system to use, I think it's more productive to try to improve what we have in packages, so I'd like to talk about that. One thing that bothers me is that

Re: init.d script not using !/bin/sh

2014-02-09 Thread Thomas Goirand
On 02/09/2014 11:22 PM, Clint Byrum wrote: Excerpts from Thomas Goirand's message of 2014-02-09 05:14:17 -0800: Hi, While we can discuss during literally *years* about which init system to use, I think it's more productive to try to improve what we have in packages, so I'd like to talk about

Re: init.d script not using !/bin/sh

2014-02-09 Thread Adrian Bunk
On Sun, Feb 09, 2014 at 09:14:17PM +0800, Thomas Goirand wrote: Hi, Hi Thomas, ... If possible, I'd like to make a survey of what kind of interpreter packages are using for /etc/init.d scripts. How can I do that? Note that this would make OpenRC maintainer's life more easy, and avoid ugly

Re: init.d script not using !/bin/sh

2014-02-09 Thread Clint Byrum
Excerpts from Thomas Goirand's message of 2014-02-09 09:19:55 -0800: On 02/09/2014 11:22 PM, Clint Byrum wrote: Excerpts from Thomas Goirand's message of 2014-02-09 05:14:17 -0800: Hi, While we can discuss during literally *years* about which init system to use, I think it's more

Re: init.d script not using !/bin/sh

2014-02-09 Thread Marco d'Itri
On Feb 09, Clint Byrum spam...@debian.org wrote: That's it... So that's a typical case where it should be possible to fix things, and get rid of bash. Is that really an important goal to spend our time on? No. It has never been a goal, there is nothing to fix here. -- ciao, Marco