[Debian-ha-maintainers] SDB default file and Pacemaker

Adrian Vondendriesch adrian.vondendriesch at credativ.de
Fri May 6 18:34:16 UTC 2016


Hi Feri,

On 06.05.2016 11:21, Ferenc Wágner wrote:
> Hi,
>
> At the moment I patch Pacemaker like
>
> --- a/mcp/pacemaker.service.in
> +++ b/mcp/pacemaker.service.in
> @@ -24,6 +24,7 @@ KillMode=process
>  NotifyAccess=main
>  EnvironmentFile=- at sysconfdir@/sysconfig/pacemaker
>  EnvironmentFile=- at sysconfdir@/sysconfig/sbd
> +EnvironmentFile=- at sysconfdir@/default/pacemaker
>  SuccessExitStatus=100
>
> Shall I add /etc/default/sbd as well?

I didn't noticed that pacemaker takes care of the sbd environment file,
but yes changing it would be a good idea.

> Also, could you please explain what's behind f9a01a792ec (quoted below)
> in the sbd packaging repo?
>
> Subject: d/sbd.default fix SBD_PACEMAKER.
>
> true / false needs to be encapsulated in quotation marks, otherwise
> pacemaker will show "have-watchdog: false".

The message could be clearer. What I should have written is "...
otherwise sbd doesn't start the Cluster process". But at the second look
it's more reasonable that the behavior I saw has other reasons. At the
end it's just a environment file that gets sourced. I will have a look
at this.

Cheers,
 - Adrian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-ha-maintainers/attachments/20160506/f0e7bda0/attachment.sig>


More information about the Debian-ha-maintainers mailing list