#4704 BLOC Update.: Rainbow breaks automount
Zarro Boogs per Child
bugtracker at laptop.org
Wed Nov 7 01:51:12 EST 2007
#4704: Rainbow breaks automount
-------------------------------+--------------------------------------------
Reporter: bemasc | Owner: tomeu
Type: defect | Status: new
Priority: blocker | Milestone: Update.1
Component: journal-activity | Version: Development build as of this date
Resolution: | Keywords: mount, usb, automount, journal
Verified: 0 |
-------------------------------+--------------------------------------------
Changes (by mstone):
* cc: mstone, krstic, marco, tomeu (added)
* owner: mstone => tomeu
* component: security => journal-activity
Comment:
After having briefly investigated, it's clear that there are two
fundamental issues at stake here. First, the Journal is being prevented
from talking to Hal over the System Bus because the system bus has a
default-deny policy and because no exception is made for Hal. Making an
exception is easy; figuring out exactly the right exception to make is
somewhat more challenging.
Secondly, the journal (in joyride-235, which is what I am testing on) is
supplying mount options to Hal (in volumesmanager.py) which are now
incorrect - or at least, suboptimal. We want something closer to uid=500
and maybe umask=000 than the current choices of uid=os.getuid() and
umask=077.
At any rate, the first piece of this - fixing mounting - seems to be
fairly easy to do. Further testing will be required to make sure that the
complete USB/SD usage pattern checks out.
In particular, I managed to produce a Journal crash while trying to access
a mounted file that I am currently investigating.
--
Ticket URL: <http://dev.laptop.org/ticket/4704#comment:1>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list