[Pkg-sysvinit-devel] Bug#584102: startpar: Fail if fd 0 is strange tty

Petter Reinholdtsen pere at hungry.com
Mon Jun 7 17:48:08 UTC 2010


[Dr. Werner Fink]
> Hmmm ... stderr maybe, something like

I do not know, but suspect stderr is a pipe too.  Is a tty required to
run scripts in parallel?  Lets keep this discussion CCed to the BTS
(584102 at bugs.debian.org).

> Btw: I've lost your mail

Bounced it to you.

> Beside any startpar it could be an option to use a directory based
> boot scheme as insserv aloready uses a tsort which can be mapped on
> `directory' based sorting scheme.  Could work simliar like the
> process_path() routine of simpleinit ;)

upstart is getting support for handling init.d scripts natively, so
that will be an alternative too.

Would be nice to get startpar to start rcS.d/ and rc2.d/ at once, to
maximize concurrency, as Debian uses init.d scripts also for the early
boot.  Also, would be nice to get dynamic resolution of $remote_fs, to
let it be equal to $local_fs if no networked file systems are listed
in /etc/fstab. :) Not sure how hard that would be.  Lets continue this
part of the discussion without CC-ing the BTS.

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list