Skip to contentSkip to conversation

duplicit fc on Debian for /lib/usb/devices

PATCH Václav Ovsík 2 participants 2 messages Nov 14, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hello,
I'm starting to experiment with the refpolicy 20070928 on Debian Etch. First thing I noticed (beside many many other messages :-) is

/etc/selinux/refpolicy-strict/contexts/files/file_contexts: Multiple same specifications for /lib/udev/devices.

policy/modules/kernel/devices.fc +0 -5
index 12a7d22..1489e16 100644
@@ -125,11 +125,6 @@ ifdef(`distro_suse', `
 
 /lib/udev/devices -d	gen_context(system_u:object_r:device_t,s0)
 
-ifdef(`distro_debian',`
-# used by udev init script as temporary mount point
-/lib/udev/devices	-d		gen_context(system_u:object_r:device_t,s0)
-')
-
 ifdef(`distro_gentoo',`
 # used by init scripts to initally populate udev /dev
 /lib/udev/devices/null	-c	gen_context(system_u:object_r:null_device_t,s0)

Regards

Signature · 6 lines
Zito

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 5 lines · Václav Ovsík

Hello,
I'm starting to experiment with the refpolicy 20070928 on Debian Etch. First thing I noticed (beside many many other messages :-) is

/etc/selinux/refpolicy-strict/contexts/files/file_contexts: Multiple same specifications for /lib/udev/devices.

Fixed in refpolicy trunk.

Quoted 16 lines
policy/modules/kernel/devices.fc +0 -5
index 12a7d22..1489e16 100644
@@ -125,11 +125,6 @@ ifdef(`distro_suse', `
 
 /lib/udev/devices -d	gen_context(system_u:object_r:device_t,s0)
 
-ifdef(`distro_debian',`
-# used by udev init script as temporary mount point
-/lib/udev/devices	-d		gen_context(system_u:object_r:device_t,s0)
-')
-
 ifdef(`distro_gentoo',`
 # used by init scripts to initally populate udev /dev
 /lib/udev/devices/null	-c	gen_context(system_u:object_r:null_device_t,s0)
Signature · 10 lines
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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.