pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/56936: posix_openpt(O_RDWR | O_NOCTTY) fails when configuring pkgsrc/x11/mlterm



Am Wed, Sep 07, 2022 at 09:35:01PM +0000 schrieb David H. Gutteridge:
>  Inside a sandbox, openpty(3) also doesn't work, as I'd noticed since
>  script(1) fails to work in that context.
>  
>  script: openpty: No such file or directory
>  
>    22686      1 script   CALL  open(0x6fd6ee21228c,2,0)
>    22686      1 script   NAMI  "/dev/ptm"
>    22686      1 script   RET   open 4
>    22686      1 script   CALL  ioctl(4,TIOCPTMGET,0x7f7fffd49b00)
>    22686      1 script   RET   ioctl -1 errno 45 Operation not supported

That means your sandbox is not configured correctly. Do you have
/dev/pts null-mounted in the chroot?

Joerg


Home | Main Index | Thread Index | Old Index