Hi Dejan,
Dejan Muhamedagic wrote:
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?
I have another user with uid 0 in /etc/passwd.
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.
I use the tcsh shell for this userid 0 user. When I switch to bash in
/etc/passwd the problem disappears.
So it's probably something in my .tcshrc. I'll look into it.
Thanks you very much for your help.
Bye,
Marco.
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@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
_______________________________________________
Pacemaker mailing list: Pacemaker@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
_______________________________________________
Pacemaker mailing list: Pacemaker@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