Bug 50405


GemStone/S 64 Bit

3.7.1, 3.7

Symlink to GemStone's sys directory disllowed; RPC logins fail

When the NetLDI forks a Gem during login, it compares the resolved path of the gem executable to the expected path $GEMSTONE/sys, to avoid unexpected behavior if symbolic links have changed since the NetLDI was started.

If the directory $GEMSTONE/sys is a symbolic link, rather than a directory within the GemStone distribution directory, this check fails in gemnetobject during an RPC login (linked logins do work). The login error does not have details (for security), but a gem log is created with the mismatch error details.

login error:

Error Category: 231169 [GemStone] Number: 4042 ssl call to netldi failed, ; socket read EOF; socket read EOF Arg Count: 0 Context : 20 exception : 20

It is not supported for the sys directory to be symbolically linked.


Last updated: 9/15/23