-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"user" has no permissions to write to org.ofono on system bus by default #372
Comments
we should probably avoid hard coding permissions to a user name if possible and provide permissions based on groups instead. we dont want leste to stay single user forever. |
On Maemo the user is always called |
There are a lot of scripts and daemons that still start/run as |
Like, in general I agree, but let's not make that an issue here. ;) |
ok maybe we should open a seperate issue somewhere else. anyways not introducing new dependacnys on the username will make later migration easyer. most of the stuff currently started via ini scripts explicetly as user should be started by a session manager. like just a maemo-users gid with all the extra permissions we need over the stock debian groups would be enough for now |
Well, yeah. But I think that should probably be a separate issue and I'd personally not be ready to tackle it until I have phone that is usable as daily driver. ;) |
ofono.conf seems like good place to fix this. I suggest simply
commiting this.
|
The problem with that approach is that we only package a special ofono for the Droid 4. We don't for the VMs and for the N900. So then we have to fork ofono for all platforms. |
Not sure what the best solution is. This is really Maemo-specific
adaptation of ofono, and we'll need it on N900, too. Can that be done
from some kind of maemo-adaptation package?
|
Hi!
I'm not sure, but creating
/etc/dbus-1/system.d/ofono-maemo.conf
containing:
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus
Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- ../system.conf have denied everything, so we just punch some
holes -->
<policy user="user">
<allow send_destination="org.ofono"/>
</policy>
</busconfig>
could do the trick.
|
I think so too. We're working on this, and also doing it for some other device specific configs. |
Fixed in maemo-leste/leste-config@780adae In a day or so (max), |
We need to add this:
to the right place here
/etc/dbus-1/system.d/ofono.conf
.Perhaps we can make another fine there, and extend the ofono behaviour?
cc @parazyd @pavelmachek
The text was updated successfully, but these errors were encountered: