From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 14 Sep 2004 06:00:46 +0000 Subject: Re: udevstart badly broken in udev 031 Message-Id: <20040914060046.GA20446@kroah.com> List-Id: References: <20040912235611.GA2326@wonderland.linux.it> In-Reply-To: <20040912235611.GA2326@wonderland.linux.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Sep 13, 2004 at 03:23:58AM +0200, Kay Sievers wrote: > On Mon, 2004-09-13 at 01:56 +0200, Marco d'Itri wrote: > > Starting from udev 031, the %-arguments passed to PROGRAMs are not > > correct when the new udevstart code is being used. > > > > KERNEL="event[0-9]*", NAME="input/%k", PROGRAM="/etc/udev/inputdev.sh %k %n %M %m", RESULT="inputdev", MODE="0664", GROUP="video" > > > > generates this log (just echo $*): > > > > event0 0 13 64 > > event0 0 13 64 > > event0 0 13 64 > > > > while the correct log (generated using the old shell script instead of > > udevstart) would be: > > > > event0 0 13 64 > > event1 1 13 65 > > event2 2 13 66 > > Yes, I can simulate this, please try the attached patch. I expect, that > it fixes it, cause we better not mangle the parsed config while matching > the rules. Thanks, I've applied this and released a 032 version with this fix and 2 others. greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ 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