It will not. Why do you want to make this change?

I'll create a patch for moving that check for root down the code today.

On Dec 10, 2007 7:26 AM, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote:
> Hi Serge,
>
> Is this thing going to work:
>
> 197     if runasowner "$OCF_RESKEY_pgctl $OCF_RESKEY_ctl_opt -D 
> $OCF_RESKEY_pgdata -l $OCF_RESKEY_logfile -o "\'$OCF_RESKEY_start_opt\'" 
> start > /dev/null 2 >&1"
>
> Should it be:
>
> 197     if runasowner "$OCF_RESKEY_pgctl $OCF_RESKEY_ctl_opt -D 
> $OCF_RESKEY_pgdata -l $OCF_RESKEY_logfile -o \"\'$OCF_RESKEY_start_opt\'\" 
> start > /dev/null 2 >&1"
>
> Also, the test for root is too early, i.e. at least one should be
> able to run meta-data as any user.
>
> Thanks,
>
> Dejan
>



-- 
Serge Dubrouski.
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to