From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 04 Jun 2004 21:17:41 +0000 Subject: Re: udev silently ignores bad config file names Message-Id: <20040604211741.GC13651@kroah.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, May 22, 2004 at 11:16:45PM +0200, Erik S?e S?rensen wrote: > Hi there. > > In udev-025, bad config file names for rules and permissions are > silently ignored. Worse yet: even if the permission config file name is > correct, the file won't be loaded if the rules file name is incorrect > (e.g., doesn't exist). > > A crude fix is attached. It just reports that there are problems with > reading a certain config file; this could of course be improved a lot. > - The nature of the error should be written. I agree, care to change this to report which file could not be read? > - I don't know if the error report should go to stderr, the log, or > both. There is no stderr when udev is running :) The log is all we have. > - Finally, I'm not sure how much sense it makes that the permissions > file is not attempted read if reading the rules file failed..? We should plod onward, as the user could just be relying on the default permission and root:root ownership, as is the case for the root disk when booting in a initrd/initramfs image. thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ 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