meta-selinux/recipes-core
Wenzong Fan 77130536eb udev: restorecon /run to allow mdadm creating /run/mdadm
This change bases on the factors during bootup:

a. the default type for /run is var_run_t;
b. the type for /run will be changed to tmpfs_t after tmpfs mounted;
c. the type for /run will be fixed after populate-volatile.sh run.

udev service is started in b->c period, fix the type for /run from
udev init script to remove:

  avc: denied { write } for pid=294 comm="mdadm" \
  name="/" dev="tmpfs" ino=10581 \
  scontext=system_u:system_r:mdadm_t:s0-s15:c0.c1023 \
  tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-08-07 15:17:52 -04:00
..
busybox busybox: Use wildcard for version number in busybox bbappend. 2014-02-12 19:15:31 -05:00
coreutils coreutils: Use wildcard for version and remove PR. 2015-02-10 13:41:57 -05:00
dbus dbus: Use wildcard for version number in bbappend. 2014-05-16 18:01:33 +08:00
glib-2.0 glib-2.0: Use wildcard for version number in bbappend. 2014-05-16 18:01:58 +08:00
initscripts initscripts/devpts.sh: fix context for /dev/pts 2014-06-23 11:48:36 +08:00
libcgroup libcgroup: Use wildcard for version number in libcgroup bbappend. 2014-02-12 19:15:32 -05:00
systemd systemd: fix dependencies for audit, selinux 2015-01-12 11:51:56 -05:00
sysvinit packages: inherit selinux 2013-01-05 14:00:29 +08:00
udev udev: restorecon /run to allow mdadm creating /run/mdadm 2015-08-07 15:17:52 -04:00
util-linux util-linux: Use wildcard for version number in bbappend. 2014-05-16 18:02:20 +08:00