]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: don't enable cgconfig under systemd
authorEric Blake <eblake@redhat.com>
Mon, 5 Nov 2012 16:48:28 +0000 (09:48 -0700)
committerEric Blake <eblake@redhat.com>
Mon, 5 Nov 2012 17:55:56 +0000 (10:55 -0700)
In Fedora 16, we quit enabling cgconfig because systemd set up
default cgroups that were good enough for our use.  But in F17,
when we switched to systemd, we reverted and started up cgconfig
again.  See also the tail of this thread:
https://www.redhat.com/archives/libvir-list/2012-October/msg01657.html

* libvirt.spec.in (with_systemd): Rely on systemd for cgroups.
(cherry picked from commit b61eadf3c62be4dfa452e04bf851aa5f2e0acb4b)

libvirt.spec.in

index c41d2ddc103b8e346592110113f9e13ef639fb1d..c44a42ddae7c9b66f052539fe61dbee270d9f441 100644 (file)
@@ -976,7 +976,6 @@ done
 if [ $1 -eq 1 ] ; then
     # Initial installation
     /bin/systemctl enable libvirtd.service >/dev/null 2>&1 || :
-    /bin/systemctl enable cgconfig.service >/dev/null 2>&1 || :
 fi
 %else
 %if %{with_cgconfig}