[libvirt-users] problem starting virt-manager

Lentes, Bernd bernd.lentes at helmholtz-muenchen.de
Wed Sep 12 14:48:37 UTC 2012


Bernd wrote:

>
>
> Michal wrote:
>
> > On 11.09.2012 10:20, Lentes, Bernd wrote:
> > > Hi,
> > >
> > > i try to run virt-manager on a SLES 11 SP1 box. I'm using
> > kernel 2.6.32.12 and virt-manager 0.9.4-106.1.x86_64 .
> > > The system is a 64bit box.
> > >
> > > Here is the output:
> > > =========================
> > >
> > pc56846:/media/idg2/SysAdmin_AG_Wurst/software_und_treiber/vir
> > t_manager/sles_11_sp1 # virt-manager &
> > > [1] 9659
> > >
> > pc56846:/media/idg2/SysAdmin_AG_Wurst/software_und_treiber/vir
> > t_manager/sles_11_sp1 # Traceback (most recent call last):
> > >   File "/usr/share/virt-manager/virt-manager.py", line 386,
> > in <module>
> > >     main()
> > >   File "/usr/share/virt-manager/virt-manager.py", line
> 247, in main
> > >     from virtManager import cli
> > >   File "/usr/share/virt-manager/virtManager/cli.py", line
> > 29, in <module>
> > >     import libvirt
> > >   File "/usr/lib64/python2.6/site-packages/libvirt.py",
> > line 25, in <module>
> > >     raise lib_e
> > > ImportError: /usr/lib64/libvirt.so.0: undefined symbol:
> > selinux_virtual_domain_context_path
> > >
> >
> > Seems like a broken dependencies to me. This function is
> > supposed to be
> > in libselinux-utils package IIRC. Can you try installing it
> and if it
> > works, maybe we need to update our spec file.
> >
>
> Hi,
>
> i installed libselinux-utils-2.0.73-1.fc10.x86_64.rpm. I
> didn't find the exact version i have (2.0.71) and used a rpm
> for Fedora.
> Is that a problem ? Anyway, the error message is still the same :-(
> rpm -ql libselinux-utils-2.0.73-1.fc10 said that the package
> consists only of executables and manpages.
> Shouldn't there be some libraries ?
>

Hi,

trying the same from the python shell, i get the same error:
>>> import libvirt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 25, in <module>
    raise lib_e
ImportError: /usr/lib64/libvirt.so.0: undefined symbol: selinux_virtual_domain_context_path
>>>

The lines in the above mentioned file around 25 looks like this:
# On cygwin, the DLL is called cygvirtmod.dll
try:
    import libvirtmod
except ImportError, lib_e:
    try:
        import cygvirtmod as libvirtmod
    except ImportError, cyg_e:
        if str(cyg_e).count("No module named"):
            raise lib_e

raise lib_e is line 25.

Does it try to find a file from cygwin ?

Bernd

Helmholtz Zentrum München
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum
Registergericht: Amtsgericht München HRB 6466
USt-IdNr: DE 129521671




More information about the libvirt-users mailing list