Re: Libvirt segmentation fault on non root user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@localhost libvirt]# virsh list
>  Id Name                 State
> ----------------------------------
> 
> When i try to run virsh as user, i get the following errors:
> 
> [user@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/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]