Help with permissions for terminal-recorder

Jamie Strandboge jamie at canonical.com
Mon Jul 6 15:34:18 UTC 2015


On 07/03/2015 01:43 PM, Sergio Schvezov wrote:
> On Fri, Jul 03, 2015 at 10:38:33AM -0600, Leo Arias wrote:
>> On Thu, Jul 2, 2015 at 4:50 AM, Sergio Schvezov <
>> sergio.schvezov at canonical.com> wrote:
>>
>>> Not caps, but hw-assign from snappy for /dev/tty1 to your package.
>>
>>
>> Yes, I did that:
>>
>> sudo snappy hw-assign terminal-recorder.sideload /dev/tty1
>>
>> Same error:
>>
>>  Jul 3 16:34:06 localhost kernel: [ 266.899768] audit: type=1400
>> audit(1435941246.991:18): apparmor="DENIED" operation="getattr"
>> info="Failed name lookup - disconnected path" error=-13
>> profile="/usr/bin/ubuntu-core-launcher" name="dev/tty1" pid=1142
>> comm="ubuntu-core-lau" requested_mask="r" denied_mask="r" fsuid=1000
>> ouid=1000
>>
>> From the app armor FAQ, I see that the disconnected path means:
>> lazily unmounted device path opened outside of current namespace
>>
>> Not sure what to do with that info.
> 
> Well, there is a missing leading '/' in 'dev/tty1'. From what I recall
> apparmor requires absolute paths.
> 

This denial is with the ubuntu-core-launcher profile, and I've filed:
https://bugs.launchpad.net/snappy/+bug/1471862

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20150706/205ea213/attachment.pgp>


More information about the snappy-app-devel mailing list