Bug#327434: Acknowledgement (Udev is not creating /dev/stdout-fd/1)
C.Y.M wrote: I would like to mention that this problem may also be related to HAL (not UDEV). Please forward accordingly if you find that this is the case. This is definitely a UDEV issue. I have noticed that all the links in /etc/udev/links.conf get created *except* stdin, stdout, and stderr. The only difference between those links and the others is that they are linking against nodes. Perhaps the nodes are not getting created fast enough and the link fails. When I look in /proc/self/fd/*, all the nodes are there (only the links to them are not created). Regards, -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#327434: Acknowledgement (Udev is not creating /dev/stdout-fd/1)
tag 327434 unreproducible moreinfo help thanks On Sep 10, C.Y.M [EMAIL PROTECTED] wrote: This is definitely a UDEV issue. I have noticed that all the links in /etc/udev/links.conf get created *except* stdin, stdout, and stderr. The only difference between those links and the others is that they are linking against nodes. Perhaps the nodes are not getting created fast enough and the link fails. ln does not work this way (and anyway all nodes are created before udevstart returns). I think that something on your system is deleting these links. Please check. -- ciao, Marco signature.asc Description: Digital signature
Bug#327434: Acknowledgement (Udev is not creating /dev/stdout-fd/1)
Marco d'Itri wrote: tag 327434 unreproducible moreinfo help thanks On Sep 10, C.Y.M [EMAIL PROTECTED] wrote: This is definitely a UDEV issue. I have noticed that all the links in /etc/udev/links.conf get created *except* stdin, stdout, and stderr. The only difference between those links and the others is that they are linking against nodes. Perhaps the nodes are not getting created fast enough and the link fails. ln does not work this way (and anyway all nodes are created before udevstart returns). I think that something on your system is deleting these links. Please check. 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. -C. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#327434: Acknowledgement (Udev is not creating /dev/stdout-fd/1)
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.0 -0700 +++ init.d/udev 2005-09-10 04:07:09.0 -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
Bug#327434: Acknowledgement (Udev is not creating /dev/stdout-fd/1)
C.Y.M wrote: 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. Since I have not changed the udev package or upgraded it in any way for the past few weeks, I am fairly certain that this is not an actual UDEV bug. Some of the candidate packages responsible for this problem could be either the latest version of bash or possibly sed. I have updated all my packages so Im pretty sure if you were to do a full update you will notice the same problem. The chore now is to determine who the culprit is. Best Regards, C. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#327434: Acknowledgement (Udev is not creating /dev/stdout-fd/1)
Since I have not changed the udev package or upgraded it in any way for the past few weeks, I am fairly certain that this is not an actual UDEV bug. Some of the candidate packages responsible for this problem could be either the latest version of bash or possibly sed. I have updated all my packages so Im pretty sure if you were to do a full update you will notice the same problem. The chore now is to determine who the culprit is. Sorry for the trouble. Its the new bash (3.0-15) that broke your package. Regards, C. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#327434: Acknowledgement (Udev is not creating /dev/stdout-fd/1)
I would like to mention that this problem may also be related to HAL (not UDEV). Please forward accordingly if you find that this is the case. Best Regards, -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]