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#41545 - [libvirt] libvirt-guests config is not applied

Attached to Project: Community Packages
Opened by abc (Xiflite) - Tuesday, 12 August 2014, 22:22 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 27 February 2015, 12:51 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The options provided in the config file do not work. E.g. changing "LIBVIRTD_STOP_ACTION" to shutdown let the VMs still suspend. You need to add a redhat like config entry to make the changes taking affect.

ON_SHUTDOWN=shutdown
LIBVIRTD_STOP_ACTION=suspend

This config does a shutdown.

Package: Latest

Steps to reproduce:
1. Setup libirt and one autostart VM
2. edit /etc/conf.d/libvirt-guests
3. change LIBVIRTD_STOP_ACTION=suspend to shutdown
4. activate libvirt-guests systemd service
5. reboot host

The vm will suspend instead of shutdown.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 27 February 2015, 12:51 GMT
Reason for closing:  No response
Additional comments about closing:  probaly fixed
Comment by Doug Newgard (Scimmia) - Wednesday, 13 August 2014, 05:29 GMT
Please do not just say "Package: Latest". Things change constantly in Arch, and this becomes meaningless very quickly.
Comment by abc (Xiflite) - Wednesday, 13 August 2014, 06:28 GMT
Package: community/libvirt 1.2.7-1

Sorry
Comment by Jan Alexander Steffens (heftig) - Wednesday, 27 August 2014, 13:52 GMT
The shipped conf.d files need fixing up. The following settings seem to be unused:

libvirtd.conf.d:
LIBVIRTD_CONFIG
KRB5_KTNAME
(only LIBVIRTD_ARGS remains)

libvirtd-guests.conf.d:
LIBVIRTD_STOP_ACTION (replaced by ON_SHUTDOWN)
LIBVIRTD_URI (replaced by URIS)
LIBVIRTD_BYPASS_CACHE (replaced by BYPASS_CACHE)
LIBVIRTD_START_DELAY (replaced by START_DELAY)
LIBVIRTD_SHUTDOWN_TIMEOUT (replaced by SHUTDOWN_TIMEOUT)
(nothing remains; there's also ON_BOOT, PARALLEL_SHUTDOWN, CONNECT_RETRIES and RETRIES_SLEEP)
Comment by Jan Alexander Steffens (heftig) - Wednesday, 27 August 2014, 13:56 GMT
Also, I think LIBVIRTD_ARGS="-p /var/run/libvirtd.pid" might be inappropriate now, as the daemon uses Type=notify.

Perhaps just kill off libvird.conf.d from the package.
Comment by Sergej Pupykin (sergej) - Monday, 29 September 2014, 11:02 GMT
I've changed conf.d files, should be fixed in 1.2.8-2

Loading...