while glancing through the ubuntu package to prepare
the udev initramfs-tools hooks move, i found this changelog entry:
--
  * Added debian/patches/55-run-program.patch which stops udevd declaring
    that the sky is falling just because a program can't be found, it'll
    output a warning (normally muted) and can be replayed later with
    udevplug -F
--

attached, also following entry might be out of interest:
  * Fix a few bugs in the init script that prevented udev from being started
    on systems without initramfs, or after it was stopped.


--
maks

diff -x debian -ruNp udev-076~/udev_utils_run.c udev-076/udev_utils_run.c
--- udev-076~/udev_utils_run.c  2005-11-22 16:34:55.000000000 +0000
+++ udev-076/udev_utils_run.c   2005-12-01 14:01:40.379128250 +0000
@@ -152,8 +152,13 @@ int run_program(const char *command, con
                        dup2(errpipe[WRITE_END], STDERR_FILENO);
                execv(argv[0], argv);
 
-               /* we should never reach this */
-               err("exec of program '%s' failed", argv[0]);
+               if ((errno == ENOENT) || (errno = ENOTDIR)) {
+                       /* will probably turn up later */
+                       info("program '%s' not found", argv[0]);
+               } else {
+                       /* bigger problems */
+                       err("exec of program '%s' failed", argv[0]);
+               }
                _exit(1);
        case -1:
                err("fork of '%s' failed: %s", argv[0], strerror(errno));

Reply via email to