Applies to: All versions of DirectAudit on Redhat 5 and HP-UX 11.00
With Centrify DirectAudit installed and enabled, the gdb/wdb debugger tool is unable to execute the application user is debugging, instead it reports “Unable to read the dynamic library list”. The debugger works fine when DirectAudit is disabled. However, on Redhat 5.0 this error is not seen, but instead user is unable to set breakpoints.
gdb starts the process via the user's SHELL variable. For example, if the user's shell is: SHELL=/bin/bash, then gdb runs: /bin/bash -c <command gdb ran with>
When Centrify DirectAudit is enabled, DirectAudit is executed instead of bash and it in turn then executes bash, which then executes the command itself. It is this double execute which separates the process from gdb's control and prevents proper operation.
Edit the value of $SHELL to an unaudited shell (i.e. instead of /bin/bash, use /bin/bash.daudit) before running gdb. An alias or wrapper script can be used to automate this process.
$ SHELL=/bin/bash.daudit gdb ./myapp