(SCO Openserver 5.0.5, gcc 2.7.2.3, OpenSSL 0.9.6a) When ssh is run as the following: ssh -f -L 4000:localhost:110 localhost 'sleep 10' is bombs with the following message: select: Invalid argument If the -f is dropped then ssh works fine, however (as expected) it doesn't fork into the background. This is part of testing a secure POP3 link between two SCO Openserver 5.0.5 machines over the Internet. This is a minor bug (if indeed it is a bug) which I can probably work around by mucking around with inetd. Also, problems with open source software on this platform are not unusual!
This seems to be fixed in Openserver 5.0.6. The above command runs as expected. So something has changed between 5.0.5 and 5.0.6 in the way select has been implemented in SCO. The only thing I found, so far, is in patch 5.0.6a for 5.0.6 systems. "As of Release Supplement 506A for OpenServer Release 5.0.6, a subset of APIs that use the kernel clock have been modified to utilize the high-precision clock. These are: select(S) has microsecond precision, adjusted for kernel entry and exit times, time-sharing delays, and so forth." Could this be the change? I traced the error on 5.0.5 to the select statement in the function client_wait_until_can_do_something in file clientloop.c When I get more time, I will look into this further.
thanks, will close at this time.
Mass change of RESOLVED bugs to CLOSED