[SM-Discuss] static init fails
Arwed von Merkatz
v.merkatz at gmx.net
Mon Oct 8 12:44:49 EDT 2007
On Fri, Oct 05, 2007 at 05:16:34PM +0200, Andraž 'ruskie' Levstik wrote:
> On 14:59:18 2007-10-05 Jens Laas <jens.laas at data.slu.se> wrote:
> > I've been having trouble booting with udev for some time now and I've
> > finally isolated what makes it break.
> > Apparently simpleinit fails to reopen filedescriptors when compiled
> > statically.
> > This is anyway my initial finding.
> > Anyone else compiling simpleinit static have the same problem or not?
> I use static init and it works... but then I don't use udev...
> > Incase there is something else with my setup that is triggered by the
> > static init.
> > If I comment out the mounting of ramfs and the signalling of init the
> > boot works (of course it complains a bit about stuff that already
> > exists in /dev).
> Only udev install I have does not use ramfs for udev but a reduced static
> > (BTW simpleinit should use the abstract local namespace. This is not
> > mapped to a file.)
> It's unmaitaned by upstream... and we are looking at expanding what inits
> are supported... At some point we would like to support as many as
It is indeed unmaintained, but we already added a handful of things,
like the mentioned reopening of file descriptors, so if you have
suggestions how to make that more robust, they are welcome (preferrably
in code form ;)
Arwed v. Merkatz Source Mage GNU/Linux developer
More information about the SM-Discuss