On Fri, Feb 4, 2011 at 6:53 PM, Brian Cavanagh
<br...@designedtoscale.com> wrote:
> Sorry, I am not sure why the script isn't executing as root,

It is executed as root.
If it attempts some operations as a different user, then it was the
script itself that switched user.
Look for a call to su or sudo

> I just noted
> that it wasn't so I couldn't boot mysql like I usually do with the files
> where they normally are with standard permissions.
>
>
> On 2/4/11 4:40 AM, "Andrew Beekhof" <and...@beekhof.net> wrote:
>
>>On Thu, Feb 3, 2011 at 4:25 PM, Brian Cavanagh
>><br...@designedtoscale.com> wrote:
>>> Right and Pacemaker should boot my daemon in way that it can put its pid
>>> file in /var/run.
>>
>>Wait, what?
>>Pacemaker runs a script as root - if the script is doing something
>>stupid its not our fault.
>>
>>_______________________________________________
>>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
>>Bugs:
>>http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>
>
> _______________________________________________
> 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
> Bugs: 
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>

_______________________________________________
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
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to