[Pacemaker] Unable to commit from crm.

Dejan Muhamedagic dejanmm at fastmail.fm
Mon Apr 26 10:11:16 UTC 2010


Hi,

On Mon, Apr 26, 2010 at 11:53:17AM +0200, Marco van Putten wrote:
> Hi Dejan,
> 
> Thanks for your response.
> 
> Dejan Muhamedagic wrote:
> >
> >Never saw this. The '--noprofile' is a bash option. Looks like
> >some strange interaction between python and bash. If you set the
> >"user" option in crm, sudo is used to run all external programs.
> >Perhaps that is the culprit.
> 
> 
> I was running the crm command with another user name than root but
> with userid 0 and groupid 0.

You mean as effective id 0 (as in su or sudo) or that you have
another user with the id 0?

> But if I run crm as root it works well.
> 
> For me this works as an OK workaround but on 3 other clusters (all
> with an older pacemaker version) I don't have this problem...

Must be some environment issue. You should check your .profile
.bashrc .bash_profile /etc/profile.d/* /etc/bash*, there seem to
be so many in use and I probably forgot a few.

Thanks,

Dejan

> >
> >>Has this anything to do with the new version of cluster-glue a
> >>couple of days ago...?
> >
> >No, glue shouldn't have anything to do with this.
> >
> >Thanks,
> >
> >Dejan
> 
> 
> Thanks,
> Marco.
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf




More information about the Pacemaker mailing list