[Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

Andrew Beekhof andrew at beekhof.net
Wed Aug 12 14:47:18 EDT 2009


2009/8/12 Rafał Kupka <rkupka+Listy.Pacemaker at pronet.com.pl>:
> On Wed, Aug 12, 2009 at 03:20:29PM +0200, Andrew Beekhof wrote:
>> 2009/8/12 Ante Karamatić <ivoks at ubuntu.com>:
> Hello,
>
>> > Andrew Beekhof wrote:
>> >
>> >> For .../crm that should be enough.
>> >> Can you confirm for heartbeat?
>> >
>> > I reposonded over my phone so I wasn't able to check it out. Here are
>> > the real findings:
>> >
>> > d-wxr-xr-T 2 hacluster haclient 140 2009-08-12 14:17 /var/run/crm/
>
> 748 decimal. It's from 750 decimal and umask 0002. It looks like there
> is missing leading zero in some constant value in code.
>
>> here I have:
>>
>> drwxr-x---  2 hacluster  haclient   4096 Aug  7 19:48 /var/run/crm
>> drwxr-xr-x  4 root       root       4096 Aug  7 19:49 /var/run/heartbeat
>>
>> which is what i'd expect based on the code.
>
> I don't have time to look into code, sorry. Maybe it is from
> mkdir (..., 750) instead of mkdir (..., 0750)?

can someone add a leading zero and let me know if it helps?

>> perhaps write a small program that uses mkdir() and chmod() and see if
>> you can get it to behave correctly.
>> because it looks like its not processing the 755 and 750 mode argument
>> correctly.
>
> Regards,
> Kupson
> --
> Great software without the knowledge to run it is pretty useless.
> (Linux Gazette #1)
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>




More information about the Pacemaker mailing list