Hi Dejan,

Dejan Muhamedagic <[EMAIL PROTECTED]> writes:
> Hi Keisuke-san,
>
> On Tue, Jul 29, 2008 at 08:03:18PM +0900, Keisuke MORI wrote:
>> Dejan,
>> 
>> BasicSanityCheck fails by the permission test of RA
>> because ocf-tester returns an error at below (line 175)
>> if nobody user was not allowed to login.
>> 
>>     su nobody $agent $action > /dev/null
>> 
>> [EMAIL PROTECTED] su nobody /usr/lib/ocf/resource.d/heartbeat/Dummy meta-data
>> This account is currently not available.
>> [EMAIL PROTECTED] grep nobody /etc/passwd
>> nobody:x:99:99:Nobody:/:/sbin/nologin
>> 
>> 
>> How about to use the hacluster user instead as attached?
>
> That won't help. nobody was chosen because lrmd runs the
> meta-data action as nobody. The problem here is that su(1)
> requires a shell whereas lrmd doesn't. It looks like the -s
> option could help. Just pushed a patch. Could you please test it
> too.

That works perfectly!

Thanks,

-- 
Keisuke MORI
NTT DATA Intellilink Corporation
_______________________________________________________
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