On Tue, Jun 26, 2012 at 10:01:08AM -0700, Josh Triplett wrote:
> On Tue, Jun 26, 2012 at 06:08:06PM +0200, Guido Günther wrote:
> > On Tue, Jun 26, 2012 at 01:05:36AM -0700, Josh Triplett wrote:
> > > Package: libvirt-bin
> > > Severity: normal
> > > 
> > > libvirt-bin currently includes both the libvirtd binary (and other
> > > binaries) and the init scripts to start a system instance of libvirtd.
> > > However, many applications using libvirt only need a per-user instance
> > > of libvirtd, not a system instance.  For instance, gnome-boxes currently
> > > depends on libvirt-bin to get libvirtd, but it doesn't need the system
> > > instance.  According to gnome-boxes upstream, "you can connect to remote
> > > instances, but the only thing that is sanely integrated in the UI is
> > > creating local VMs in a per-user libvirtd".  (Anything else, including
> > > the system instance, requires hand-entering a libvirt URI.)
> > > 
> > > So, please split the init scripts for a system-wide libvirtd instance
> > > into a separate package from the binaries.
> > 
> > Does it really make sense to split out the init script? Wouldn't
> > disabling the daemon also do the trick? 
> 
> The gnome metapackage now depends on gnome-boxes, and gnome-boxes
> depends on libvirt-bin.  So, a default install of GNOME will end up with
> a running system instance of libvirtd that nothing uses.  Users
> shouldn't have to manually disable unused daemons that only get pulled
> in by dependencies, especially as part of the default install of
> something like GNOME.
> 
> This seems quite similar to the situation with Apache: gnome-user-share
> depends on apache2.2-bin to get the binaries for the Apache web server,
> which it can configure and run on a per-user basis to share files.  The
> Apache packages ship the init scripts in a separate package, so that
> installing gnome does not result in a running system-wide web server.

I see. I planed something for 0.9.13 like:

So something like:

libvirt-daemon
libvirt-daemon-qemu
libvirt-daemon-xen
...
libvirt-client
libvirt-doc

I'll add:

libvirt-daemon-config

containing the daemon config from /etc as well as the systemd startup
scripts.

This would allow boxes to depend on libvirt-daemon-qemu only pulling in
the one hypervisor. I'm not sure we'll get this in place ffor wheezy
though.
Cheers,
 -- Guido




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to