Skip to contentSkip to conversation

preferred way to configure devfs contexts

DISCUSSION Debian User 3 participants 3 messages May 5, 2002 – May 6, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

devfs_context is fast becoming my preferred way to configure /dev contexts. Can we do away with the hacked devfsd?

--
You have received this message because you are subscribed to the selinux 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 2 lines · Debian User

devfs_context is fast becoming my preferred way to configure /dev contexts. Can we do away with the hacked devfsd?

/etc/devfs/conf.d/selinux is a conffile, you can just comment out all the lines in it...

devfs_context doesn't apply to device nodes that were created before the policy was loaded, so if you've added new hardware or drivers you can't use it to apply permissions to them without a reboot.

Also devfsd can do lots of other things such as running scripts on device open etc...

Signature · 9 lines
If you send email to me or to a mailing list that I use which has >4 lines
of legalistic junk at the end then you are specifically authorizing me to do
whatever I wish with the message and all other messages from your domain, by
posting the message you agree that your long legalistic sig is void.

--
You have received this message because you are subscribed to the selinux 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
In reply to Debian User
Quoted 2 lines · Debian User

devfs_context is fast becoming my preferred way to configure /dev contexts. Can we do away with the hacked devfsd?

I'd actually expect the devfsd module to become mainstream, and the devfs_contexts to be minimized or eliminated. The devfsd module appears to be the more general solution.

--
Stephen D. Smalley, NAI Labs
[email protected]

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.