From owner-freebsd-stable@FreeBSD.ORG Sun Jul 20 10:37:15 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 8FB441065711 for ; Sun, 20 Jul 2008 10:37:15 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail36.syd.optusnet.com.au (mail36.syd.optusnet.com.au [211.29.133.76]) by mx1.freebsd.org (Postfix) with ESMTP id 20CFF8FC13 for ; Sun, 20 Jul 2008 10:37:14 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail36.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m6KAbCf8008714 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 Jul 2008 20:37:13 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.2) with ESMTP id m6KAbCnT082814; Sun, 20 Jul 2008 20:37:12 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m6KAbBfs082813; Sun, 20 Jul 2008 20:37:12 +1000 (EST) (envelope-from peter) Date: Sun, 20 Jul 2008 20:37:11 +1000 From: Peter Jeremy To: Unga Message-ID: <20080720103711.GG24076@server.vk2pj.dyndns.org> References: <20080719213056.GE19044@dan.emsphone.com> <545719.90429.qm@web57010.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: <545719.90429.qm@web57010.mail.re3.yahoo.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) 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 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 10:37:15 -0000 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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) =3D 5 (0x5) > 1178: fstat(5,{mode=3Dcrw-rw-rw- ,inode=3D178,size=3D0,blksize=3D4096}) = =3D 0 (0x0) > : > : > 1178: chown("/dev/ttyp2",1002,4) ERR#1 'Operation not perm= itted' This is definitely wrong. expect should not be calling chown(2), it should be calling pt_chown. >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. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkiDFVcACgkQ/opHv/APuIcGfACffJ0DUf9T2hH2hbRKGPpFpseZ 8dUAn06Wzi1eBLqZHLlBpjm108tveh0S =ViLT -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR--