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



The following reply was made to PR pkg/56936; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost,
	rokuyama.rk%gmail.com@localhost
Subject: Re: pkg/56936: posix_openpt(O_RDWR | O_NOCTTY) fails when
 configuring pkgsrc/x11/mlterm
Date: Thu, 8 Sep 2022 00:55:33 +0200

 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