Note, this only happens on krillin. It works fine on mako.
I'm testing with build 16 on krillin. Looks like some policy things may have to 
be added. There are a ton of apparmor denials in /var/log/syslog when trying to 
play a video in gallery:

Sep  4 23:03:06 ubuntu-phablet kernel: [ 7089.770923] 
(0)[24512:CodecLooper]type=1400 audit(1409886186.514:88): apparmor="DENIED" 
operation="open" profile="com.ubuntu.gallery_gallery_2.9.1.1049" 
name="/android/system/etc/mtk_omx_core.cfg" pid=24512 comm="CodecLooper" 
requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
Sep  4 23:03:07 ubuntu-phablet kernel: [ 7090.821936] 
(0)[24524:MtkOmxVdecDecod]type=1400 audit(1409886187.564:89): apparmor="DENIED" 
operation="open" profile="/usr/bin/media-hub-server" name="/dev/MTK_SMI" 
pid=24524 comm="MtkOmxVdecDecod" requested_mask="r" denied_mask="r" fsuid=32011 
ouid=0
Sep  4 23:03:08 ubuntu-phablet kernel: [ 7091.662986] 
(0)[24561:CodecLooper]type=1400 audit(1409886188.404:90): apparmor="DENIED" 
operation="open" profile="com.ubuntu.gallery_gallery_2.9.1.1049" 
name="/android/system/etc/mtk_omx_core.cfg" pid=24561 comm="CodecLooper" 
requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
Sep  4 23:03:10 ubuntu-phablet kernel: [ 7093.517505] 
(1)[24589:CodecLooper]type=1400 audit(1409886190.254:91): apparmor="DENIED" 
operation="open" profile="com.ubuntu.gallery_gallery_2.9.1.1049" 
name="/android/system/etc/mtk_omx_core.cfg" pid=24589 comm="CodecLooper" 
requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
Sep  4 23:03:19 ubuntu-phablet kernel: [ 7102.409151] 
(1)[24191:QSGRenderThread]type=1400 audit(1409886199.144:92): apparmor="DENIED" 
operation="open" profile="com.ubuntu.gallery_gallery_2.9.1.1049" 
name="/proc/M4U_device" pid=24191 comm="QSGRenderThread" requested_mask="r" 
denied_mask="r" fsuid=32011 ouid=0
Sep  4 23:03:19 ubuntu-phablet kernel: [ 7102.409411] 
(1)[24191:QSGRenderThread]type=1400 audit(1409886199.144:93): apparmor="DENIED" 
operation="open" profile="com.ubuntu.gallery_gallery_2.9.1.1049" 
name="/proc/M4U_device" pid=24191 comm="QSGRenderThread" requested_mask="r" 
denied_mask="r" fsuid=32011 ouid=0
Sep  4 23:03:20 ubuntu-phablet kernel: [ 7103.643101] 
(2)[24191:QSGRenderThread]type=1400 audit(1409886200.384:94): apparmor="DENIED" 
operation="open" profile="com.ubuntu.gallery_gallery_2.9.1.1049" 
name="/proc/M4U_device" pid=24191 comm="QSGRenderThread" requested_mask="r" 
denied_mask="r" fsuid=32011 ouid=0


** Also affects: media-hub
   Importance: Undecided
       Status: New

** Also affects: apparmor-easyprof-ubuntu (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: media-hub
   Importance: Undecided => Critical

** Changed in: apparmor-easyprof-ubuntu (Ubuntu)
   Importance: Undecided => Critical

** Changed in: gallery-app
       Status: New => Invalid

** Changed in: media-hub
     Assignee: (unassigned) => Jim Hodapp (jhodapp)

** Changed in: apparmor-easyprof-ubuntu (Ubuntu)
     Assignee: (unassigned) => Jamie Strandboge (jdstrand)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1365509

Title:
  Videos fail to play from gallery app

To manage notifications about this bug go to:
https://bugs.launchpad.net/gallery-app/+bug/1365509/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to