Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] static init fails

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] static init fails
  • Date: Mon, 8 Oct 2007 18:44:49 +0200

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
> /dev
>
> > (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
> possible...

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
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page