From: Stephen Soltesz Date: Thu, 13 Dec 2007 19:14:58 +0000 (+0000) Subject: Adding a check to verify that the environment is not the BOOTCD will prevent a X-Git-Tag: NodeManager-1.6-1~10 X-Git-Url: http://git.onelab.eu/?p=nodemanager.git;a=commitdiff_plain;h=5fbf05a3570bc41c4f375bd5ae1f120534f1eae1 Adding a check to verify that the environment is not the BOOTCD will prevent a NodeUpdate from starting the NM. I think NM starting in the boot cd may be causing some of the rpmdb corruption seen in /vservers/ --- diff --git a/NodeManager.spec b/NodeManager.spec index c1efbd4..2ddcc27 100644 --- a/NodeManager.spec +++ b/NodeManager.spec @@ -53,7 +53,9 @@ chkconfig --add conf_files chkconfig conf_files on chkconfig --add nm chkconfig nm on -service nm restart +if [ "$PL_BOOTCD" != "1" ] ; then + service nm restart +fi %preun