[OE-core] [PATCH 1/2] connman: Depend on xuser-account unconditionally

Jussi Kukkonen jussi.kukkonen at intel.com
Wed Sep 30 07:08:04 UTC 2015


On 25 September 2015 at 19:12, Burton, Ross <ross.burton at intel.com> wrote:
>
> On 25 September 2015 at 16:59, Andreas Oberritter <obi at opendreambox.org>
> wrote:
>
>> Whether to add user accounts or not should be a decision made by the
>> distro. If this setting is machine specific, which to be honest
>> surprised me, why don't you just let the machine specific xorg video
>> driver depend on xuser-account unconditionally? Connman really doesn't
>> need this account.
>>
>
> connman does need the account as it uses it to allow a non-root X user to
> actually use connman.  DBus should warn if you try and set policy that uses
> users that entirely don't exist.
>
> I wonder if dbus lets multiple files assign policy, so the dbus rules
> could go into the xuser package?
>

I see the patch is in master now but I'll just note here that Ross' idea
here seems like a good solution (even if it makes figuring out the overall
policy a little trickier for humans) and I see nothing that would prevent
it from working. I just got side tracked with other D-Bus policy bugs while
look at this: After I'm done with those I'll make a patch to move the xuser
connman policy to the xuser recipe.

Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150930/283eb620/attachment-0002.html>


More information about the Openembedded-core mailing list