Call for testing: OpenSSH-5.9
Darren Tucker
dtucker at zip.com.au
Mon Aug 29 14:18:11 EST 2011
On Wed, Aug 17, 2011 at 11:08 PM, Morty Abzug <morty at frakir.org> wrote:
[...]
> On Solaris 10, same failure:
>
> run test connect.sh ...
> ok simple connect
> run test proxy-connect.sh ...
> ok proxy connect
> run test connect-privsep.sh ...
> Write failed: Broken pipe
> ssh privsep/sandbox+proxyconnect protocol 1 failed
> Write failed: Broken pipe
> ssh privsep/sandbox+proxyconnect protocol 2 failed
> failed proxy connect with privsep
> make[1]: *** [t-exec] Error 1
> make[1]: Leaving directory `/export/home/morty/src/openssh/regress'
> make: *** [tests] Error 2
I trussed an sshd (on Solaris 10 x86) and the failure seems to be polling FDs:
sudo truss -f `pwd`/sshd -D -e -p 2022 -o useprivilegeseparation=sandbox
[...]
1788: write(5, "\0\003\f\n1414 ND4 % 5 [".., 784) = 784
21788: pollsys(0x080457C0, 1, 0x00000000, 0x00000000) Err#22 EINVAL
21788: read(5, "\0\002AC\n14A8F8B912 D".., 8192) = 688
21788: pollsys(0x080456F0, 1, 0x00000000, 0x00000000) Err#22 EINVAL
21788: read(5, 0x080457C0, 8192) Err#11 EAGAIN
21788: write(9, "\0\0\0 A\0\0\001\0\0\0 9".., 69) = 69
I'm wondering if pollsys uses a descriptor under the covers (eg for
/dev/poll). Not sure what can be done about it though.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list