[Pkg-libvirt-maintainers] Bug#757293: libvirt-daemon-system (1.2.7-3) fails to start

Laurent Bigonville bigon at debian.org
Thu Aug 7 08:28:29 UTC 2014


Le Thu, 07 Aug 2014 09:24:32 +0200,
Laurent Bigonville <bigon at debian.org> a écrit :

> Package: libvirt-daemon-system
> Followup-For: Bug #757293
> 
> Hello,
> 
> MMMh, my bad I guess
> 
> As the libvirt-bin package has been renamed to libvirt-daemon-system,
> the preinst script part that stop the daemon cleanly is not executed
> since libvirt-daemon-system was not installed before...
> 
> What could be done:
> 
>  - Remove the -nl part of the version comparaison, this will execute
> the stop and the deb-systemd-helper actions even if the package was
> not installed before (we need to be sure that d-s-h is not giving us
> an error if the old service file is inexistant)
>  - Try to guess what is last configured version of libvirt-bin package
>    instead of using the version passed by dpkg
>  - Move (or duplicate) the code in libvirt-bin preinst
> 
> I'm wondering if with the 2nd and 3rd option we might not run in cases
> (libvirt-bin being removed at the same time libvirt-daemon-system is
> being installed) where the stop and d-s-h is not executed as it should
> (might be wrong here).

You probably also want to increase the version in the comparaison to be
sure that the deb-systemd-helper actions are properly executed too.



More information about the Pkg-libvirt-maintainers mailing list