From: Joel Becker <Joel.Becker@oracle.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [BUG] /etc/init.d/cman unmounts configfs unconditionally
Date: Thu, 31 Jul 2008 14:32:02 -0700 [thread overview]
Message-ID: <20080731213202.GG14766@mail.oracle.com> (raw)
There is more than one user of configfs. When you run "/etc/init.d/cman
stop", the script unmounts configfs even if there are other users. This
is unexpected (and antisocial, really) behavior.
In o2cb.init, we do it like this:
# Only unmount configfs if there are no other users
if [ -z "$(ls -1 "$(configfs_path)")" ]
then
unmount_filesystem "configfs" "$(configfs_path)"
if_fail $?
fi
Joel
--
Life's Little Instruction Book #207
"Swing for the fence."
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
reply other threads:[~2008-07-31 21:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20080731213202.GG14766@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.