From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio M. Di Nitto Date: Tue, 19 Jun 2012 08:20:33 +0200 Subject: [Cluster-devel] when do I need to start cpglockd In-Reply-To: <24E144B8C0207547AD09C467A8259F754B95DC60@lisa.maurer-it.com> References: <24E144B8C0207547AD09C467A8259F754B94A0A9@lisa.maurer-it.com> <20120614122123.GA823262@redhat.com> <24E144B8C0207547AD09C467A8259F754B95BA92@lisa.maurer-it.com> <20120614160650.GA843695@redhat.com> <4FDFF5A0.3050302@redhat.com> <24E144B8C0207547AD09C467A8259F754B95DC60@lisa.maurer-it.com> Message-ID: <4FE01A31.7080506@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 6/19/2012 6:23 AM, Dietmar Maurer wrote: >>> Yes, that's a bug. cpglockd will be started from the rgmanager init >>> script when RRP mode is enabled. >>> >>> >>> Ryan >>> >> >> Actually no, it's not a bug. >> >> cpglockd has it's own init script too. > > Yes, and that script 'unconditionally' (always) starts cpglockd Nothing wrong with that. If you ask a daemon to start it will start :) On top of that, cpglockd is harmless if there is no RRP mode active, or forcefully disabled. > >> The Required-Start: tells sysvinint that if cpglockd is enabled, it has to be >> started before rgmanager. > > That tells sysvinint to always start that script before rgmanager. > > So we end up with cpglockd always running, although it is not required at all. > > What do I miss? It tells sysvinit to start cpglockd before rgmanager IF cpglockd is enabled via chkconfig, otherwise it is not started. That value is used only to calculate the symlink S* K** values for rc.d/ Fabio