This bug was fixed in the package udev - 137-1
---
udev (137-1) jaunty; urgency=low
* New upstream release:
- udevadm test no longer has force option.
- udevd has --resolve-names=early|late|never option.
- Group of IDE CD-ROM drives fixed. LP: #315997.
- Group of DR
** Changed in: udev (Ubuntu)
Status: Triaged => Fix Committed
--
/etc/init.d/udev-finish attempts to write to read-only root
https://bugs.launchpad.net/bugs/224870
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs ma
** Changed in: udev (Ubuntu)
Importance: Undecided => Low
Status: New => Triaged
--
/etc/init.d/udev-finish attempts to write to read-only root
https://bugs.launchpad.net/bugs/224870
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubunt
[ -w /etc/udev/rules.d ] returns FALSE in BASH for a RO root
[ -w /etc/udev/rules.d ] returns TRUE in DASH for a RO root
/usr/bin/[ -w /etc/udev/rules.d ] returns FALSE in BASH and DASH (and I assume
every other shell) for a RO root
I had thought that POSIX specified that -w should return FALSE w
/usr may not be mounted at that point.
Why doesn't [ -w ... ] work in dash?
--
/etc/init.d/udev-finish attempts to write to read-only root
https://bugs.launchpad.net/bugs/224870
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu
Actually, -w doesn't work at all since POSIX says it can return TRUE if
the filesystem is read-only.
An alternate test for writability is required.
--
/etc/init.d/udev-finish attempts to write to read-only root
https://bugs.launchpad.net/bugs/224870
You received this bug notification because you
Note: I had to tweak the patch to make it work correctly using dash as
the shell.
Specifically, in my case, `[ -w /etc/udev/rules.d ]` does not seem to
work correctly using the dash built-ins, so I tweaked the conditional to
give the full path to `[`, which bypasses the buggy built-in.
i.e.
if /
** Attachment added: "Write-checking patch for /etc/init.d/udev-finish"
http://launchpadlibrarian.net/14050486/udev-finish.patch
--
/etc/init.d/udev-finish attempts to write to read-only root
https://bugs.launchpad.net/bugs/224870
You received this bug notification because you are a member of