Environment
Novell ZENworks 7.2 Linux Management - ZLM7.2
Novell ZENworks 7.3 Linux Management - ZLM7.3
Novell eDirectory 8.7.3.9 for Linux
Situation
eDirectory fails to upgrade successfully when migrating from ZLM 7.2.2 to 7.3
This error is in the zlm-config.log:
Executing command: rpm -e novell-zenworks-edir novell-zenworks-datautils novell-ntls NDSbase NDScommon NDSimon NDSmasv NDSrepair NDSserv NLDAPbase NLDAPsdk NOVLembox NOVLlmgnt NOVLnmas NOVLpkia NOVLpkis NOVLpkit NOVLsas NOVLsnmp NOVLstlog NOVLsubag NOVLxis nici --nodeps
insserv: Service ndsd has to be enabled for service novell-zenserver
insserv: exiting now!
error: %preun(NDSserv-8.7.3.9-23.i386) scriptlet failed, exit status 1
This error is in the zlm-config.log:
Executing command: rpm -e novell-zenworks-edir novell-zenworks-datautils novell-ntls NDSbase NDScommon NDSimon NDSmasv NDSrepair NDSserv NLDAPbase NLDAPsdk NOVLembox NOVLlmgnt NOVLnmas NOVLpkia NOVLpkis NOVLpkit NOVLsas NOVLsnmp NOVLstlog NOVLsubag NOVLxis nici --nodeps
insserv: Service ndsd has to be enabled for service novell-zenserver
insserv: exiting now!
error: %preun(NDSserv-8.7.3.9-23.i386) scriptlet failed, exit status 1
Resolution
To successfully upgrade eDirectory as part of the 7.3 upgrade, modify the /etc/issue file to include an instance of the text "SUSE". The default text for a 32 bit SLES 10 system is:
Welcome to SUSE Linux Enterprise Server 10 SP2 (i586)
Welcome to SUSE Linux Enterprise Server 10 SP2 (i586)
Additional Information
The uninstall of the NDSserv package fails due to the pre-uninstall
script portion of the rpm. A check is made against /etc/issue, and if that file
does not have an occurance of the text "SUSE" in it, the script returns the error.
In later versions of the NDSserv rpm, the check against /etc/issue in the pre-uninstall script was removed.
In later versions of the NDSserv rpm, the check against /etc/issue in the pre-uninstall script was removed.