[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.