From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roy Marples Date: Sat, 05 Aug 2006 02:20:52 +0000 Subject: Re: [PATCH] Only lookup uid/gid when applying rules Message-Id: <200608050320.52465.uberlord@gentoo.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 Saturday 05 August 2006 03:05, Kay Sievers wrote: > On Sat, 2006-08-05 at 02:49 +0100, Roy Marples wrote: > > On Saturday 05 August 2006 02:35, you wrote: > > > Resolving in the event process will work around the current problem, > > > that we fail, even if we don't have a matching device, that's true, b= ut > > > the real problem that we block still persists. Sure, it will solve > > > Gentoo's "tss" problem, but that's not enough reason to add resolving > > > of id's to every event process. > > > > So tell me how to fix this in udev. > > We may be able to handle a lookup timeout. You could set a reasonable > bind_timelimit in ldap.conf, so it will not block for more than a few > seconds. Ok lets say that udev ships with a new rule that has a new user/group looku= p=20 called "foo". You have instantly broken existing LDAP installs that do not have foo=20 in /etc/passwd or /etc/group Now should the onus be on distro's to magically add foo even though it *may= *=20 be not needed, or should it be on udev to work out if it even needs to look= up=20 the user/group "foo"? --=20 Roy Marples Gentoo/Linux Developer (baselayout, networking) ------------------------------------------------------------------------- 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