cloning to F16
+++ This bug was initially created as a clone of Bug #694403 +++
Description of problem:
When I did a yum update today in Fedora 15 branch, I get
" Updating : libvirt-client-0.8.8-4.fc15.x86_64 14/132
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overriden by native
systemd configuration.
Updating : libvirt-python-0.8.8-4.fc15.x86_64 15/132
"
Looking at the spec, it uses chkconfig --list and using that provides this output. You should be using systemctl instead and add a dependency. If you are migrated services from sysv to systemd, refer to
https://fedoraproject.org/wiki/TomCallaway/Systemd_Revised_Draft
--- Additional comment from notting on 2011-04-07 08:19:11 MDT ---
Really, it should just do 'chkconfig --level $level <service>' to check if a service is enabled. The scriptlet as is today will already fail if you're running in a non-english locale, for example.
--- Additional comment from eblake on 2011-12-07 21:01:46 MST ---
This should be backported to F15, and cloned to F16.
commit fea83dde7b7e0725e4353a2cc5b6e5c7c61cb294
Author: Eric Blake <eblake>
Date: Tue Dec 6 16:16:34 2011 -0700
spec: don't use chkconfig --list
https://bugzilla.redhat.com/show_bug.cgi?id=694403 reports that
the specfile is incorrectly checking for a running libvirt-guests
service. For example,
$ LC_ALL=es_ES chkconfig --list libvirt-guests
libvirt-guests 0:desactivado 1:desactivado 2:desactivado 3:activo 5:activo 6:desactivado
will fail to find 5:on, even though it is active. But chkconfig
already has a mode where you can silently use the exit status to
check for an active service.
* libvirt.spec.in (%post): Use simpler chkconfig options, to avoid
issues with localization.
Comment 1Fedora Update System
2011-12-20 02:08:38 UTC
Comment 2Fedora Update System
2011-12-22 22:34:45 UTC
Package libvirt-0.9.6-4.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libvirt-0.9.6-4.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-17267/libvirt-0.9.6-4.fc16
then log in and leave karma (feedback).
Comment 3Fedora Update System
2012-01-05 20:59:27 UTC
libvirt-0.9.6-4.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.