2009/8/12 Ante Karamatić <[email protected]>: > 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. _______________________________________________ Pacemaker mailing list [email protected] http://oss.clusterlabs.org/mailman/listinfo/pacemaker
