Had two Debian stable (as of 2009-05-28) servers suddenly broken, when /dev/null became unwritable. It appeared that when I restart udev it sometimes (randomly) changes /dev/null permissions sometimes making it unwritable. Server configuration is pretty standard and no udev rules are changed. Does anyone know what kind of a bug this can be?

link|improve this question

77% accept rate
feedback

3 Answers

up vote 1 down vote accepted

I've had this many times, and often it was because the static files were bad.

You might want to try:

ls -l /dev/.static/dev/null

To see what the boot-time permissions will be, and:

chmod a+rw /dev/.static/dev/null

To set them

link|improve this answer
feedback

I found this bug on Debian's website, which was merged with this one. However, they do seem to be older than the issue you've just found.

Also, from the Debian wiki on udev, you may be able to look at / fix the init scripts for it.

From a related discussion on Ubuntu, it appears it's been fixed at least there.

Not sure if those'll help/fix you problem, but maybe they're in the right direction :)

link|improve this answer
feedback

Do any of the issues here pertain to your situation?

link|improve this answer
I have read this thread. And yes it was similar. But this thread does not resolve anything and I am afraid of next breakdown. – Kz. May 28 '09 at 19:58
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.