[Pkg-sysvinit-devel] Bug#739604: sysvinit: The new skeleton does not work on kFreeBSD
rleigh at codelibre.net
Thu Feb 20 22:54:56 UTC 2014
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 be other scripts.
> Oh. I tested on Linux and Hurd, and did not imagine that kFreeBSD was
> that different from these two. :)
> > If you want to do this kind of thing, you will either need a binary
> > wrapper at least on kFreeBSD, or you'll need to use sourcing.
> Right. Back to the drawing board. :)
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.
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
More information about the Pkg-sysvinit-devel