Libvirt does not work correctly anymore on my gentoo


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Libvirt does not work correctly anymore on my gentoo
# 1  
Old 05-13-2013
[solved] Libvirt does not work correctly anymore on my gentoo

Hi,

Since a year my libvirtd does not work anymore on my Gentoodesktop. In the meantime a used virtualbox. But I would like to have back libvirt. The problem was after libvirt should not only work with root privileges. I deinstalled all things with libvirt an kvm. I removed all things from /var and /etc manually. But all this has not helped. How the problem to appear?

I can start "kvm only" as every user. This works. So ok there is no technical problem with the virtualization. I can also start the libvirt daemon in the init. I can open virt-manager and connect to the hypervisor. I can start a virtual machine to create, but i can't and this process. When i click to finish the creationwizard, it creates an second libvirtd process. And it hangs.

Code:
ps aux | grep libvirt
root     22754  1.4  0.0 897848 10224 ?        Sl   17:25   0:07 /usr/sbin/libvirtd -d
root     23969  0.0  0.0 897860  5892 ?        S    17:33   0:00 /usr/sbin/libvirtd -d

So, ok i can kill the process. But this does not help. I don't know what i can to. To reinstall this hole system is not really the way.

Code:
libvirt 1.0.3-r2
qemu 1.2.2-r3

Thanks for every hint.

Regards
darktux

Last edited by darktux; 09-07-2013 at 07:38 PM.. Reason: Code tags
# 2  
Old 05-14-2013
Tried 1.05rc1? Index of /sources
# 3  
Old 05-14-2013
I've tested this version. Same result.
# 4  
Old 05-16-2013
Maybe you can get better help from the libvirt guys: libvirt: Bug reporting

Even if it does not like the current system, it should not hang. I wonder if you can strace it to see what it is calling. I am not sure it is as fine grained as Solaris "truss -u'*' ". Also, can you turn on debugging so that it logs progress before the hang?
# 5  
Old 09-07-2013
I've changed from openrc to systemd and libvirt works fine. Crazy...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Why does this awk script not work correctly?

I have a large database with English on the left hand side and Indic words on the left hand. It so happens that since the Indic words have been entered by hand, there are duplicates in the entries. The structure is as under: English headword=Indic gloss,Indic gloss A small sample will... (6 Replies)
Discussion started by: gimley
6 Replies

2. Shell Programming and Scripting

Work with setsid to open a session and close it correctly

I would like to create the following script: run a python script with setsid python may or may not fail with exception check if all of the group processes were terminated correctly if not, kill the remaining processes How can I do that? Thanks a lot (3 Replies)
Discussion started by: ASF Studio
3 Replies

3. Gentoo

LDAP-Auth does not work correctly with systemd

Hi, since the upgrade to Gnome 3.6 (now i have 3.8) the authentication over LDAP stops working. The whole machine does not start anymore. The machine boot, but no gdm and no X. I can login, with root, but then the tty hangs. When i look at ttyF12 i see a lot of systemd service the runs random,... (1 Reply)
Discussion started by: darktux
1 Replies

4. SCO

Set NIC correctly , but the network does not work

I'm trying to virtualize an instance of SCO Open Server 5.0.2c in VirtualBox (called VM- A) , I can not configure the network (NIC). The NIC I'm using is PCnet -FAST III (Am79C973 ) (this NIC works with VirtualBox + SCO 5.0.5M) When I add from ' Add new LAN adapter' I detects the NIC... (2 Replies)
Discussion started by: flako
2 Replies

5. Cybersecurity

Experience with libvirt netfilter API

Hi all, I would like to get some ideas and opinions on matter of libvirt netfilter application in KVM environment. I am looking for some easy way to control it with an API and possible experience with that and its performance in real life application. Thanks for all ideas (0 Replies)
Discussion started by: smoofy
0 Replies

6. Shell Programming and Scripting

Color prompt with file numbers does not work anymore

I have used this color prompt on my servers for long time, in file ~\.bashrc Black="\" Dark="\" Blue="\" LBlue="\" Green="\" LGreen="\" Cyan="\" LCyan="\" Red="\" LRed="\" Purple="\" LPurple="\" Brown="\" Yellow="\" LGray="\" White="\" Reset="\" PS1="$Yellow\u@\h $LBlue\w... (4 Replies)
Discussion started by: Jotne
4 Replies

7. UNIX for Advanced & Expert Users

pkill won't work on firefox anymore

Can someone tell me why pkill won't work on firefox anymore? (11 Replies)
Discussion started by: cokedude
11 Replies

8. Programming

Cannot get dbx to work correctly with a running process

Hi everyone, I've been struggling with this for a few weeks now. I'm trying to debug a running process with dbx on an AIX box. The command I'm using is 'dbx -a <pid> core' There is a function I can perform in my application that crashes this process, but it does not show up as crashed in... (0 Replies)
Discussion started by: ctote
0 Replies

9. UNIX for Dummies Questions & Answers

connection doesn't work anymore

Hello, first of all, I want to make myself clear about my language. I'm brazilian, so I ask you all to understand if i commit any mistake with the grammar. Here is the problem. Some days ago I needed to use a "sh" command in the Terminal (I use a Mac OSX 10.5.6) followed by a file... (0 Replies)
Discussion started by: anubisbr
0 Replies

10. SuSE

vsft doesn't work correctly

I install vsftpd server on 2 SUSE 10.2 servers. The first works perfectly, but the second doesn't work how I expect. The second works only over local network and doesn't over internet. The vsftpd.conf and ../xinetd.d/vsftpd are the same in 2 servers. The only different was when I threw to log in... (1 Reply)
Discussion started by: zhivko.neychev
1 Replies
Login or Register to Ask a Question