About this list Date view Thread view Subject view Author view Attachment view

From: Andreas Schultz (aschultz_at_tpip.net)
Date: Mon 23 Aug 2004 - 12:20:21 BST


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
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 23 Aug 2004 - 12:22:26 BST by hypermail 2.1.3