Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Virt-Manager/libvirt: No libvirtd?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Naughtyus
Guru
Guru


Joined: 14 Jul 2002
Posts: 463
Location: Vancouver, BC

PostPosted: Tue Aug 26, 2008 6:40 pm    Post subject: Virt-Manager/libvirt: No libvirtd? Reply with quote

I'm trying to set up virt-manager to use as a front end for KVM. I've emerged virt-manager, and libvirt, and all their dependencies, but when I try to actually run virt-manager, I get an error telling me I need to start libvirtd.

Unfortunately, /etc/init.d/libvirtd (or variations of this) doesn't exist. Did I miss something obvious?
Back to top
View user's profile Send private message
nextgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2004
Posts: 107
Location: Montreal, Quebec, Canada

PostPosted: Wed Aug 27, 2008 2:06 am    Post subject: Reply with quote

Same thing here.

I'm on amd64.
Back to top
View user's profile Send private message
jamescondron
n00b
n00b


Joined: 27 Aug 2008
Posts: 7
Location: UK

PostPosted: Wed Aug 27, 2008 2:13 am    Post subject: Reply with quote

Where is the code trying to read from? It is written in python I seem to remember, so simple enough to scan through
Back to top
View user's profile Send private message
Naughtyus
Guru
Guru


Joined: 14 Jul 2002
Posts: 463
Location: Vancouver, BC

PostPosted: Wed Aug 27, 2008 4:24 pm    Post subject: Reply with quote

Which code? Virt-Manager?

My understanding from running it on other distros is that usually libvirtd is a service that does need to be started, so it would make sense that it would ask for it if it isn't running (which it isn't)
Back to top
View user's profile Send private message
Naughtyus
Guru
Guru


Joined: 14 Jul 2002
Posts: 463
Location: Vancouver, BC

PostPosted: Wed Aug 27, 2008 4:32 pm    Post subject: Reply with quote

The ChangeLog in /usr/portage/app-emulation/libvirt shows this:

*libvirt-0.4.4 (08 Jul 2008)

08 Jul 2008; Lance Albertson <ramereth@gentoo.org>
+files/libvirt-0.4.4-kvm-cdrom-fix.patch, +files/libvirtd.confd,
+files/libvirtd.init, metadata.xml, +libvirt-0.4.4.ebuild:
* Bump version
* Add init scripts for libvirtd


I believe I'm running -r1, so maybe there is a disconnect there. I'll try to figure out the differences between 0.4.4 and 0.4.4-r1
Back to top
View user's profile Send private message
Naughtyus
Guru
Guru


Joined: 14 Jul 2002
Posts: 463
Location: Vancouver, BC

PostPosted: Wed Aug 27, 2008 4:50 pm    Post subject: Reply with quote

Ok, so my fix was to use 0.4.4 instead of 0.4.4-r1

I don't know if this was the proper way to do it or not, but I essentially copied the 0.4.4 ebuild to my overlay dir, renamed it to 0.4.4-r1, did the rest of the overlay junk, and emerged libvirt again.
Back to top
View user's profile Send private message
nextgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2004
Posts: 107
Location: Montreal, Quebec, Canada

PostPosted: Tue Sep 09, 2008 12:34 am    Post subject: Reply with quote

My fix was:
Code:
echo "app-emulation/libvirt lvm server" >> /etc/portage/package.use

Probably the "lvm" use flag isn't necessary, but I want lvm support as well as server support.
Back to top
View user's profile Send private message
dambacher
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 289
Location: Germany

PostPosted: Sun Sep 21, 2008 6:55 am    Post subject: Reply with quote

Same with me here.
it's the "server" flag wich is activating libvirtd according to the useflags,
But did anybody of you get the group rights correct?
/damabcher
Back to top
View user's profile Send private message
nextgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2004
Posts: 107
Location: Montreal, Quebec, Canada

PostPosted: Mon Sep 22, 2008 2:47 am    Post subject: Reply with quote

dambacher wrote:
But did anybody of you get the group rights correct?

I can't create a new virtual machine with a regular user. Seems to work with root though. I haven't looked into this permission issue yet, but I'd be interested to get that fixed.
Back to top
View user's profile Send private message
dambacher
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 289
Location: Germany

PostPosted: Mon Sep 22, 2008 7:06 pm    Post subject: Reply with quote

Im working on this, too - after I sorted out which kernel module I missed yesterday.
But virt-manager is the best ui I found until now. And works and promising

/dambacher
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum