On 10/23/2015 11:10 AM, Robie Basak wrote:
> On Fri, Oct 23, 2015 at 11:06:34AM -0500, Jamie Strandboge wrote:
>> On 10/23/2015 10:45 AM, Robie Basak wrote:
>>
>>> (This is for an unconfined app - I think some changes will be needed to
>>> the AppArmor profile definitions to make it work confined - for example
>>> push notification helpers are too confined to allow one written in
>>> Python to run currently, despite the what documentation examples do).
>>>
>> Please file bugs[1] on specifics. AIUI, there are already several python push
>> helpers.
> 
> I didn't file a bug at the time because there was a comment in the
> AppArmor profile definition (supplied by easyprof IIRC) that said that
> Python was specifically not supported. Although I was following the SDK
> documentation example, I was still getting an AppArmor denial, even
> using identical code to the example.
> 
> Perhaps this has changed now, or the release on my phone mismatched the
> documentation I was using?
> 
It depends on the template and policy group if that comment is in it. It seems I
misremembered though-- looking at the policy, python isn't allowed for push
clients since it isn't specifically supported. You can always bundle the
interpreter if you want, but that is pretty heavyweight for a push helper but is
allowed for an app.

This is the direction snappy is going too, but in snappy there is a tool to help
with bundling (snapcraft).

-- 
Jamie Strandboge                 http://www.ubuntu.com/

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
ubuntu-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

Reply via email to