Bash 4.2 problem? [message #41893] |
Thu, 24 February 2011 13:07 |
hvdkamer
Messages: 40 Registered: July 2006
|
Member |
|
|
I've compiled and installed the new Bash 4.2 in a container. When I try to get access from the physical server I get:
hoefnix2:~# vzctl enter 50
Indeed, no errors, but also no prompt from the container. When I revert to Bash 4.1 and patchlevel 009 everything works again. From a different console on the physical server or from a SSH login in the virtual server I can see that in the container Bash is started and that there is a pts. However after that point it freezes and a Ctrl-c gives back the prompt on the physical server.
Any suggestions are appreciated...
Henk van de Kamer
auteur Het Lab
http://www.hetlab.tk/
|
|
|
Re: Bash 4.2 problem? [message #41915 is a reply to message #41893] |
Thu, 24 February 2011 14:22 |
hvdkamer
Messages: 40 Registered: July 2006
|
Member |
|
|
I've installed strace to investigate further:
hoefnix2:~# strace vzctl enter 60
...
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b65860859d0) = 29577
close(3) = 0
close(7) = 0
close(9) = 0
close(10) = 0
read(8,
With bash 4.1 patchlevel 009 I get:
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2af2938ab9d0) = 2972
close(3) = 0
close(7) = 0
close(9) = 0
close(10) = 0
read(8, "", 4) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
...
Hope that someone sees the problem and may be even a soultion .
Henk van de Kamer
auteur Het Lab
http://www.hetlab.tk/
|
|
|
|
|
|
|