ndsd process shows with // in the process path when started with rcndsd

  • 7010087
  • 31-Jan-2012
  • 26-Apr-2012

Environment


Novell eDirectory 8.8 for Linux

Situation

When ndsd is started with rcndsd start, the process shows with // in the path of the process.

EXAMPLE:
#ps -eaf | grep ndsd
 root   7188    1    0      16:49     ?        00:00:00           //opt/novell/eDirectory/sbin/ndsd

A customer's process management utility didn't recognize the process is the same whether started with either rcndsd start or /etc/init.d/ndsd.


Resolution

The /etc/init.d/ndsd script can be modified so that the // when started with rcndsd doesn't occur.

Modify the /etc/init.d/ndsd script and make the following change:

Change:
NDSHOME=`echo $dir | $AWK -F"/etc" '{print $1}'`
basenam=`basename $0`
if [ "$basenam" = "rcndsd"]
then
NDSHOME="/"
fi

TO:

NDSHOME=`echo $dir | $AWK -F"/etc" '{print $1}'`
basenam=`basename $0`
if [ "$basenam" = "rcndsd"]
then
NDSHOME=""
fi


NOTE: Now NDSHOME="" instead of NDSHOME="/"

Status

Reported to Engineering