Problem
An attempt to lock a file using lockf(S) fails on the first attempt to a file on a newly mounted filesystem. The errno value returned by the lockf(S) call is ENOLINK.
Cause
There is a fault in the NFS Runtime component of these products:
SCO OpenServer Desktop System Release 5.0.0, 5.0.2 SCO OpenServer Enterprise System Release 5.0.0, 5.0.2 SCO Internet FastStart Release 1.0.0
This results in an incorrect return value for the first lockf(S) call against any file on a newly NFS mounted filesystem.
Solution
This problem has been reported to SCO Engineering and is scheduled to be addressed in a future release of SCO OpenServer 5.