Skip to contentSkip to conversation

devfs systems and no devfsd

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

lore
Share & tools
lore
#0 lore raw

Can we use selinux with a devfs kernel but no 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 1 line · Debian User

Can we use selinux with a devfs kernel but no devfsd?

Good question. We don't use devfs on our systems, but we added the devfs_contexts configuration as a simple mechanism for devfs users. Then, Russell created the devfsd module, which I had assumed would largely supplant the use of devfs_contexts. However, since devfs is intended to work even without devfsd, I suppose that we should retain devfs_contexts to support such operation.

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

#2 lore raw
Quoted 2 lines · Stephen Smalley
Quoted 1 line · Debian User

Can we use selinux with a devfs kernel but no devfsd?

Yes, the devfs_contexts will allow it to work, apart from the issue of /dev/pts not being labelled correctly.

Quoted 6 lines

Good question. We don't use devfs on our systems, but we added the devfs_contexts configuration as a simple mechanism for devfs users. Then, Russell created the devfsd module, which I had assumed would largely supplant the use of devfs_contexts. However, since devfs is intended to work even without devfsd, I suppose that we should retain devfs_contexts to support such operation.

The devfsd module will largely supplant the use of devfs_contexts, but devfs_contexts is still needed to label device nodes before devfsd is executed. Also if you boot in recovery mode (init=/bin/bash) then there will be no devfsd...

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.