From: Joshua Brindle <method@gentoo.org>
To: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
Cc: SE-Linux <selinux@tycho.nsa.gov>
Subject: Re: udev and .dev...
Date: Thu, 29 Jul 2004 08:32:53 -0400 [thread overview]
Message-ID: <4108EE75.6040109@gentoo.org> (raw)
In-Reply-To: <20040729091423.GC6443@lkcl.net>
Luke Kenneth Casson Leighton wrote:
>dear selinux people,
>
>ah ha! okay, the reason why my hard drive was inaccessible
>is because /.dev/* had all been set to default_t :)
>
>soooo... to fix that [rather than a patch, a sed command]:
>
> :%s/u?dev/.?u?dev/g
>
>this will allow setfiles to set up the security contexts on
>the /.dev which is the _real_ filesystem /dev stuff which will
>allow things like, oh, init (!!) to access the hard drive.
>
>argh :)
>
>l.
>
>
>
Why not have a minimal /dev for init and friends and mount the ramfs for
udev on top of it? it's much easier to deal with 1 /dev and this is
pretty standard anyway.
Joshua
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2004-07-29 12:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-29 9:14 udev and .dev Luke Kenneth Casson Leighton
2004-07-29 12:32 ` Joshua Brindle [this message]
2004-07-29 14:01 ` Luke Kenneth Casson Leighton
2004-07-29 14:14 ` Ian Campbell
2004-07-29 20:15 ` Luke Kenneth Casson Leighton
2004-07-29 15:09 ` Erich Schubert
2004-07-29 17:03 ` Stephen Smalley
2004-07-29 20:37 ` Luke Kenneth Casson Leighton
2004-07-29 20:13 ` Luke Kenneth Casson Leighton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4108EE75.6040109@gentoo.org \
--to=method@gentoo.org \
--cc=lkcl@lkcl.net \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.