All of lore.kernel.org
 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: Wed, 30 Jul 2008 12:12:41 -0700	[thread overview]
Message-ID: <20080730191241.GA9054@mail.oracle.com> (raw)
In-Reply-To: <20080730160107.GA9631@redhat.com>

On Wed, Jul 30, 2008 at 11:01:07AM -0500, David Teigland wrote:
> On Mon, Jul 28, 2008 at 10:20:49AM +0200, Fabio M. Di Nitto wrote:
> > I just noticed that we have a very inconsistent way to set init script 
> > defaults by using /etc/sysconfig/{cman,cluster,scsi_reserve}.
> > 
> > the patch in attachment is very simple and standardize everything to 
> > /etc/sysconfig/cluster and retains backward compatibility.
> > 
> > Please ACK or i will apply.
> 
> Doesn't it make most sense for the name of the sysconfig file to match the
> name of the init script it corresponds to?  i.e. the config file for
> init.d/cman would be sysconfig/cman?

	They should absolutely match the init script.  I could perhaps
seen an exception for something everything includes, but then I would
have the other sysconfig files include it.  What do I mean?  Say you
have a sysconfig/cluster file you want everything to see (cman,
fs_controld, etc).  You would have sysconfig/cman source
sysconfig/cluster.  That way, someone reading sysconfig/cman would see
it.  I would think we want to avoid folks having to read the init script
to find the config files.
	Btw, let's all remember that 'sysconfig' is spelled 'default' on
debian/ubuntu, so be aware of that in your scripts :-)

Joel

-- 

Life's Little Instruction Book #335

	"Every so often, push your luck."

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



  parent reply	other threads:[~2008-07-30 19:12 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 [this message]
2008-07-31  3:24     ` Fabio M. Di Nitto
2008-07-31  7:41       ` Joel Becker
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=20080730191241.GA9054@mail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.