From owner-freebsd-stable@FreeBSD.ORG Sun Jul 20 13:41:52 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF056106567F for ; Sun, 20 Jul 2008 13:41:52 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57011.mail.re3.yahoo.com (web57011.mail.re3.yahoo.com [66.196.97.115]) by mx1.freebsd.org (Postfix) with SMTP id 87EB68FC13 for ; Sun, 20 Jul 2008 13:41:52 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 88676 invoked by uid 60001); 20 Jul 2008 13:41:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=vj56egLmT7GN9zg5unMoKKzIVuS/B80+rRmz5N9+SvTnf3ypubWhTyANcL05KG7bnuWcqvnTxHKDXISelb4Qyx+9Ae/fWmjpsPyej4DDX+pj/+pcm75hiB21xur6M6Yp0OO36p4M4b+LE3cr28iXyf+lfWoZwSSQH29b6bu03Vo=; Received: from [165.21.155.75] by web57011.mail.re3.yahoo.com via HTTP; Sun, 20 Jul 2008 06:41:51 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Sun, 20 Jul 2008 06:41:51 -0700 (PDT) From: Unga To: Peter Jeremy In-Reply-To: <20080720103711.GG24076@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <490974.88404.qm@web57011.mail.re3.yahoo.com> Cc: freebsd-stable@freebsd.org Subject: Re: Pseudoterminals increase: compilation error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: unga888@yahoo.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2008 13:41:53 -0000 --- On Sun, 7/20/08, Peter Jeremy wrote: > From: Peter Jeremy > Subject: Re: Pseudoterminals increase: compilation error > To: "Unga" > Cc: freebsd-stable@freebsd.org > Date: Sunday, July 20, 2008, 6:37 PM > On 2008-Jul-19 19:44:18 -0700, Unga > wrote: > >truss -o truss.log -f expect -c "spawn ls" > > > > 1178: open("/dev/ptyp0",O_RDWR,027757763030) > ERR#5 'Input/output error' > > 1178: open("/dev/ptyp1",O_RDWR,027757763030) > ERR#5 'Input/output error' > > 1178: open("/dev/ptyp2",O_RDWR,027757763030) > = 5 (0x5) > > 1178: fstat(5,{mode=crw-rw-rw- > ,inode=178,size=0,blksize=4096}) = 0 (0x0) > > : > > : > > 1178: chown("/dev/ttyp2",1002,4) > ERR#1 'Operation not permitted' > > This is definitely wrong. expect should not be calling > chown(2), > it should be calling pt_chown. > Hmm...that's a good point. I'll check that. > >I'm using Expect-5.43.0 compiled from sources. > > > >So, it looks like some sort of a misconfiguration. > Still investigating. > > Have you built the FreeBSD port or used your own build > configuration? > If the latter, I suggest you build the port - it works for > me. > Yes, I build my own build configuration. Anyway, I'll check what are the patches applied by the FreeBSD port. Unga