> I have reverted everything that I can think of the past few days and nothing
> looks like it could be deleting those links.  Besides, wouldnt they get
> recreated if I manually restarted udev after the system startup?  I tried
> "udevstart" and the links are still not there.
> 

After some more testing, I am almost positive that there is some kind of race
condition going on here.  I am using a 2.6.13 kernel is that might make any
difference to you.  With the following patch, the problem is solved (although I
know this is not the right way to go). I just wanted to prove that there is
nothing else deleting these links.

Regards,
C.

--- init.d/udev.orig	2005-09-10 03:56:55.000000000 -0700
+++ init.d/udev	2005-09-10 04:07:09.000000000 -0700
@@ -64,6 +64,9 @@
       *) log_warning_msg "links.conf: unparseable line ($type $name $arg1)" ;;
     esac
   done
+  ln -fs /proc/self/fd/0 /dev/stdin
+  ln -fs /proc/self/fd/1 /dev/stdout
+  ln -fs /proc/self/fd/2 /dev/stderr
 }
 
 # this function is duplicated in preinst, postinst and d-i

Reply via email to