7018366: ‘ndsconfig new’ results in segmentation fault on RHES 7.2 and SLES 12 SP2

This document (7018366) is provided subject to the disclaimer at the end of this document.

Environment

NetIQ eDirectory 9.0.2

SUSE Linux Enterprise Server 12 Support Pack 2

Red Hat RHES 7.2

Situation

An eDirectory installation is being attempted on a SLES12 SP2 server. Whenever ndsconfig is run to install the server into the tree a segmentation fault occurs.

labserver11:/tmp/902/eDirectory/setup # ndsconfig new

Segmentation fault (core dumped)

This appears to only happen on the latest Intel E7v3 processors and is not seen on E3 or E5 processors or E7 processors that do not have TSX enabled in their microcode.

Resolution

This bug has been fixed with NICI 3.0.2 of eDirectory 9.0.3. If an immediate update is not possible, the following workaround avoids the crash:

  1. Open /etc/ld.so.conf in an editor.
  2. Add the following as the first line:

    /lib64/noelision
  3. Save the file and re-run ndsconfig. The utility should run normally.

Cause

This issue became apparent due to a change in glibc between SLES 11 and SLES 12. The new glibc now uses Hardware Lock Elision (HLE) in libpthread if the processor supports it. HLE, being part of the TSX processor feature set, is a functionality of certain Intel processors that attempts to deal with thread lock contention at the hardware level. The new glibc locking implementation terminates a program that is using unsafe unlock operations, such as unlocking a mutex that has already been unlocked.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented “AS IS” WITHOUT WARRANTY OF ANY KIND.

Related:

Leave a Reply