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

Dr. Werner Fink werner at suse.de
Mon Jun 7 14:28:16 UTC 2010


On Fri, Jun 04, 2010 at 10:18:18AM +0200, Petter Reinholdtsen wrote:
> Hi, Werner.  Not sure where to send startpar issues, so I try here as
> I know I can reach you here. :)
> 
> I proposed a patch for <URL: http://bugs.debian.org/584102 >, basicly
> allowing startpar to continue even when tcgetattr(0, &tio) by running
> scripts sequencially.  Can you have a look at let me know if it make
> sense.  This issue is also reported as
> <URL: http://savannah.nongnu.org/bugs/?30034 >.
> 
> Btw, why do startpar need stdin to be a tty?

That is a guess but nevertheless the attributes are used
to set them also to the pty/tty pairs used for parallel
boot.  As stdout of startpar can be used for a shell
script parser (without option -M) the stdio was guessed
to be a real tty.


      Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr





More information about the Pkg-sysvinit-devel mailing list