On Wed, May 27, 2009 at 2:18 AM, Martin Gerhard Loschwitz <martin.loschw...@linbit.com> wrote: > Raoul Bhatia [IPAX] schrieb: >> >> 8. q. should pacemaker-openais add the service definition for pacemaker >> to /etc/init.d/openais.conf? >> >> e.g.: >> >>> service { >>> # Load the Pacemaker Cluster Resource Manager >>> ver: 0 >>> name: pacemaker >>> use_mgmtd: yes >>> } >> >> cheers, >> raoul > > This is a rather tough thing. I am not sure that this is allowed by the > Debian policy (I am, in fact, rather sure that it's not). > Having this happen automatically would involve some magic in the postinst > script of pacemaker, and accordingly some more magic in the postrm script > to remove the stanza that was previously added. > > Additionally, we would be modifying a configuration file that does not > even belong to the package itself (pacemaker-openais vs. openais.conf). > > I will take a look at the policy tomorrow to check in how far this is > legal in Debian terms; don't expect too much,tho.
You could also include it in the default openais-legacy config file... openais will happily start even if pacemaker is not installed. _______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker