All of lore.kernel.org
 help / color / mirror / Atom feed
From: guido@trentalancia.com (Guido Trentalancia)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] new runtime udev directory tree (was Re: ANN: Reference Policy Release)
Date: Tue, 26 Jul 2011 21:07:29 +0200	[thread overview]
Message-ID: <1311707249.11418.19.camel@vortex> (raw)
In-Reply-To: <4E2F0B0D.9050206@tresys.com>

Thanks very much Christopher for the new release !

Just a quick reminder that it seems to me that latest git (and thus
implicitly the new release), do not cater proper file contexts
definitions yet for new udev directory /run.

Latest udev releases are moving from /dev/.udev to /run (still optional
at this transition stage but perhaps it will become mandatory one day).

In terms of release numbers should be at least any udev-17? (but
possibly also some of the udev-16?).

At the moment, I see:

# ls -lZ /dev/.udev/
drwxr-xr-x. root root system_u:object_r:udev_tbl_t:s0
...

# grep ^/run policy/modules/kernel/files.fc 
/run			-d	gen_context(system_u:object_r:var_run_t,s0-mls_systemhigh)
/run/.*				gen_context(system_u:object_r:var_run_t,s0)
/run/.*\.*pid			<<none>>
/run/lock(/.*)?			gen_context(system_u:object_r:var_lock_t,s0)

# grep ^/var\/run policy/modules/kernel/files.fc 
/var/run			-d	gen_context(system_u:object_r:var_run_t,s0-mls_systemhigh)
/var/run			-l	gen_context(system_u:object_r:var_run_t,s0)
/var/run/.*			gen_context(system_u:object_r:var_run_t,s0)
/var/run/.*\.*pid		<<none>>
/var/run/motd		--	gen_context(system_u:object_r:etc_runtime_t,s0)

If the above is confirmed, we have an inconsistency for /run because it would
just be a duplicate for /var/run which potentially conflicts with new udev.

Regards,

Guido

On Tue, 2011-07-26 at 14:44 -0400, Christopher J. PeBenito wrote:
> A new release of the SELinux Reference Policy is now available on
> the Tresys OSS site, http://oss.tresys.com.  This release primarily
> focused on general maintenance.
> 
> The complete change log for this release follows at the end of the
> email.
> 
> For people interested in helping Reference Policy development, the X
> desktop and role separation needs testing, in addition to general
> testing.
> 
> * Tue Jul 26 2011 Chris PeBenito <selinux@tresys.com> - 2.20110726
> - Fix role declarations to handle role attribute compilers.
> - Rename audioentropy module to entropyd due to haveged support.
> - Add haveged support from Sven Vermeulen.
> - Authentication file patch from Matthew Ife.
> - Add agent support to zabbix from Sven Vermeulen.
> - Cyrus file context update for Gentoo from Corentin Labbe.
> - Portage updates from Sven Vermeulen.
> - Fix init_system_domain() description, pointed out by Elia Pinto.
> - Postgresql selabel_lookup update from KaiGai Kohei.
> - Dovecot managesieve support from Mika Pfluger.
> - Semicolon after interface/template calls cleanup from Elia Pinto.
> - Gentoo courier updates from Sven Vermeulen.
> - Amavis patch for connecting to nslcd from Miroslav Grepl.
> - Shorewall patch from Miroslav Grepl.
> - Cpufreqselector dbus patch from Guido Trentalancia.
> - Cron pam_namespace and pam_loginuid support from Harry Ciao.
> - Xserver update for startx from Sven Vermeulen.
> - Fix MLS constraint for contains permission from Harry Ciao.
> - Apache user webpages fix from Dominick Grift.
> - Change default build.conf to modular policy from Stephen Smalley.
> - Xen refinement patch from Stephen Smalley.
> - Sudo timestamp file location update from Sven Vermeulen.
> - XServer keyboard event patch from Sven Vermeulen.
> - RAID uevent patch from Sven Vermeulen.
> - Gentoo ALSA init script usage patch from Sven Vermeulen.
> - LVM semaphore usage patch from Sven Vermeulen.
> - Module load request patch for insmod from Sven Vermeulen.
> - Cron default contexts fix from Harry Ciao.
> - Man page fixes from Justin Mattock.
> - Add syslog capability.
> - Support for logging in to /dev/console, from Harry Ciao.
> - Database object class updates and associated SEPostgreSQL changes from
>    KaiGai Kohei.
> - IPSEC SPD and Hadoop IPSEC updates from Paul Nuzzi.
> - Mount updates from Harry Ciao.
> - Semanage update for MLS systems from Harry Ciao.
> - Vlock terminal use update from Harry Ciao.
> - Hadoop CDH3 updates from Paul Nuzzi.
> - Add sepgsql_contexts appconfig files from KaiGai Kohei.
> - Added modules:
>          aiccu
>          bugzilla (Dan Walsh)
>          colord (Dan Walsh)
>          cmirrord (Miroslav Grepl)
>          mediawiki (Miroslav Grepl)
>          mpd (Miroslav Grepl)
>          ncftool
>          passenger (Miroslav Grepl)
>          qpid (Dan Walsh)
>          samhain (Harry Ciao)
>          telepathy (Dominick Grift)
>          tcsd (Stephen Smalley)
>          vnstatd (Dan Walsh)
>          zarafa (Miroslav Grepl)
> 
> 

  reply	other threads:[~2011-07-26 19:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-26 18:44 ANN: Reference Policy Release Christopher J. PeBenito
2011-07-26 18:44 ` [refpolicy] " Christopher J. PeBenito
2011-07-26 19:07 ` Guido Trentalancia [this message]
2011-07-27 19:47   ` [refpolicy] new runtime udev directory tree (was Re: ANN: Reference Policy Release) Martin Orr
2011-07-28 15:02     ` Guido Trentalancia
2011-07-28 15:42     ` Christopher J. PeBenito
2011-08-11  7:03       ` [refpolicy] Status and discussion about rbacsep HarryCiao
2011-08-12 12:42         ` Christopher J. PeBenito
2011-08-12 14:00           ` Christopher J. PeBenito
2011-08-13  8:39           ` HarryCiao
2011-08-16 17:43             ` Christopher J. PeBenito

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=1311707249.11418.19.camel@vortex \
    --to=guido@trentalancia.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.