linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev has had udev_selinux removed - argh!
@ 2004-07-29  9:47 Luke Kenneth Casson Leighton
  2004-07-29 18:50 ` Greg KH
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Luke Kenneth Casson Leighton @ 2004-07-29  9:47 UTC (permalink / raw)
  To: linux-hotplug

hi there,

gentoo have pulled udev from their distribution because the
udev_selinux program has been removed from udev and replaced
with a /etc/dev.d/default/selinux script.

whilst this is reported as "WorkingForRedHat(tm)", i would
be very grateful if the functionality could be returned such
that it can be optionally compiled back in.

udev_selinux is not like udev_dbus: udev_dbus was pulled because
it took 1 millisecond per file (most likely due to dbus not having
a threadpool and not having unix-domain-socket listeners in its server
back-end).

i have a question for you: is there the possibility of a race
condition in between udev creating nodes in /dev, and the
scripts in /etc/dev.d/default getting at them?

for example, could /dev/usbtts0 be created if i plug in a USB modem,
and hotplug or a manual process fire up pppd BEFORE
/etc/dev.d/default/selinux gets to it?

because if so, things are going to fail unexpectedly.

how has this issue been addressed in udev, and also, whilst
i realise that Fedora accept the /etc/dev.d/default/selinux
change, it should concern you that gentoo do not [and therefore,
like a lemming oblique stroke sheep, i'd rather not, for my
debian distro].

l.

-- 
-- 
Information I post is with honesty, integrity, and the expectation that
you will take full responsibility if acting on the information contained,
and that, should you find it to be flawed or even mildly useful, you
will act with both honesty and integrity in return - and tell me.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:lkcl@lkcl.net"> lkcl@lkcl.net </a> <br />



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id\x10040&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-07-30  8:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-29  9:47 udev has had udev_selinux removed - argh! Luke Kenneth Casson Leighton
2004-07-29 18:50 ` Greg KH
2004-07-29 20:40   ` Luke Kenneth Casson Leighton
2004-07-29 20:45 ` Kay Sievers
2004-07-29 22:14   ` Luke Kenneth Casson Leighton
2004-07-30  8:57 ` Marco d'Itri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).