[Petter Reinholdtsen]
> Why do OpenVZ not provide a working tty to sysvinit/startpar?

I very much welcome someone with OpenVZ knowledge to answer this one,
to know why startpar fail with OpenVZ.

I had a look at the startpar source, I suspect this code in startpar.c
is the failing one:

  if (tcgetattr(0, &tio))
    {
      perror("tcgetattr");
      exit(1);
    }

The tio struct is used by startpar to run this code:

      tio.c_oflag &= ~OPOST;
      if (tcsetattr(1, TCSANOW, &tio))
        perror("tcsetattr");

Not sure what OPOST does.  The manual page states

      OPOST  Enable implementation-defined output processing.

Guess someone need to test what happen if the tcgetattr() and
tcsetattr() calls are removed.  Can you test if parallel booting work
with the two code snippets disabled?

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to