Hi,
I have two small problems with util-vserver-0.30.190 and heartbeat-1.2.2.
First, the ResourceManager check the return value of the resource scripts status command for the string [Rr]unning or OK to determin if the requested service has already been started. A vserver vs status returns: "Vserver 'vs' is not running" leading the ResourceManager to believe that the service has already been started.
The return value should be changed to avoid the word 'running', maybe inactive is acceptable?
Second, a "vserver vs stop" returns a non zero exitcode in in case the server didn't run before. Heartbeat comments that with a warning:
"heartbeat: WARN: it (vserver::vs) MUST succeed on a stop when already stopped"
Changing the return code in vserver.stop for this case to 0 should not have any ill effects on other scripts.
Andreas _______________________________________________ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver