Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#77458 - Enable libvirt-guests service by default

Attached to Project: Community Packages
Opened by Jan (kloolk) - Saturday, 11 February 2023, 12:00 GMT
Last edited by Toolybird (Toolybird) - Saturday, 11 February 2023, 22:03 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The libvirt-guests systemd service which is installed as part of the libvirt package is not enabled by default.
To my understanding this leads to all running guests being forced off by default (instead of a graceful shutdown) when the host system is shutdown.

I think this is a dangerous default that can potentially lead to data corruption on guests and thus the default should be changed to enabled for this service.

This will cause running guests to be automatically resumed/started when the host is booted again, even if these guests don't have the autostart option set.
However, I think this changed behavior is preferable over the potential data loss, since a forced off by default is probably not a behavior that users expect.
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 11 February 2023, 22:03 GMT
Reason for closing:  Won't implement
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Saturday, 11 February 2023, 22:02 GMT
In general, Arch leaves it up to the user/sysadmin to configure their own system and enable systemd units etc. libvirt-guests.service is specifically mentioned in the wiki [1] and Arch users are expected to read the relevant docs.

[1] https://wiki.archlinux.org/title/Libvirt#Manage_a_domain

Loading...