On Wed, Apr 30, 2014 at 12:02:22AM -0700, Ben Dibell wrote:

> Hi, I've tried other resources, even reading the source for init, but I
> can't seem to locate the magic that makes /sbin/init the approved init.
> I'm porting my init system Epoch to BSD for personal reasons, and I'd like
> it to work under OpenBSD, which I've been enjoying as of late. I come from
> the linux world where init=/bin/sh is perfectly valid, so some aspects are
> probably simpler in Linux. I am hoping there is a concise and clean
> explanation as to how to write/port an init system to BSD. Is it signal
> trickery? A checksum burned into the kernel? I'm lost. I'm given "init has
> died, signal 0 exit 0" or something nearly identical to this. There are no
> further useful debug messages and my keyboard becomes unresponsive on the
> debugging prompt or the kernel locks up or something, so I can't do more
> there.
> 
> Thanks for your time.
> 
> -Ben

As far as am aware, any executable should do, as long as it is
statically linked.

I grepped for you error message, but could not find it. Please list
the *exact* error you are getting, otherwise we cannot help you.

        -Otto

Reply via email to