This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: pty problems under glibc 2.0.98


> 
> Hello,
>    On linuxppc running Linux 2.1.125 built with egcs 1.1b
> and glibc 2.0.98, I am seeing an interesting problem that
> I think should be checked on other platforms running
> glibc 2.0.98. If I build tcltk 8.0.3 (probably any 8.0.x
> will do) and execute the make check in the expect build
> directory I get an interesting error about no free ptys.
> One can also create the error from within the tests directory
> for the expect source code by executing expect and then
> at the expect prompt typing 
> 
> expect1.4> source all
> 
> The result is as follows...
> 
> cat.test
> 
> 
> ==== cat-1.1 basic cat operation
> ==== Contents of test case:
> 
>         exp_spawn cat -u
>         exp_send "\r"
>         set timeout 10
>         expect \r {set x 1} timeout {set x 0}
>         exp_close
>         exp_wait
>         set x
> 
> ==== Test generated error:
> The system has no more ptys.  Ask your system administrator to create more.
> expect.test
> The system has no more ptys.  Ask your system administrator to create more.

Please make sure you see

# ls -l /usr/libexec/pt_chown
-rwsr-xr-x   1 root     root        33738 Oct 21 21:35 /usr/libexec/pt_chown
^^^^^^^^^^^^^^^^^^^^^^^^^^^


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]