From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96C2EC433E0 for ; Thu, 4 Mar 2021 16:49:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6B1CB64F40 for ; Thu, 4 Mar 2021 16:49:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238241AbhCDQsU (ORCPT ); Thu, 4 Mar 2021 11:48:20 -0500 Received: from agnus.defensec.nl ([80.100.19.56]:55398 "EHLO agnus.defensec.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238359AbhCDQsR (ORCPT ); Thu, 4 Mar 2021 11:48:17 -0500 Received: from brutus (brutus.lan [IPv6:2001:985:d55d::438]) by agnus.defensec.nl (Postfix) with ESMTPSA id E792D2A0CF2; Thu, 4 Mar 2021 17:47:35 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 agnus.defensec.nl E792D2A0CF2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=defensec.nl; s=default; t=1614876456; bh=0Ve+xXBHTbEw0fPFu0O/xod8NU6BElrTOOdos1pHxaI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=aHoAMWEN/nTkmNwMbvdgtAvtDkWkK3LEE3dHLJ1SpfWUBQ0XO6E9WsKCaKw1N3iUP Y20/xeiZR/dCc2MJk2iXcJvRFVODaY0siH0LVZtRFrDidf1D7DBRq+YVZsdC6mVSh9 Dl34nwKaysyUsRg0bPT4MVHQEMT7/OyZhnUK1yM4= From: Dominick Grift To: Russell Coker Cc: selinux-refpolicy@vger.kernel.org Subject: Re: cgroups References: <201858869.AyTo3W3VYL@liv> Date: Thu, 04 Mar 2021 17:47:32 +0100 In-Reply-To: <201858869.AyTo3W3VYL@liv> (Russell Coker's message of "Thu, 04 Mar 2021 22:21:44 +1100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org Russell Coker writes: > https://sourceforge.net/projects/libcg/files/ > > Above seems to be the source for the programs listed in policy/modules/ > services/cgroup.fc, upstream has no changes since 2014 and the package in > Debian doesn't support cgroup2 so is pretty much useless. > > Is there any reason for not deleting policy/modules/services/cgroup.* from > refpolicy? libgroup is indeed probably history. Although I vaguely recall it still being used somewhere out there. I wouldnt mind removing it. > > Also as an aside what is the best way of managing cgroups and do we have > policy that works with it? I suppose depends who you ask. Many nowayday's will probably say that systemd should be the only cgroup manager. On systems with systemd i generally use systemd, one my openwrt powered router i just use shell and (init)?scripts -- gpg --locate-keys dominick.grift@defensec.nl Key fingerprint = FCD2 3660 5D6B 9D27 7FC6 E0FF DA7E 521F 10F6 4098 https://sks-keyservers.net/pks/lookup?op=get&search=0xDA7E521F10F64098 Dominick Grift