Comment 20 for bug 53040

Revision history for this message
turncoat (uskokovic) wrote :

Here it is... Like the others...
Before restart, /dev/null was 666.
Now when it is 600, when i shut down and boot livecd, after mounting my root partition in /mnt i find that
root@ubuntu:~# ls -l /mnt/dev/null
crw-rw-rw- 1 root root 1, 3 Apr 15 11:49 /mnt/dev/null

When I shut it down, and start in single user mode, I find that
root@la-02:~# ls -l /dev/null
crw-rw-rw- 1 root root 1, 3 April 15 13:49 /dev/null

and after logging out, and continuing runlevel 2 it stays crw-rw-rw,
but if i restart again and start runlevel 2 the normal way, I get the crw------- situation again...
Zajebancija... :)

I even managed to login right after upstart started my getty, and continued to start other services.
The /dev/null was 666, but after every service got started, it changed back to 600

Since there are many services on this machine (student's machine for learning linux servces), I will turn them all off later this evening, and report what happened...