From: sven.vermeulen@siphos.be (Sven Vermeulen)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH v2 2/4] Allow syslogd to create /var/lib/syslog and /var/lib/misc/syslog-ng.persist
Date: Thu, 6 Sep 2012 21:15:02 +0200 [thread overview]
Message-ID: <20120906191501.GA9722@siphos.be> (raw)
In-Reply-To: <1346957238.15262.90.camel@d30.localdomain>
On Thu, Sep 06, 2012 at 08:47:18PM +0200, Dominick Grift wrote:
> On Thu, 2012-09-06 at 19:35 +0200, Sven Vermeulen wrote:
> > If the /var/lib/syslog directory does not exist, then syslog-ng (running in
> > syslogd_t) will attempt to create the directory.
>
> > +files_var_lib_filetrans(syslogd_t, syslogd_var_lib_t, { file dir })
>
> Why file trans on a file?
You asked that the previous time as well (at least you're consistent ;-) and
I hoped a bit that the commit information (and the mail reply) was
sufficient.
The file transition is for /var/lib/misc/syslog-ng.persist (and
/var/lib/misc/syslog-ng.persist-) as the /var/lib/misc location itself is
still var_lib_t.
Wkr,
Sven Vermeulen
next prev parent reply other threads:[~2012-09-06 19:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-06 17:35 [refpolicy] [PATCH v2 0/4] Small set of updates Sven Vermeulen
2012-09-06 17:35 ` [refpolicy] [PATCH v2 1/4] Puppet uses mount output for verification Sven Vermeulen
2012-09-06 17:35 ` [refpolicy] [PATCH v2 2/4] Allow syslogd to create /var/lib/syslog and /var/lib/misc/syslog-ng.persist Sven Vermeulen
2012-09-06 18:47 ` Dominick Grift
2012-09-06 19:15 ` Sven Vermeulen [this message]
2012-09-06 19:23 ` Dominick Grift
2012-09-06 19:37 ` Daniel J Walsh
2012-09-07 12:34 ` Christopher J. PeBenito
2012-09-06 17:35 ` [refpolicy] [PATCH v2 3/4] Gentoo's openrc does not require initrc_exec_t for runscripts anymore Sven Vermeulen
2012-09-06 17:35 ` [refpolicy] [PATCH v2 4/4] Allow init scripts to read courier configuration Sven Vermeulen
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=20120906191501.GA9722@siphos.be \
--to=sven.vermeulen@siphos.be \
--cc=refpolicy@oss.tresys.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.