Skip to contentSkip to conversation

start_udev

DISCUSSION Russell Coker 2 participants 3 messages Sep 23, 2004 – Sep 24, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

In Fedora there is a shell script named /sbin/start_udev. This script is run from rc.sysinit to setup sym-links etc on a tmpfs /dev. In the most strict configuration of the strict policy initrc_t does not have the required access to device_t. I currently have start_udev labelled as udev_exec_t which makes this work.

Which is worse, allowing initrc_t to transition to udev_t by a shell script or just giving initrc_t extra privs?

Signature · 9 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

--
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

any chance that script could be pushed upstream so that debian can use it and stop creating those same symlinks from /etc/init.d/udev?

Quoted 2 lines · Russell Coker

In Fedora there is a shell script named /sbin/start_udev. This script is run from rc.sysinit to setup sym-links etc on a tmpfs /dev. In the most strict

--
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.

#2 lore raw
Quoted 2 lines · Luke Kenneth Casson Leighton

any chance that script could be pushed upstream so that debian can use it and stop creating those same symlinks from /etc/init.d/udev?

It would probably be best for someone who uses udev on Debian (such as you) to go to
http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/ , download the rpm package and use rpm2cpio to extract the file and make a Debian bug report with the file attached.

Signature · 9 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

--
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.