On Tue, 31 May 2016, W. Michael Petullo wrote:

> Has anyone else seen things like "xl list" or xentop hang on Fedora 24?
> 
> # rpm -q kernel xen
> kernel-4.5.5-300.fc24.x86_64
> xen-4.6.1-10.fc24.x86_64
> 
> Running "strace xl list" produces the following, which seems to indicate
> that the hang occurs when "xl list" writes to /dev/xen/xenbus:
> 
> access("/dev/xen/xenbus", F_OK)         = 0
> stat("/dev/xen/xenbus", {st_mode=S_IFCHR|0600, st_rdev=makedev(10, 62), ...}) 
> = 0
> open("/dev/xen/xenbus", O_RDWR)         = 6
> open("/etc/xen/xl.conf", O_RDONLY)      = 7

I think this depends on having the right DomU running as I have used xl 
list with the above settings without problems (though I don't think 
anything I run depends on xenbus).

I also wonder what your selinux settings are. I had problems with 
xen-4.7.0 which uses /dev/xen/privcmd which had 
system_u:object_r:device_t:s0 permissions rather than 
system_u:object_r:xen_device_t:s0 (now fixed if you have a recent enough 
selinux). If you have selinux enabled could you try
chcon -t xen_device_t /dev/xen/xenbus
to see if that makes any difference or alternatively setenforce 0.

        Michael Young
--
xen mailing list
xen@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/xen@lists.fedoraproject.org

Reply via email to