Andrew Beekhof a écrit :
On 4/11/07, Benjamin Watine <[EMAIL PROTECTED]> wrote:
Alan Robertson a écrit :
> Benjamin Watine wrote:
>> Alan Robertson a écrit :
>>> Benjamin Watine wrote:
>>>> Hi
>>>>
>>>> I'm trying to chmod 660 cib.xml to give w/r access to hacluster and
>>>> haclient. I do it on both nodes, it's ok. But when the cib.xml is
>>>> updated by the CRM, permission comes back to w/r only for owner
>>>> (hacluster).
>>>>
>>>> It's not very important, but I don't like WARN in log files :)
and it
>>>> sometimes causes problem (for BasicSanityCheck for example).
>>>>
>>>> I think there's a little bug about it, or maybe I did something
wrong.
>>> 600 is the correct mode, IIRC.
>>>
>>> What is helped by setting it to 660?
>>>
>>>
>> BasicSanityCheck complain about it if set to 600, not if 660 :
>>
>> # /usr/lib64/heartbeat/BasicSanityCheck
>> Using interface: eth0
>> Should not run tests with heartbeat already running.
>> Starting base64 and md5 algorithm tests
>> base64 and md5 algorithm tests succeeded.
>> That's weird. Heartbeat seems to be running...
>> Stopping heartbeat
>> Stopping High-Availability services:
>> OOPS! Cannot remove real config file /var/lib/heartbeat/crm/cib.xml!
>
> I've seen this fairly often. I confess I've ignored it. You want to
> open a bugzilla on it.
>
>> I don't think it's related to these permission, but you can see that
>> BasicSanityCheck hangs on stopping High-Availability services (I
had to
>> ctrl-C). I don't know why yet. Is BasicSanityCheck script OK (HB
v2.0.8) ?
>
> Except for this and one other weirdness related to SNMP, yes it is OK.
> I run it basically every time I build.
>
About permissions on cib.xml, I have this warn on my log :
Apr 11 16:34:01 castor cib: [3974]: WARN: crm_is_writable:
/var/lib/heartbeat/crm/cib.xml should be owned and r/w by group haclient
My cib.xml is set to 600, as you said. Maybe there is no bug on
BasicSanityCheck, but cib.xml should be set to 660, and the bug is on
CRM ?
its already fixed waiting for the next release
OK, great. Just for information, is there a fixed date for next release ?
_______________________________________________
Linux-HA mailing list
[EMAIL PROTECTED]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems