* [Cluster-devel] [BUG] /etc/init.d/cman unmounts configfs unconditionally
@ 2008-07-31 21:32 Joel Becker
0 siblings, 0 replies; only message in thread
From: Joel Becker @ 2008-07-31 21:32 UTC (permalink / raw)
To: cluster-devel.redhat.com
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-31 21:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-31 21:32 [Cluster-devel] [BUG] /etc/init.d/cman unmounts configfs unconditionally Joel Becker
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).