|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] Re: [PATCH] fix ioemu build
 
Christian Tramnitz writes ("[Xen-devel] Re: [PATCH] fix ioemu build"):
> Keir Fraser wrote:
> > But... 'rm -f' doesn't fail when the file doesn't exist?
> 
> It doesn't, but under circumstances this is escaping the sandbox and 
> generating an access violation.
Err, what ?  What sandbox ?  Some kind of special Gentoo build
environment ?
> Details are available here:
> http://bugs.gentoo.org/262124
This shows this error message:
 ACCESS DENIED  unlinkat:     /Makefile
That appears to suggest that it's trying to delete /Makefile, rather
than some more sensible path.  Is that really what's going on ?  In
which case the problem is that it's accessing the wrong paths, not
that rm -f isn't working.  Perhaps some source directory variable
isn't being set properly ?
I suggest you investigate in that direction.  If you get stuck let me
know and I'll take a look myself.
> Not really sure if this only manifests itself in the gentoo build 
> environment, but since other places in xen-setup check for the existence 
> of the file before doing sth with it, I don't think it would hurt to apply.
The patch is definitely wrong.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
 | 
    | 
  
  
    |   | 
    |