← Back to team overview

touch-packages team mailing list archive

[Bug 1414625] Re: Temporarily grant additional rights to camera-app so it can read free disk space

 

While this temporary policy worked, we want to remove this at some
point. There should be some sort of service to let apps know when they
are low on disk space. This policy addition was 'ok' for the camera-app
because it is an Ubuntu Core app and written by Canonical, but non-
Canonical apps won't be allowed to add these accesses. They must use the
future service to get low disk space notifications.

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

Title:
  Temporarily grant additional rights to camera-app so it can read free
  disk space

Status in Camera App:
  Fix Released
Status in apparmor-easyprof-ubuntu package in Ubuntu:
  Won't Fix

Bug description:
  To fix a critical bug for RTM we need camera app to be able to know how much free disk space is available. The bug is 
  https://bugs.launchpad.net/barajas/+bug/1405211

  To do this it uses a library (that will be part of QT 5.4 when it is
  released) that reads some system files in /proc and /dev that at the
  moment generate the following denials:

  [10846.769018] type=1400 audit(1422275993.028:285): apparmor="DENIED" operation="open" profile="com.ubuntu.camera_camera_3.0.0.493" name="/proc/22701/mounts" pid=22701 comm="camera-app" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
  [10846.769192] type=1400 audit(1422275993.028:286): apparmor="DENIED" operation="open" profile="com.ubuntu.camera_camera_3.0.0.493" name="/dev/disk/by-label/" pid=22701 comm="camera-app" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0

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


References