[Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2 (was: try 1)]]

Andrew Beekhof andrew at beekhof.net
Wed May 27 03:11:47 EDT 2009


On Wed, May 27, 2009 at 2:18 AM, Martin Gerhard Loschwitz
<martin.loschwitz at 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.




More information about the Pacemaker mailing list