Hello,<br><br>Thanks for the reply.<br>I have been successfully using Heartbeat as a root user. <br>But I have a system requirement for which I need to run my different custom applications  (configured using crm)  as a non root user. <br>
Can this be done?<br><br>Regards<br>Neha Chatrath<br><br>Date: Mon, 20 Feb 2012 22:05:30 +1100<br>
From: Andrew Beekhof <<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>><br>
To: The Pacemaker cluster resource manager<br>
        <<a href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a><div id=":1kl">><br>
Subject: Re: [Pacemaker] How to run heartbeat and pacemaker resources<br>
        as a non-root user<br>
Message-ID:<br>
        <<a href="mailto:CAEDLWG2OK25f4jRg8Y0KWsgC6n35_bzzDy6np%2BEGK0TUtJGB-A@mail.gmail.com">CAEDLWG2OK25f4jRg8Y0KWsgC6n35_bzzDy6np+EGK0TUtJGB-A@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On Mon, Feb 20, 2012 at 2:39 PM, neha chatrath <<a href="mailto:nehachatrath@gmail.com">nehachatrath@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I need to run heartbeat and pacemaker resources as non-root users.<br>
> When I try to run heartbeat as a "hacluster" user,<br>
<br>
That probably wont work.  We already try to drop as much privilege as<br>
we can, but some processes need to be root or that can't do anything -<br>
like add an IP address to a machine.<br>
<br>
> it fails to run with the<br>
> following error:<br>
><br>
> "Starting High-Availability services: chmod: changing permissions of<br>
> `/var/run/heartbeat/rsctmp': Operation not permitted<br>
> Done. touch: cannot touch `/var/lock/subsys/heartbeat': Permission denied"<br>
><br>
> I have tried changing ownership and permissions for the above directories<br>
> and files but still the same result.<br>
><br>
> Can somebody help me in this?<br>
><br>
> Thanks and regards<br>
> Neha Chatrath</div><br><br><div class="gmail_quote">On Mon, Feb 20, 2012 at 9:09 AM, neha chatrath <span dir="ltr"><<a href="mailto:nehachatrath@gmail.com">nehachatrath@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br><br>I need to run heartbeat and pacemaker resources as non-root users. <br>When I try to run heartbeat as a "hacluster" user, it fails to run with the following error:<br><br>"Starting High-Availability services: chmod: changing permissions of `/var/run/heartbeat/rsctmp': Operation not permitted<br>

Done. touch: cannot touch `/var/lock/subsys/heartbeat': Permission denied"<br><br>I have tried changing ownership and permissions for the above directories and files but still the same result.<br><br>Can somebody help me in this?<br clear="all">

<br>Thanks and regards<span class="HOEnZb"><font color="#888888"><br>Neha Chatrath<br><br>
</font></span></blockquote></div><br><br clear="all"><br><br>