Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381371 - app-emulation/libvirt - USE=xen masked
Summary: app-emulation/libvirt - USE=xen masked
Status: RESOLVED DUPLICATE of bug 379815
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-31 22:22 UTC by CaptainBlood
Modified: 2011-09-03 17:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2011-08-31 22:22:41 UTC
I use to have virt-manager connecting fine to xen Dom'0/U.
Now it seems like virt-manager/libvirt can not connect to xen hypervisor.
Although xen USE flag is displayed for information always as ( -xen) (not sure about the meaning of these parenthesis), I can not have it taken into account at build time. 

Reproducible: Always
Comment 1 CaptainBlood 2011-08-31 22:27:47 UTC
For the moement virtmanager return an error message such as:

authentication failed

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 1055, in _try_open
    None], flags)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 102, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: authentication failed
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2011-09-01 10:15:26 UTC
that's not libvirt.  That is the security selection for xend.
To use virt-manager you need have the xen use flag enables in the libvirt build.

The selections for security are dummy, flask and acm.
acm is broken.  Disable it if enabled.  The selction of security must be set correctly in /etc/xen/xend-config.sxp
Comment 3 CaptainBlood 2011-09-01 14:13:08 UTC
Sorry for a rather mixed-up initial report.
Indeed I'm not blaming virt-manager but libvirt.
I started my conf a long time ago with libvirt-0.8.5-r2 for which I had to raise xen flag to have virt-manager connecting to xen.

Since I don't use virt-manager very often, I did let portage upgrading it at each stable release.

I've recently noticed virt-manager didn't connect to xen anymore, and have found out that the xen USE flag for libvirt which appears as ( -xen) when I do

eix -I libvirt

can never be actived at build time what ever flags I set in portage.use in this regard.

Unfortunately it seems I can not recover to some former stable and 'xen able' version of libvirt.

For the record I am running on dummy security module in xend-config.sxp

Maybe I've missed up things elsewhere, but at least I hope this little explanation make my issue more understandable.

Regards
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-09-03 17:15:58 UTC

*** This bug has been marked as a duplicate of bug 379815 ***