← Back to team overview

touch-packages team mailing list archive

[Bug 1357348] Re: Cannot play sound files due to apparmor permission issue

 

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu.
https://bugs.launchpad.net/bugs/1357348

Title:
  Cannot play sound files due to apparmor permission issue

Status in Libqtelegram - a qt library to access telegram.:
  Confirmed
Status in Media Hub:
  Fix Released
Status in Media Scanner v2:
  In Progress
Status in “media-hub” package in Ubuntu:
  Fix Released
Status in “mediascanner2” package in Ubuntu:
  Fix Released

Bug description:
  In the clock app we read /usr/share/sounds/ubuntu/ringtones and when
  trying to use MediaPlayer{} or Audio{}, it works on the desktop but
  fails on the device. Doing a quick grep DEN /var/log/syslog reveals
  the following apparmor denials,

  Aug 15 11:16:58 ubuntu-phablet kernel: [ 3968.875354] type=1400 audit(1408094218.079:104): apparmor="DENIED" operation="file_mmap" profile="/usr/bin/media-hub-server" name="/tmp/orcexec.CLp5yf" pid=5825 comm="aqueue:src" requested_mask="m" denied_mask="m" fsuid=32011 ouid=32011
  Aug 15 11:16:58 ubuntu-phablet kernel: [ 3968.875506] type=1400 audit(1408094218.079:105): apparmor="DENIED" operation="mknod" profile="/usr/bin/media-hub-server" name="/run/user/32011/orcexec.cntnWk" pid=5825 comm="aqueue:src" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011

  On talking to jdstrand,
  2:09 PM <jdstrand> ah
  2:10 PM <jdstrand> we have this rule:owner /tmp/orcexec* m,
  2:10 PM <jdstrand> but it is overriden by this: audit deny owner /** m,
  2:10 PM <jdstrand> nik90: can you file a bug against media-hub?

  Original summary: in /usr/share/sound/** folder

To manage notifications about this bug go to:
https://bugs.launchpad.net/libqtelegram/+bug/1357348/+subscriptions