Bug#739604: sysvinit: The new skeleton does not work on kFreeBSD

2014-02-23 Thread Petter Reinholdtsen
[Roger Leigh] An alternative solution here would be to have a tiny executable which runs the shell, i.e. similar to openrc's runscript. It might be worth looking at the runscript sources. Yes, but I like the fact that the solution do not need to be compiled, and should work on any platform.

Bug#739604: sysvinit: The new skeleton does not work on kFreeBSD

2014-02-20 Thread Gergely Nagy
Source: sysvinit Version: 2.88dsf-50 Severity: serious The change introduced in sysvinit 2.88dsf-50, which turns /etc/init.d/skeleton into a script that has /lib/init/init-d-script as interpreter fails on kFreeBSD, because on that platform, interpreters cannot be other scripts. To demonstrate:

Bug#739604: sysvinit: The new skeleton does not work on kFreeBSD

2014-02-20 Thread Petter Reinholdtsen
[Gergely Nagy] The change introduced in sysvinit 2.88dsf-50, which turns /etc/init.d/skeleton into a script that has /lib/init/init-d-script as interpreter fails on kFreeBSD, because on that platform, interpreters cannot be other scripts. Oh. I tested on Linux and Hurd, and did not imagine

Bug#739604: sysvinit: The new skeleton does not work on kFreeBSD

2014-02-20 Thread Gergely Nagy
Petter Reinholdtsen p...@hungry.com writes: [Gergely Nagy] The change introduced in sysvinit 2.88dsf-50, which turns /etc/init.d/skeleton into a script that has /lib/init/init-d-script as interpreter fails on kFreeBSD, because on that platform, interpreters cannot be other scripts. Oh. I

Bug#739604: sysvinit: The new skeleton does not work on kFreeBSD

2014-02-20 Thread Roger Leigh
On Thu, Feb 20, 2014 at 01:00:45PM +0100, Petter Reinholdtsen wrote: [Gergely Nagy] The change introduced in sysvinit 2.88dsf-50, which turns /etc/init.d/skeleton into a script that has /lib/init/init-d-script as interpreter fails on kFreeBSD, because on that platform, interpreters cannot