From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roy Marples Date: Sat, 05 Aug 2006 03:37:53 +0000 Subject: Re: [PATCH] Only lookup uid/gid when applying rules Message-Id: <200608050437.53722.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 04:07, Kay Sievers wrote: > > Case in point - my LDAP server has no need for the user/group tss other > > than the fact that udev requires it due to a rule that will never be > > applied. > > Sure, put it in /etc, where system groups belong. See, I don't see that as a system group. My systems, and many other Gentoo = systems have done with the tss user/group for a while now. So you're deciding whats a system user/group? Fine with me, I'm washing my = hands of this. Heck, I have one LDAP system at work where I've made a fairl= y=20 trivial patch to fix this issue and future "hey guys! new devices, new rule= s!=20 oh yeah, LDAP users have to have em in /etc/passwd AND do files ldap instea= d=20 of ldap files" > > > 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 > > be 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. See, the systems aren't broken at all. The only brokenness is udevs blind assumption that every user/group in ever= y=20 rule must be available at boot time. Remember, udev loads all rules in /etc/udev/rules.d So you're saying that all user groups present in /etc/udev/rules.d must be = in=20 base-system? Does that mean you also dictate to all providers=20 for /etc/udev/rules.d what user/groups they are allowed or is it a general = free for all in that base-system must have mappings for all potential=20 user/groups? --=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