On Wed, Nov 02, 2016 at 09:23:53PM +0100, Guido Günther wrote:
> On Wed, Nov 02, 2016 at 09:36:21AM +0000, Riku Voipio wrote:
> > libvirt-bin is still referred to in many places, for example in openstack
> > devstack. The replacement -clients and -daemon-system packages are not yet
> > available in the latest ubuntu LTS. This leads to some inconvinient
> > "if ubuntu then else if debian newer than then" checks if we want to 
> > support both.
 
> It's simple as:
> 
>     Depends: libvirt-daemon-system | libvirt-bin, libvirt-clients | 
> libvirt-bin

> so I'd rather not readd the transitional package. I don't want to make
> people's lifes harder than necessary though so if you think it's more
> complex please explain.

That is indeed simple for packages, but devstack case we install packages
from shellscript:

https://github.com/openstack-dev/devstack/blob/1c13be860ba3662bf6c633fc37668f7feacdd3e5/lib/nova_plugins/functions-libvirt#L27

The workaround is probably to add an "if debian && newer than jessie, install
these instead" but it's not exactly pretty. Then again installer scripts often
aren't.

Riku

Reply via email to