From: Kay Sievers Date: Sat, 05 Aug 2006 00:49:40 +0000 Subject: Re: [PATCH] Only lookup uid/gid when applying rules Message-Id: <1154738980.3540.49.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 02:43 +0200, Marco d'Itri wrote: > On Aug 05, Kay Sievers wrote: >=20 > > Well, on bootup we trigger events for _all_ devices, which will use most > > of the rules, and we require the uid/gid to be resolved at that point in > > time, long before we have access to the network. That's the issue we > > need to solve, not to make it only faster to fail and assign "root" to > > all nodes, be it the daemon or the event process who's doing that. > Documenting that this is a configuration error and will not work is > still better than the current situation of udev hanging at boot time. Right, I completely agree. It is kind of a bug, to wait n times for the glibc timeout on udevd startup. That should be changed and udevd should probably skip further attempts after the first lookup timeout. But what would be the proper behavior? Assign "root", if we can't resolve? Look in /etc? 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