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=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 3CA79C6787C for ; Fri, 12 Oct 2018 22:57:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A32A82087D for ; Fri, 12 Oct 2018 22:57:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A32A82087D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aixah.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725812AbeJMGcD (ORCPT ); Sat, 13 Oct 2018 02:32:03 -0400 Received: from wp260.webpack.hosteurope.de ([80.237.133.29]:53356 "EHLO wp260.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725785AbeJMGcC (ORCPT ); Sat, 13 Oct 2018 02:32:02 -0400 X-Greylist: delayed 2060 seconds by postgrey-1.27 at vger.kernel.org; Sat, 13 Oct 2018 02:32:02 EDT Received: from hsi-kbw-046-005-222-111.hsi8.kabel-badenwuerttemberg.de ([46.5.222.111] helo=vega.skynet.aixah.de); authenticated by wp260.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1gB5pv-0005Yb-7L; Sat, 13 Oct 2018 00:23:11 +0200 Received: by vega.skynet.aixah.de (Postfix, from userid 1000) id E4194260276; Sat, 13 Oct 2018 00:23:10 +0200 (CEST) From: Luis Ressel To: selinux-refpolicy@vger.kernel.org Subject: [PATCH 2/2] Realign logrotate.fc, remove an obvious comment Date: Sat, 13 Oct 2018 00:23:05 +0200 Message-Id: <20181012222305.10844-2-aranea@aixah.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181012222305.10844-1-aranea@aixah.de> References: <20181012222305.10844-1-aranea@aixah.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;aranea@aixah.de;1539385044;db0a9223; X-HE-SMSGID: 1gB5pv-0005Yb-7L Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org --- policy/modules/admin/logrotate.fc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/policy/modules/admin/logrotate.fc b/policy/modules/admin/logrotate.fc index cd43ab28..fd5497f3 100644 --- a/policy/modules/admin/logrotate.fc +++ b/policy/modules/admin/logrotate.fc @@ -1,12 +1,11 @@ /etc/cron\.(daily|weekly)/logrotate -- gen_context(system_u:object_r:logrotate_exec_t,s0) /etc/cron\.(daily|weekly)/sysklogd -- gen_context(system_u:object_r:logrotate_exec_t,s0) -/usr/bin/logrotate -- gen_context(system_u:object_r:logrotate_exec_t,s0) +/usr/bin/logrotate -- gen_context(system_u:object_r:logrotate_exec_t,s0) -# Systemd unit file -/usr/lib/systemd/system/[^/]*logrotate.* -- gen_context(system_u:object_r:logrotate_unit_t,s0) +/usr/lib/systemd/system/[^/]*logrotate.* -- gen_context(system_u:object_r:logrotate_unit_t,s0) -/usr/sbin/logrotate -- gen_context(system_u:object_r:logrotate_exec_t,s0) +/usr/sbin/logrotate -- gen_context(system_u:object_r:logrotate_exec_t,s0) -/var/lib/logrotate(/.*)? gen_context(system_u:object_r:logrotate_var_lib_t,s0) +/var/lib/logrotate(/.*)? gen_context(system_u:object_r:logrotate_var_lib_t,s0) /var/lib/(misc/)?logrotate\.status -- gen_context(system_u:object_r:logrotate_var_lib_t,s0) -- 2.19.1