Skip to contentSkip to conversation

udev_uses_tmpfs

DISCUSSION Luke Kenneth Casson Leighton 2 participants 4 messages Sep 26, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

examining the latest cvs policy i find that there is a whole stack-load of assumptions that only redhat can do udev in tmpfs.

can i suggest that this be specified as a tunable "udev_uses_tmpfs" instead?

if there are _really_ some redhat-specific things such as "only redhat does udev+tmpfs from its initial ramdisk" then fine.

irrespective of whether people like the above suggestion, it's what i have to do.

as a tunable would be better: some debian systems use udev, some don't use initrd.

l.

Signature · 13 lines
--
Truth, honesty and respect are rare commodities that all spring from
the same well: Love.  If you love yourself and everyone and everything
around you, funnily and coincidentally enough, life gets a lot better.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:[email protected]"> [email protected] </a> <br />


--
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 2 lines · Luke Kenneth Casson Leighton

if there are _really_ some redhat-specific things such as "only redhat does udev+tmpfs from its initial ramdisk" then fine.

That's what it is.

If tmpfs is mounted after the machine boots (as done in Debian) then it can be correctly labelled before use.

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.
#2 lore raw
Quoted 8 lines · Russell Coker
Quoted 2 lines · Luke Kenneth Casson Leighton

if there are _really_ some redhat-specific things such as "only redhat does udev+tmpfs from its initial ramdisk" then fine.

That's what it is.

If tmpfs is mounted after the machine boots (as done in Debian) then it can be correctly labelled before use.

... sorry for being thick, but how do i achieve that?

l.

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

#3 lore raw
Quoted 11 lines · Luke Kenneth Casson Leighton
Quoted 8 lines · Russell Coker
Quoted 2 lines · Luke Kenneth Casson Leighton

if there are _really_ some redhat-specific things such as "only redhat does udev+tmpfs from its initial ramdisk" then fine.

That's what it is.

If tmpfs is mounted after the machine boots (as done in Debian) then it can be correctly labelled before use.

... sorry for being thick, but how do i achieve that?

okay, i get it: as soon as you do a mount of tmpfs on /dev, do a restorecon /dev.

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