[libvirt] Libvirt segmentation fault on non root user

Vasco Silva vasco.antunes.silva at gmail.com
Tue Jul 20 13:31:37 UTC 2010


Thanks for answer Daniel.

I just install the last version of libvirtd, and now, it's working as
expected.

Thanks,
VS

On Tue, Jul 20, 2010 at 12:09 PM, Daniel P. Berrange <berrange at redhat.com>wrote:

> On Tue, Jul 20, 2010 at 01:56:24AM +0100, Vasco Silva wrote:
> > Dear all,
> >
> > Im trying to connet to libvirtd on my local machine, but i only can
> contact
> > as root user.
> >
> > When i run virsh command as root user, all works as expected:
> >
> > [root at localhost libvirt]# virsh list
> >  Id Name                 State
> > ----------------------------------
> >
> > When i try to run virsh as user, i get the following errors:
> >
> > [user at localhost ~]$ virsh list
> > error: unable to connect to '@/home/user/.libvirt/libvirt-sock', libvirtd
> > may need to be started: Connection refused
> > error: failed to connect to the hypervisor
> >
> > on /var/log/messages, i found a segmentation fault:
> > Jul 20 02:46:00 localhost kernel: libvirtd[22177]: segfault at 28 ip
> > 0000000000496ca7 sp 00007f72a328bdf8 error 4 in libvirtd[400000+cc000]
> >
> >
> > on my /etc/libvirt/libvirtd.conf, i have uncommented these 3 entries:
> >
> > listen_tls = 0
> > listen_tcp = 1
> > auth_tcp = "none"
> >
> > my system:
> > Linux localhost 2.6.33.5-desktop-2xcm #1 SMP Tue Jun 22 15:53:23 WEST
> 2010
> > x86_64 x86_64 x86_64 GNU/Linux   - Mandriva Free 2010
> > libvirt-utils-0.8.0-2mdv2010.1
> >
> > I don't know how to resolve this segmentation fault, and what is the
> cause.
> > Any help will be appreciated.
>
> That's  a known bug in that version of libvirtd. Unfortunately I can't
> remember what changeset fixing it was. If you get a stack trace from
> it then it might remind me
>
> Daniel
> --
> |: Red Hat, Engineering, London    -o-
> http://people.redhat.com/berrange/ :|
> |: http://libvirt.org -o- http://virt-manager.org -o-
> http://deltacloud.org :|
> |: http://autobuild.org        -o-
> http://search.cpan.org/~danberr/ <http://search.cpan.org/%7Edanberr/> :|
> |: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505
> :|
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100720/5621f066/attachment-0001.htm>


More information about the libvir-list mailing list