From 5fbf05a3570bc41c4f375bd5ae1f120534f1eae1 Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Thu, 13 Dec 2007 19:14:58 +0000 Subject: [PATCH] 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/ --- NodeManager.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.43.0