[Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)
Andrew Beekhof
andrew at beekhof.net
Wed Aug 12 09:24:37 UTC 2009
2009/8/12 Ante Karamatić <ivoks at ubuntu.com>:
> Raoul Bhatia [IPAX] wrote:
>
>> mkdir /var/run/crm/; chown hacluster.haclient /var/run/crm/;
>> chmod 750 /var/run/crm/
>>
>> (is 750 ok for this or should this be 755 as lrmd runs as nobody?)
>>
>> maybe it is also ok to simply move this directory? martin, can you
>> please shed a light on this?
>
> I'm not Martin, but hopefully I could help :)
>
> 0750 is enough. Patch for this bug is included in Ubuntu packages and
> sent to Martin:
>
> https://edge.launchpad.net/~ubuntu-ha/+archive/ppa
>
> Basically:
>
> --- heartbeat-2.99.2+sles11r9/debian/heartbeat.init
> +++ heartbeat-2.99.2+sles11r9/debian/heartbeat.init
> @@ -262,9 +262,9 @@
> [ ! -d $RUNDIR/heartbeat ]
> then
> mkdir -p $RUNDIR/heartbeat/ccm
> - mkdir -p $RUNDIR/heartbeat/crm
> - chown -R hacluster:haclient $RUNDIR/heartbeat
> - chmod -R 750 $RUNDIR/heartbeat
> + mkdir -p $RUNDIR/crm
> + chown -R hacluster:haclient $RUNDIR/heartbeat $RUNDIR/crm
> + chmod -R 750 $RUNDIR/heartbeat $RUNDIR/crm
> fi
> if
> [ -f $HA_DIR/ipresources -a ! -f $HA_DIR/haresources ]
actually, it should be pacemaker that adds this directory.
i'll go fix the install now.
More information about the Pacemaker
mailing list