/dev/null: Permission denied

Bug #65667 reported by Jo Shields
2
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Invalid
Medium
Scott James Remnant (Canonical)

Bug Description

Edgy i386 system (upgraded from Dapper). Login with GDM fails, as /dev/null has permissions of 600. /var/log/daemon.log contains messages such as:

Oct 11 20:11:46 localhost gdm[4558]: Cannot open /dev/null, system on crack!

Revision history for this message
Jo Shields (directhex) wrote :
Revision history for this message
Jo Shields (directhex) wrote :
Revision history for this message
Jo Shields (directhex) wrote :

Running "invoke-rc.d udev restart" fixes the problem until the next reboot.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Thanks,

Interesting. Could you run the following and attach the output:

  ls /etc/rcS.d /etc/rc2.d

Thanks

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Also could you attach a copy of /proc/mounts

Changed in udev:
assignee: nobody → keybuk
importance: Undecided → Medium
status: Unconfirmed → Needs Info
Revision history for this message
Jo Shields (directhex) wrote :
Revision history for this message
Jo Shields (directhex) wrote :
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Where did /etc/rc2.d/S03udev come from?!

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Actually, your rc2.d is entirely buggered -- with things that should only exist in rcS.d in there

The double-udev is what caused this, the second udev would temporarily remove /dev/null and overwrite the permissions

Changed in udev:
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.