All of lore.kernel.org
 help / color / mirror / Atom feed
From: dwalsh@redhat.com (Daniel J Walsh)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] Two issues with restorecon
Date: Fri, 04 Feb 2011 08:55:04 -0500	[thread overview]
Message-ID: <4D4C0538.3030904@redhat.com> (raw)
In-Reply-To: <db2afae1c44a4172df69f0f7862af758@hardeman.nu>

On 02/04/2011 08:14 AM, David H?rdeman wrote:
> Two related issues I just discovered with restorecon (sorry, I'm not close
> to my private laptop so I can't provide patches):
> 
> 1) When running "restorecon -r /", restorecon (setfiles) wants to write an
> audit message that the whole fs is being relabeled (only happens when doing
> it on /), but the refpolicy doesn't seem to give setfiles_t access to write
> audit messages which I guess it should.
> 
> 2) When running "restorecon -r -n /", restorecon (setfiles) wants to write
> the same audit message as above - which would be misleading since it's not
> actually changing any labels.
> 
Could you open two bugzillas

The first one would be a policy issue.  The second would be a
polcycoreutils issue.

There is a rule in MLS/LSPP that says a full relabel requires an audit
message.  Which is why setfiles/restorecon sends and audit message on
restorecon -R -v /

  reply	other threads:[~2011-02-04 13:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-04 13:14 [refpolicy] Two issues with restorecon David Härdeman
2011-02-04 13:55 ` Daniel J Walsh [this message]
2011-03-28 22:14   ` David Härdeman
2011-03-29 13:56     ` Daniel J Walsh

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=4D4C0538.3030904@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.