Date: Sun, 20 Jul 2008 20:37:11 +1000 From: Peter Jeremy <peterjeremy@optushome.com.au> To: Unga <unga888@yahoo.com> Cc: freebsd-stable@freebsd.org Subject: Re: Pseudoterminals increase: compilation error Message-ID: <20080720103711.GG24076@server.vk2pj.dyndns.org> In-Reply-To: <545719.90429.qm@web57010.mail.re3.yahoo.com> References: <20080719213056.GE19044@dan.emsphone.com> <545719.90429.qm@web57010.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On 2008-Jul-19 19:44:18 -0700, Unga <unga888@yahoo.com> 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.
>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.
--
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.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
iEYEARECAAYFAkiDFVcACgkQ/opHv/APuIcGfACffJ0DUf9T2hH2hbRKGPpFpseZ
8dUAn06Wzi1eBLqZHLlBpjm108tveh0S
=ViLT
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080720103711.GG24076>
