cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Joel Becker <Joel.Becker@oracle.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH/RFC] Standardize on /etc/sysconfig/cluster for init script
Date: Thu, 31 Jul 2008 00:41:38 -0700	[thread overview]
Message-ID: <20080731074138.GA30700@ca-server1.us.oracle.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0807310523160.14806@trider-g7>

On Thu, Jul 31, 2008 at 05:24:36AM +0200, Fabio M. Di Nitto wrote:
> diff --git a/cman/init.d/cman b/cman/init.d/cman
> index 4ed6ec0..5ff172d 100644
> --- a/cman/init.d/cman
> +++ b/cman/init.d/cman
> @@ -18,13 +18,8 @@
>  
>  . /etc/init.d/functions
>  
> -if [ -f /etc/sysconfig/cman ]; then
> -    . /etc/sysconfig/cman
> -    echo "/etc/sysconfig/cman has been deprecated in favour of /etc/sysconfig/cluster"
> -    echo "Please consider switching to the new file"
> -fi
> -
>  [ -f /etc/sysconfig/cluster ] && . /etc/sysconfig/cluster
> +[ -f /etc/sysconfig/cman ] && . /etc/sysconfig/cman

	What I meant was that /etc/sysconfig/cman does
'.  /etc/sysconfig/cluster', and /etc/init.d/cman doesn't refer to
/etc/sysconfig/cluster.  But what you've done at least honors the idea
of "common things in /etc/sysconfig/cluster, cman-specific in
/etc/sysconfig/cman".
	Oh, and you aren't the only cluster stack out there, so calling
it "cluster" is rather presumptuous.  I should be able to install two
cluster stacks side by side, even if they can't interact.

Joel

-- 

"Born under a bad sign.
 I been down since I began to crawl.
 If it wasn't for bad luck,
 I wouldn't have no luck at all."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



  reply	other threads:[~2008-07-31  7:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-28  8:20 [Cluster-devel] [PATCH/RFC] Standardize on /etc/sysconfig/cluster for init script Fabio M. Di Nitto
2008-07-28 12:59 ` david m. richter
2008-07-28 13:07   ` Fabio M. Di Nitto
2008-07-30 16:01 ` David Teigland
2008-07-30 16:41   ` david m. richter
2008-07-30 19:12   ` Joel Becker
2008-07-31  3:24     ` Fabio M. Di Nitto
2008-07-31  7:41       ` Joel Becker [this message]
2008-07-31  7:40         ` Fabio M. Di Nitto
2008-07-31  3:02   ` Fabio M. Di Nitto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080731074138.GA30700@ca-server1.us.oracle.com \
    --to=joel.becker@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).