Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

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

share|improve this answer
add comment

Do any of the issues here pertain to your situation?

share|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. –  Kazimieras Aliulis May 28 '09 at 19:58
add comment

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 :)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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