[Pkg-libvirt-maintainers] [RFC] Restart libvirtd.service after installing certain libvirt modules

Sergio Durigan Junior sergiodj at debian.org
Thu Jan 16 20:58:10 GMT 2025


On Thursday, January 16 2025, Andrea Bolognani wrote:

> Sergio,
>
> topics like this one can, and indeed *should*, be discussed on the
> pkg-libvirt-maintainers list. Continuing the thread there.

Thanks for the reply, Andrea, and apologies for not sending the message
to the mailing list.  I guess I had the impression that it was
semi-abandoned.

> On Mon, Jan 13, 2025 at 06:49:48PM -0500, Sergio Durigan Junior wrote:

>> The discussion I want to have with you is whether it makes sense to
>> implement this service restart upon the installation of *certain*
>> modules.  I'm not sure if this has been discussed/decided already; if it
>> has, would you mind sharing the rationale with us, please?
>
> This makes total sense, and I'm kinda surprised that we don't have it
> already.
>
> Restarting libvirtd is supposed to be a completely safe operation,
> even when guests are running. We would be in trouble during regular
> package upgrades otherwise!
>
> There's an old MR by Michael that was going in the right direction:
>
>   https://salsa.debian.org/libvirt-team/libvirt/-/merge_requests/162
>
> Unfortunately I was unable to give it the attention it deserved at
> the time and so, understandably, it's been been closed by the author.
> Sorry Michael!
>
> I think reviving that MR (things have changed a bunch in the
> meantime) and extending it so that it pokes the trigger not just when
> configuration is installed, but also when drivers are added, would be
> the way to go.
>
> I might take a stab at it during the weekend.
>
> Thanks for bringing this topic to my attention!

OK, great!  Thanks for the reply, and it's good that we're all on the
same page.

I don't think Ubuntu should diverge from Debian in this aspect, so IMHO
it's OK to wait for (and help with) your implementation.  But I'll let
Christian answer, since I'm leaving Canonical and he will be taking over
the Ubuntu libvirt package maintenance.

Thanks,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20250116/e4660364/attachment.sig>


More information about the Pkg-libvirt-maintainers mailing list