Bug#584102: OpenVZ vzctl enter dying with: Unable to open pty: No such file or directory; problem with tcgetattr() and startpar

2010-06-04 Thread Petter Reinholdtsen
I had a closer look at the source, and suspect a patch like this might solve it, by running all scripts sequencially if the tty is strange. Index: startpar.c === --- startpar.c (revision 1898) +++ startpar.c (working copy) @@

Bug#583562: Bug#584102: OpenVZ vzctl enter dying with: Unable to open pty: No such file or directory; problem with tcgetattr() and startpar

2010-06-04 Thread Petter Reinholdtsen
severity 584102 serious severity 583562 serious forcemerge 584102 583562 found 584102 2.88dsf-5 found 584102 2.86.ds1-61 thanks I believe this issue is RC and severity serious, but not critical, as a workaround is known (disable parallel booting). It should definitely be fixed before Squeeze is

Bug#584102: OpenVZ vzctl enter dying with: Unable to open pty: No such file or directory; problem with tcgetattr() and startpar

2010-06-04 Thread Bartosz Pierzchala
stty -a doesn't output anything when it's being launched via init scripts at boot time. It exits with exit code 1. The system boots properly with startpar enabled when call to tcgetattr() isn't a fatal error - as I've written before. Peter, perhaps we could briefly describe the variable in your

Bug#584102: OpenVZ vzctl enter dying with: Unable to open pty: No such file or directory; problem with tcgetattr() and startpar

2010-06-04 Thread Petter Reinholdtsen
[Bartosz Pierzchala] stty -a doesn't output anything when it's being launched via init scripts at boot time. It exits with exit code 1. Right. So no tty available. :) The system boots properly with startpar enabled when call to tcgetattr() isn't a fatal error - as I've written before. I

Bug#584102: OpenVZ vzctl enter dying with: Unable to open pty: No such file or directory; problem with tcgetattr() and startpar

2010-06-03 Thread Petter Reinholdtsen
[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

Bug#584102: OpenVZ vzctl enter dying with: Unable to open pty: No such file or directory; problem with tcgetattr() and startpar

2010-06-02 Thread Petter Reinholdtsen
[Bartosz Pierzchala] There's also one note that adding: CONCURRENCY=none to /etc/default/rcS makes the system boot properly. This indicate that the problem is with startpar, and not with sysvinit as such. Perhaps it should be changed to run sequencially if the tty is broken? Patches

Bug#584102: OpenVZ vzctl enter dying with: Unable to open pty: No such file or directory; problem with tcgetattr() and startpar

2010-06-01 Thread Bartosz Pierzchala
Package: sysvinit Version: 2.88dsf-5 After debootstraping testing/squeeze there's a problem when trying to start it under OpenVZ. init starts but the rc scripts fail to properly setup environment (run scripts from runlevel S and runlevel 2). OpenVZ's vzctl enter VEID dies with the following error