WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

Re: [Xen-API] Re: XAPI exceptions running "/bin/bash "?

To: Ben Pfaff <blp@xxxxxxxxxx>
Subject: Re: [Xen-API] Re: XAPI exceptions running "/bin/bash "?
From: Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>
Date: Thu, 16 Sep 2010 22:50:45 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>, "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 16 Sep 2010 14:51:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100916213649.GA19583@xxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <20100916180341.GJ19583@xxxxxxxxxx> <20100916180959.GK19583@xxxxxxxxxx> <4C562ADD-84E4-40B8-B877-386A29C6849D@xxxxxxxxxxxxx> <499F95B3-4D96-4D0A-9F4F-18A05FFF8152@xxxxxxxxxxxxx> <20100916213649.GA19583@xxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActV6TITa9cBJuFoQ5+dfg/xIfmEMg==
Thread-topic: [Xen-API] Re: XAPI exceptions running "/bin/bash "?
It's been broken ever since it was introduced in July 2007, and yes, it's 
guest-installer-network related.

Jon

On 16 Sep 2010, at 22:36, Ben Pfaff wrote:

> It's in a function (is that the right term? I don't know ML) called
> setup_guest_installer_network so I suspect that it is.
> 
> If I'm reading my history right this was broken in the same way in a
> private copy of XAPI source that Citrix handed me in March 2009, so it's
> been a while.
> 
> On Thu, Sep 16, 2010 at 10:30:54PM +0100, Dave Scott wrote:
>> Is that script involved with the badly named "guest installer
>> network"? Perhaps it's been broken and effectively dead code for a
>> while and we can just GC it?
>> 
>> Dave
>> 
>> On 16 Sep 2010, at 21:48, "Jonathan Ludlam" <Jonathan.Ludlam@xxxxxxxxxxxxx> 
>> wrote:
>> 
>>> Whups, yes, this looks wrong. Thanks for pointing it out!
>>> 
>>> Jon
>>> 
>>> 
>>> On 16 Sep 2010, at 19:09, Ben Pfaff wrote:
>>> 
>>>> On Thu, Sep 16, 2010 at 11:03:41AM -0700, Ben Pfaff wrote:
>>>>> I have a XenServer here that has log messages like the ones appended
>>>>> repeated a number of times (dates and times deleted to avoid wrapping as
>>>>> many lines).  Naively, it looks like XAPI is trying to execve "/bin/bash
>>>>> " (with a space) and that is, of course, failing.  Is that what is
>>>>> really happening?
>>>> 
>>>> Actually, I just confirmed that that is happening by running "strace -f"
>>>> on the fe process:
>>>> 
>>>> 19360 execve("/bin/bash ", ["/bin/bash ", 
>>>> "/opt/xensource/bin/fix_firewall.", "xapi7"], [/* 1 var */]) = -1 ENOENT 
>>>> (No such file or directory)
>>>> 
>>>> _______________________________________________
>>>> xen-api mailing list
>>>> xen-api@xxxxxxxxxxxxxxxxxxx
>>>> http://lists.xensource.com/mailman/listinfo/xen-api
>>> 
>>> 
>>> _______________________________________________
>>> xen-api mailing list
>>> xen-api@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/mailman/listinfo/xen-api


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api