[Bug 1365509] Re: Videos fail to play from gallery app

2014-09-08 Thread Jean-Baptiste Lallement
I tried with a video recorded with the camera and the video in the description 
with build: 
version version: 23
version ubuntu: 20140908
version device: 20140904-741ef02
version custom: krillin-0.3a

And confirm that it is fixed.

** Changed in: media-hub
   Status: New => Fix Released

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1365509] Re: Videos fail to play from gallery app

2014-09-07 Thread Jani Monoses
Does this happen with image 22?
That has  device-20140904-741ef02.tar.xz which includes most of the apparmor 
fixes.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1365509] Re: Videos fail to play from gallery app

2014-09-05 Thread Jim Hodapp
Not sure what project the device tarball is a part of, so leaving it as
media-hub for the project that it affects and assigned Jani to it just
to keep track of the bug.

** Changed in: media-hub
 Assignee: Jim Hodapp (jhodapp) => Jani Monoses (jani)

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1365509] Re: Videos fail to play from gallery app

2014-09-05 Thread Jani Monoses
This are fixed in krillin git but not yet in a published device tarball.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1365509] Re: Videos fail to play from gallery app

2014-09-05 Thread Jamie Strandboge
** Tags added: application-confinement

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1365509] Re: Videos fail to play from gallery app

2014-09-04 Thread Jamie Strandboge
These need to be added to the hardware/video.d file for krillin (this is part 
of the device tarball and not part of apparmor-easyprof-ubuntu and are thus 
handled separately):
  @{PROC}/M4U_device r,
  /{,android/}system/etc/mtk_omx_core.cfg r,
  /dev/MTK_SMI r,

That said, I wonder why the gallery app itself is accessing these files
and not just letting media-hub do it? Note, media-hub already has the
first two of these rules in its policy.

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

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

** Changed in: apparmor-easyprof-ubuntu (Ubuntu)
   Status: New => Invalid

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1365509] Re: Videos fail to play from gallery app

2014-09-04 Thread Bill Filler
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs