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

Rafał Kupka rkupka+Listy.Pacemaker at pronet.com.pl
Wed Aug 12 13:39:48 UTC 2009


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)?

> 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)




More information about the Pacemaker mailing list