From 3352f974890185794ac1990a5927593c17f4d2cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Tue, 18 May 2021 17:13:22 +0200 Subject: [PATCH] remove unnecessary cgred group and setgid on binaries --- libcgroup.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libcgroup.spec b/libcgroup.spec index c829cfd..1b9b326 100644 --- a/libcgroup.spec +++ b/libcgroup.spec @@ -5,7 +5,7 @@ Summary: Library to control and monitor control groups Name: libcgroup Version: 2.0 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ URL: http://libcg.sourceforge.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-v%{version}.tar.gz @@ -111,9 +111,6 @@ install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig make -C tests/gunit check %endif -%pre -getent group cgred >/dev/null || groupadd -r cgred - %post tools %systemd_post cgconfig.service @@ -155,8 +152,8 @@ getent group cgred >/dev/null || groupadd -r cgred %{_sbindir}/cgconfigparser %{_sbindir}/cgclear %{_bindir}/cgsnapshot -%attr(2755, root, cgred) %{_bindir}/cgexec -%attr(2755, root, cgred) %{_bindir}/cgclassify +%{_bindir}/cgclassify +%attr(0755, root, root) %{_bindir}/cgexec %attr(0644, root, root) %{_mandir}/man1/* %attr(0644, root, root) %{_mandir}/man5/* %attr(0644, root, root) %{_mandir}/man8/* @@ -179,6 +176,9 @@ getent group cgred >/dev/null || groupadd -r cgred %{_libdir}/pkgconfig/libcgroup.pc %changelog +* Tue May 18 2021 Nikola Forró - 2.0-2 +- remove unnecessary cgred group and setgid on binaries + * Sun May 16 2021 Nikola Forró - 2.0-1 - resolves: #1953968 new upstream release 2.0