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
Thanks; pushed (actually, I merged 1/1 and 2/1 into a single patch,
since they were both short).
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library