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

[Xen-bugs] [Bug 631] New: BE domain requires read access to FE root for delete to work



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=631

           Summary: BE domain requires read access to FE root for delete to
                    work
           Product: Xen
           Version: unstable
          Platform: x86
        OS/Version: Linux-2.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: tkuik@xxxxxxxxx


BE domains need to have read access to the FE root node so that when domains
are shutdown, they still receive watch events and can perform their own
cleanup.

Proposed fix in DevController.py, createDevice():

Just after setting permission for frontpath, add the following lines:

                t.set_permissions(self.frontendRoot(),
                                  {'dom': self.vm.getDomid()},
                                  {'dom': backdom, 'read': True})


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

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