public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: LC Bruzenak <lenny@magitekltd.com>
Cc: Linux Audit <linux-audit@redhat.com>
Subject: Re: restorecon resets files
Date: Mon, 06 Oct 2008 16:05:02 -0400	[thread overview]
Message-ID: <48EA6F6E.70508@redhat.com> (raw)
In-Reply-To: <1223301787.15037.228.camel@homeserver>

LC Bruzenak wrote:
> # ls -Z /var/run/auditd.pid /var/run/audispd_events
> srw-r-----  root root system_u:object_r:audisp_var_run_t:SystemHigh /var/run/audispd_events
> -rw-r--r--  root root system_u:object_r:auditd_var_run_t:SystemHigh /var/run/auditd.pid
> 
> # restorecon -rv /var/run/
> restorecon reset /var/run/audispd_events context system_u:object_r:audisp_var_run_t:s15:c0.c1023->system_u:object_r:audisp_var_run_t:s0
> restorecon reset /var/run/auditd.pid context system_u:object_r:auditd_var_run_t:s15:c0.c1023->system_u:object_r:auditd_var_run_t:s0
> 
> [root@hugo ~]# ls -Z /var/run/auditd.pid /var/run/audispd_events
> srw-r-----  root root system_u:object_r:audisp_var_run_t:SystemLow /var/run/audispd_events
> -rw-r--r--  root root system_u:object_r:auditd_var_run_t:SystemLow /var/run/auditd.pid
> 
> I assume that both these files should be kept at SystemHigh?
> 
> selinux-policy-mls-3.4.2-14.fc9.noarch
> 
> Thx,
> LCB.
> 
Yes that is a bug.

      reply	other threads:[~2008-10-06 20:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-06 14:03 restorecon resets files LC Bruzenak
2008-10-06 20:05 ` Daniel J Walsh [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=48EA6F6E.70508@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=lenny@magitekltd.com \
    --cc=linux-audit@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox