Skip to content
Snippets Groups Projects
Commit 29f704fb authored by Giuseppe Lo Presti's avatar Giuseppe Lo Presti
Browse files

Fixed Oracle workaround to use non-devel libraries

parent a30178f8
Branches
Tags
No related merge requests found
# Arguments for the nsd
# -f remain in the foreground
# -c <path> configuration file
# -l <logfile> the path to the name server log file
# -r start in read-only mode
# -t <nbthreads> the number of server threads
# -s enable security
# -n <nshostname> the name of the nshostname used in log files
#
# Options to pass to the ns daemon
NSD_OPTIONS=-s
# Should we run with another limit on the core file size than the default?
#DAEMON_COREFILE_LIMIT=unlimited
# This is required to avoid a clash of symbols with the ORACLE 11 libraries, that is redefining
# symbols of these 5 libraries in an incompatible way, making kerberos unusable.
# This set is the minimum set of libraries to be preloaded. An alternative is to
# recompile nsd with an explicit dependencies on these libraries (and putting these
# libraries before the oracle one in the link statement).
# However, we hope to have a fixed oracle library in the future, thus we using the preloading trick
export LD_PRELOAD=libgssapi.so.2:libgssapi_krb5.so:libkrb5.so:libkrb5support.so:libcom_err.so
# disable kerberos replay cache for performance reasons
# the security risk is acceptable
export KRB5RCACHETYPE=none
#workaround for ORACLE11g shipping own GSSAPI
export LD_PRELOAD=libgssapi.so.2:libgssapi_krb5.so.2:libkrb5.so.3:libkrb5support.so.0:libcom_err.so.2
DAEMON_COREFILE_LIMIT=unlimited
NSD_OPTIONS="-s -t 15"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment