On Jan 10, 2011, at 5:26 AM, Rasto Levrinc wrote:
>
> On Sat, January 8, 2011 5:45 pm, Vadym Chepkov wrote:
>>
>
>> On Jan 7, 2011, at 5:07 PM, Rasto Levrinc wrote:
>>
>>
>>> On Fri, January 7, 2011 10:41 pm, Vadym Chepkov wrote:
>>>
>>>
>>>>
>>>> I replied too soon, it now fails after it establishes connection to a
>>>> cluster:
>>>>
>>>>
>>>>
>>>> release: 0.8.9.dev.1
>>>> java: Apple Inc. 1.6.0_22
>>>>
>>>>
>>>>
>>>> uncaught exception java.lang.NullPointerException null
>>>> drbd.gui.resources.GroupInfo.getSubtextsForGraph(GroupInfo.java:891)
>>>>
>>>
>>>
>>> It doesn't look like it's Apple related. What is your config? Is it
>>> always reproducible?
>>
>> Well, not sure what happened, but I can't login to any clusters anymore.
>> I get this:
>>
>>
>> Jan 8 16:36:36 xen-20 sudo: vchepkov : TTY=pts/1 ;
>> PWD=/home/vhepkov ; USER=root ; COMMAND=/bin/bash
>> Jan 8 16:36:58 xen-20 sudo: vchepkov : sorry, you must have a tty to
>> run sudo ; TTY=unknown ; PWD=/home/vchepkov ; USER=root ;
>> COMMAND=/bin/bash -c trap - SIGPIPE; { true; } 2>&1
>>
>>
>> It was not an issue before. Did -t somehow got lost in ssh call?
>
> Yeah, I've removed it, because it was creating even bigger problems. If
> you want to use sudo you can't have requiretty option in sudoers config
> file.
Well, that's a bummer, requiretty is a "standard" setting in sudo shipped by
Redhat/Fedora:
#
# Disable "ssh hostname sudo <cmd>", because it will show the password in
clear.
# You have to run "ssh -t hostname sudo <cmd>".
#
Defaults requiretty
And I think it is a legitimate concern.
>
> Anyway there's fix for all your other problems :)
>
> http://oss.linbit.com/drbd-mc/dmctest-0.8.9.dev.2.jar
Well, almost :)
DEBUG: Not using known_hosts file, because this is not a Linux.
(drbd.utilities.SSH$AdvancedVerifier)
So what it's not a Linux? :)
Thanks,
Vadym
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems