All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christopher J. PeBenito" <cpebenito@tresys.com>
To: "Václav Ovsík" <vaclav.ovsik@i.cz>
Cc: <selinux@tycho.nsa.gov>
Subject: Re: refpolicy HEAD, Debian, patch for udev.te
Date: Tue, 27 Nov 2007 13:49:29 -0500	[thread overview]
Message-ID: <1196189369.30997.6.camel@gorn> (raw)
In-Reply-To: <20071126144547.GA334@bobek.pm.i.cz>

On Mon, 2007-11-26 at 15:45 +0100, Václav Ovsík wrote:
> Hi,
> Debian Etch, refpolicy HEAD, udev produces during startup (udevsettle)
> wile creating symlinks into /dev/disk/by-uuid/...
> following:
> 
> audit(1195744042.060:3): avc:  denied  { relabelfrom } for  pid=836 comm="udevd" name="44517f56-2445-4330-bce7-5168aa534c1c" dev=tmpfs ino=1646 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=lnk_file
> audit(1195744042.060:4): avc:  denied  { relabelto } for  pid=836 comm="udevd" name="44517f56-2445-4330-bce7-5168aa534c1c" dev=tmpfs ino=1646 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=lnk_file
> 
> Attached patch solves this.
> Can be merged into refpolicy please?

This is interesting, it isn't seen on other distros.  Perhaps it has to
do with the way debian sets up tmpfs /dev before udev starts?

-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2007-11-27 18:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-26 14:45 refpolicy HEAD, Debian, patch for udev.te Václav Ovsík
2007-11-27 18:49 ` Christopher J. PeBenito [this message]
2007-11-29 20:06   ` Martin Orr
2007-11-30 13:49     ` Václav Ovsík
2007-11-30 14:38       ` Christopher J. PeBenito
2007-11-30 15:30         ` Václav Ovsík
2007-11-30 15:55           ` Christopher J. PeBenito
2007-11-30 17:24             ` Martin Orr
2007-12-01 23:21               ` Chris PeBenito
2007-12-04 10:41                 ` Martin Orr
2007-12-04 14:07                 ` 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=1196189369.30997.6.camel@gorn \
    --to=cpebenito@tresys.com \
    --cc=selinux@tycho.nsa.gov \
    --cc=vaclav.ovsik@i.cz \
    /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.