[libvirt] [PATCH] spec: F15 still uses cgconfig
Laine Stump
laine at laine.org
Tue Sep 27 05:35:48 UTC 2011
On 09/26/2011 04:31 PM, Eric Blake wrote:
> Commit ecd8725c dropped attempts to probe the cgconfig service on
> new enough Fedora where systemd took over that aspect of the system,
> but mistakenly used F14 instead of F15 as the cutoff point.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=741358
>
> * libvirt.spec.in (with_cgconfig): Check cgconfig service in F15.
> ---
> libvirt.spec.in | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index c0ea898..03d6f1f 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -894,9 +894,9 @@ done
> %endif
>
> %if %{with_cgconfig}
> -# Starting with Fedora 15, systemd automounts all cgroups, and cgconfig is
> +# Starting with Fedora 16, systemd automounts all cgroups, and cgconfig is
> # no longer a necessary service.
> -%if 0%{?fedora}<= 14 || 0%{?rhel}<= 6
> +%if 0%{?fedora}<= 15 || 0%{?rhel}<= 6
> if [ "$1" -eq "1" ]; then
> /sbin/chkconfig cgconfig on
> fi
ACK
More information about the libvir-list
mailing list