commit openais for openSUSE:Factory
Hello community, here is the log from the commit of package openais for openSUSE:Factory checked in at Sun Aug 7 18:52:26 CEST 2011. -------- --- openais/openais.changes 2011-02-11 01:36:17.000000000 +0100 +++ /mounts/work_src_done/STABLE/openais/openais.changes 2011-08-05 08:41:58.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Aug 5 06:40:30 UTC 2011 - tserong@novell.com + +- Remove usage of /var/lock/subsys in init script + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openais.spec ++++++ --- /var/tmp/diff_new_pack.8GfWRZ/_old 2011-08-07 18:51:39.000000000 +0200 +++ /var/tmp/diff_new_pack.8GfWRZ/_new 2011-08-07 18:51:39.000000000 +0200 @@ -23,7 +23,7 @@ Name: openais Summary: The OpenAIS Standards-Based Cluster Framework executive and APIs Version: 1.1.4 -Release: 1 +Release: 6 License: BSD3c Group: Productivity/Clustering/HA Url: http://www.openais.org/ ++++++ openais-suse-init.patch ++++++ --- /var/tmp/diff_new_pack.8GfWRZ/_old 2011-08-07 18:51:39.000000000 +0200 +++ /var/tmp/diff_new_pack.8GfWRZ/_new 2011-08-07 18:51:39.000000000 +0200 @@ -15,7 +15,7 @@ =================================================================== --- /dev/null +++ openais-1.1.4/init/suse -@@ -0,0 +1,208 @@ +@@ -0,0 +1,205 @@ +#!/bin/bash +# +# Corosync daemon init script for LSB-compliant Linux distributions. @@ -42,7 +42,6 @@ +do_force=0 +prog="corosync" +exec="/usr/sbin/corosync" -+lockfile="/var/lock/subsys/$prog" + +OPENAIS_SYSCONFIG=/etc/sysconfig/openais +if [ -f $OPENAIS_SYSCONFIG ]; then @@ -144,7 +143,6 @@ + if internal_status; then + set_lrmd_options + echo "OK" -+ touch "$lockfile" + return 0 + fi + @@ -193,7 +191,6 @@ + StopSBD + fi + -+ rm -f "$lockfile" + echo "OK" + return 0 +} @@ -215,7 +212,7 @@ + restart + ;; + condrestart|try-restart) -+ [ ! -f "$lockfile" ] || restart ++ internal_status && restart + ;; + status) + status $prog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de