From: Kay Sievers Date: Sat, 05 Aug 2006 03:07:14 +0000 Subject: Re: [PATCH] Only lookup uid/gid when applying rules Message-Id: <1154747234.3540.100.camel@pim.off.vrfy.org> List-Id: References: <200608011135.25769.uberlord@gentoo.org> In-Reply-To: <200608011135.25769.uberlord@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Sat, 2006-08-05 at 03:59 +0100, Roy Marples wrote: > On Saturday 05 August 2006 03:42, you wrote: > > > Now should the onus be on distro's to magically add foo even though it > > > *may* be not needed, or should it be on udev to work out if it even n= eeds > > > to lookup the user/group "foo"? > > > > You should fix your base-system, which is causing the trouble, simple as > > that. >=20 > So, we have to keep in sync all user/groups udev requires? Yes, and not only for udev. > As opposed to adding them dynamically when the user actually installs the= =20 > software the uses said users/groups? Or even has the hardware? Well, just make sure you don't have the rules that require entries you don't want to add to your system. > Case in point - my LDAP server has no need for the user/group tss other t= han=20 > the fact that udev requires it due to a rule that will never be applied. Sure, put it in /etc, where system groups belong. > And you still think my base-system should be fixed? Definitely. > What happens down the road when you next require user foo and group > bar due to a rule which may or may not be needed? Just make sure, the udev rules are in sync with the rest of your system. > I give up. It's hopeless. I just cannot convice you that it's better to b= e=20 > slow than broken. Right, you can't. Not every system is broken like yours seems to be, therefore we will not optimize udev for such broken systems. Kay ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ 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