srivasta@debian.org--etch/refpolicy--debian--0.0--patch-19 srivasta@debian.org--etch/refpolicy--debian--0.0--patch-21 srivasta@debian.org--lenny/refpolicy--debian--0.0--patch-20 Merged upstream in e78ada86 (2011-11-16) 0011-Debian-file-locations-patch-from-Russell-Coker.patch (part of) 0012-Droppable-legacy-patch-differs-from-newer-upstream-o.patch (part of) Add contexts for /dev/.static Also adds context for /lib/init/rw - doesn't really belong here Moved to files.fc in 382_lib_init_rw Index: policy/modules/kernel/devices.fc =================================================================== --- policy/modules/kernel/devices.fc.orig +++ policy/modules/kernel/devices.fc @@ -1,5 +1,13 @@ /dev -d gen_context(system_u:object_r:device_t,s0) +ifdef(`distro_debian',` +# this is a static /dev dir "backup mount" +# if you want to disable udev, you'll have to boot permissive and relabel! +/dev/\.static -d gen_context(system_u:object_r:device_t,s0) +/dev/\.static/dev -d gen_context(system_u:object_r:device_t,s0) +/dev/\.static/dev/(.*)? <> +/lib/init/rw -d gen_context(system_u:object_r:device_t,s0) +') /dev/.* gen_context(system_u:object_r:device_t,s0) /dev/.*mouse.* -c gen_context(system_u:object_r:mouse_device_t,s0)