|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [Xen-changelog] Set the permissions correctly on the XML-RPC UDP socket, so that non-root users
Did you see this failure after changing the socket location to /var/run/xend/xml-rpc.sock? The only way the permissions of /var/run/xend-xmlrpc.sock should be non-root is if /var/run has non root permissions. Was that the case? Regards, Anthony Liguoir Xen patchbot -unstable wrote: # HG changeset patch # User emellor@xxxxxxxxxxxxxxxxxxxxxx # Node ID 53ded2201b7f9737faa4edffd86a870e56b2d704 # Parent 601d0229a40e2de9a3cc3dec9e855d8b56b5a890 Set the permissions correctly on the XML-RPC UDP socket, so that non-root users cannot use the socket. This closes a security hole, and fixes the intermittent failure of xm-test/06_list_nonroot.test. c.f. xen-unstable changeset 9205:faa1eb1621b9 (same bug, different socket). Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> diff -r 601d0229a40e -r 53ded2201b7f tools/python/xen/util/xmlrpclib2.py --- a/tools/python/xen/util/xmlrpclib2.py Thu Mar 30 23:10:54 2006 +++ b/tools/python/xen/util/xmlrpclib2.py Thu Mar 30 23:13:33 2006 @@ -23,7 +23,7 @@ from httplib import HTTPConnection, HTTP from xmlrpclib import Transport from SimpleXMLRPCServer import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler -import xmlrpclib, socket, os +import xmlrpclib, socket, os, stat import SocketServerimport xen.xend.XendClient _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |