From: dwalsh@redhat.com (Daniel J Walsh)
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, 06 Sep 2012 15:37:10 -0400 [thread overview]
Message-ID: <5048FB66.60908@redhat.com> (raw)
In-Reply-To: <20120906191501.GA9722@siphos.be>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 09/06/2012 03:15 PM, Sven Vermeulen wrote:
> 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 _______________________________________________
> refpolicy mailing list refpolicy at oss.tresys.com
> http://oss.tresys.com/mailman/listinfo/refpolicy
>
/var/lib/misc should just die a horrible death. /var/lib itself is misc.
syslog should store its content under /var/lib/syslog.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlBI+2YACgkQrlYvE4MpobOWeACcCXEHPxEf97w4i3MbYw+yb5aw
q3IAoNeTPB6MFENf0kOtlAbk3LXQCoox
=40Ns
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2012-09-06 19:37 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
2012-09-06 19:23 ` Dominick Grift
2012-09-06 19:37 ` Daniel J Walsh [this message]
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=5048FB66.60908@redhat.com \
--to=dwalsh@redhat.com \
--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.