Le Tue, 14 Jan 2014 07:56:43 +0100,
Guido Günther <a...@sigxcpu.org> a écrit :

> Hi Laurent,
> On Sun, Jan 12, 2014 at 12:45:03PM +0100, Laurent Bigonville wrote:
> > Le Wed, 27 Nov 2013 08:08:22 +0100,
> > Guido Günther <a...@sigxcpu.org> a écrit :
> > 
> > > On Wed, Nov 27, 2013 at 07:36:31AM +0100, Laurent Bigonville
> > > wrote:
> > > > Package: libvirt-bin
> > > > Version: 1.1.4-1
> > > > Severity: normal
> > > > 
> > > > Hi,
> > > > 
> > > > Could you please rename back the libvirt-bin.service systemd
> > > > service file to libvirtd.service and use a symlink
> > > > (libvirtd.service -> libvirt-bin.service) or add
> > > > Alias=libvirt-bin.service in the service file instead.
> > > 
> > > I've actually done this already here a couple of weeks ago to
> > > reduce the upstream diff but didn't get around to test if the
> > > upgrade works as expected when the unit name changes (since we
> > > don't stop the service in the preinst). Now that I read the below
> > > it was a good idea to not upload without proper testing.
> > 
> > OK, we had an issue in quasi-similar situation with
> > network-manager, see #734460)
> > 
> > systemd when stopping the service, is looking in the cgroups for the
> > canonical name of the .service file. If it cannot find it, it thinks
> > the service is dead. The canonical name of the service would change
> > during the upgrade and systemd will be confused.
> 
> Thinking about this: wouldn't it be simpler (and more consistent with
> the sysv scripts) if we simply add a libvirt alias)?

I'm not sure what you mean here. I don't think any changes on the LSB
initscript is required here.

Renaming the .service file back to the original and adding a symlink
that matches the name of the initscript should be enough.

Cheers,

Laurent Bigonville


--
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