Red Hat Bugzilla – Bug 761329
should use systemctl instead of chkconfig --list
Last modified: 2012-01-05 15:59:27 EST
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
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
--- Additional comment from email@example.com 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 firstname.lastname@example.org on 2011-12-07 21:01:46 MST ---
This should be backported to F15, and cloned to F16.
Author: Eric Blake <email@example.com>
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.
libvirt-0.9.6-4.fc16 has been submitted as an update for Fedora 16.
* 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:
then log in and leave karma (feedback).
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.