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

Re: Mirage Hello World (Re: Building mirage-www)

On 10 Sep 2013, at 17:28, Phiho Hoang wrote:

> hph@ubunxen:~/mirage-skeleton$ sudo make run-basic
> cd basic && mirari run --xen
> /bin/sh: 1: mirari: not found
> make: *** [run-basic] Error 127
> hph@ubunxen:~/mirage-skeleton$

i believe this is to do with how sudo cleans the environment, including PATH, 
before it executes a shell. try changing the makefile so that it executes "sudo 
mirari" rather than having to "sudo make". (there are better ways to fix this 
too, i'm sure.)

ultimately i guess mirari itself should attempt to acquire necessary privs to 
do what it needs to do...

> BTW, I still cannot run the Mirage "hello World" unikernel as a simple POSIX 
> binary as expected.
> It does not print anything.

that's the problem i noted previously to do with buffering of console writes (i 
think). i submitted a pull request, i guess it's not been high enough priority 
to merge. if you look at my mirage tree, you should be able to pull it out 
(it's the last commit i think -- only a few lines).



This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, copy 
or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system, you 
are advised to perform your own checks. Email communications with the 
University of Nottingham may be monitored as permitted by UK legislation.



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