search for: xenstoredomaingetdiskid

Displaying 1 result from an estimated 1 matches for "xenstoredomaingetdiskid".

2011 Feb 14
1
Xen disk device detach fails as non-root [libvirt-0.8.7 and older versions]
...omu1 attach.xml Device attached successfully $ virsh detach-device domu1 attach.xml error: Failed to detach device from attach.xml error: Unknown failure $ With some digging, I determined that the problem arises when libvirt tries to translate the device name to a number, using the XenStore API (xenStoreDomainGetDiskID()), which requires use of the "xenstored" UNIX socket, and that socket is only accessible by root. On making that socket accessible to the user (by group), virDomainAttachDevice() starts working, but I'm then unable to list domains, because xenStoreDoListDomains() waits to verify each...