HAL requires /usr to be mounted read/write
Bug #248649 reported by
hunger
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
I have /usr mounted read-only and starting HAL fails with the following error message:
rm: cannot remove "/usr/share/
This happens after upgrading to intrepid, HAL deb is at version 0.5.11-1ubuntu1.
Workaround: For now I am mounting /usr rw.
Related branches
To post a comment you must log in.
This happens due to line 38 in /etc/init.d/hal: That is where the offending rm is located.
I changed the line to start with 'test -w "/u/s/h/ f/p/gparted- disable- automount. fdi" && ' and that seems to work well enough...
The actual rm is there as a aworkaround to LP #134712 (or so it seems), so only removing the file if it exists and is actually writeable is OK... in a ro /usr gparted should never have created the file in the first place anyway.