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: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc: agc%NetBSD.org@localhost
Subject: Re: pkg/56936: posix_openpt(O_RDWR | O_NOCTTY) fails when
 configuring pkgsrc/x11/mlterm
Date: Thu, 8 Sep 2022 07:17:21 +0200

 On Thu, Sep 08, 2022 at 12:55:33AM +0200, Joerg Sonnenberger wrote:
 > 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?
 
 If that's a requirement, pkgtools/mksandbox should learn about it -
 AFAICT it doesn't handle this.
  Thomas
 


Home | Main Index | Thread Index | Old Index