/dev/.static/dev is mounted ro in intrepid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Debian) |
Fix Released
|
Unknown
|
|||
udev (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After booting /dev/.static/dev is mounted ro:
cat /proc/mounts | grep static
/dev/disk/
This is not related to errors=remount-ro, since I tested it with errors=continue as mount-option for / and it was mounted ro again.
Running "sudo /etc/init.d/udev stop && sudo /etc/init.d/udev start" after the system has booted fixes this:
cat /proc/mounts | grep static
/dev/disk/
This affects some packages, like bluez-utils which are trying to create devices in that directory.
I asked some hardy users and it seems like the problem does not happen there.
Changed in udev: | |
status: | Unknown → Fix Released |
I wonder whether that's a kernel change?
It's a bind mount of the root filesystem, and previously that bind mount just had whatever permissions the underlying root filesystem had.
Of course, I know that the kernel recently gained support for bind mounts being mounted differently - I wonder whether that means the new mount doesn't inherit in the same way it did before.
mount root ro
bind /dev to /dev/.static/dev
mount root rw
Arguably we should just get rid of /dev/.static/dev anyway, since we utterly don't support a static /dev -- it'd mean that postinsts just succeeded.