selinux-refpolicy.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris PeBenito <pebenito@ieee.org>
To: Luis Ressel <aranea@aixah.de>, selinux-refpolicy@vger.kernel.org
Subject: Re: [PATCH 1/2] Add fc for /var/lib/misc/logrotate.status
Date: Sat, 13 Oct 2018 13:34:15 -0400	[thread overview]
Message-ID: <b52a0ac8-a1c8-3514-1df2-dc22838b4530@ieee.org> (raw)
In-Reply-To: <20181012222305.10844-1-aranea@aixah.de>

On 10/12/2018 06:23 PM, Luis Ressel wrote:
> Some distros configure logrotate to put its status file somewhere else
> than the default /var/lib/logrotate.status. Debian puts it in
> /var/lib/logrotate/, and Gentoo uses /var/lib/misc/.
> ---
>   policy/modules/admin/logrotate.fc | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/policy/modules/admin/logrotate.fc b/policy/modules/admin/logrotate.fc
> index dac1af39..cd43ab28 100644
> --- a/policy/modules/admin/logrotate.fc
> +++ b/policy/modules/admin/logrotate.fc
> @@ -9,4 +9,4 @@
>   /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\.status	--	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)
> 

Merged.

-- 
Chris PeBenito

      parent reply	other threads:[~2018-10-13 17:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-12 22:23 [PATCH 1/2] Add fc for /var/lib/misc/logrotate.status Luis Ressel
2018-10-12 22:23 ` [PATCH 2/2] Realign logrotate.fc, remove an obvious comment Luis Ressel
2018-10-13 17:34   ` Chris PeBenito
2018-10-13 17:34 ` Chris PeBenito [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b52a0ac8-a1c8-3514-1df2-dc22838b4530@ieee.org \
    --to=pebenito@ieee.org \
    --cc=aranea@aixah.de \
    --cc=selinux-refpolicy@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).