Bug 46749

Informational

GemConnect

2.4, 2.3

Linux only

Using Linux CAP_SYS_RESOURCE causes loading GemConnect liboraapi library to hang

When a topaz/gem process on Linux has the CAP_SYS_RESOURCE privilege set as per the GS/64 Linux Installation Guide, attempts to load the GemConnect liboraapi library will hang. Attempts to view the C stack via either gdb or kill -USR1 for diagnosis will fail with the error:

ptrace: Operation not permitted.


The use of the CAP_SYS_RESOURCE privilege causes the Linux dynamic library loader to ignore the $LD_LIBRARY_PATH used by Oracle to locate the Oracle libraries, resulting in the hang.

Workaround

Copy the Oracle libraries to a directory in the system search path, such as /usr/lib.


Last updated: 5/23/17