FYI:
10:35 < jdstrand> rvr: can you do: 'mkdir -p 
/home/phablet/.cache/QML/Apps/online-accounts-ui/' then ttry again?
10:35 < rvr> jdstrand: Sure
10:38 < rvr> jdstrand: Jul 16 15:37:30 ubuntu-phablet kernel: 
[52.552819]type=1400 audit(1437061050.590:131): apparmor="DENIED" 
operation="mknod" 
profile="com.ubuntu.developer.rmescandon.asana_account-plugin_1.0.0" 
name="/home/phablet/.cache/QML/Apps/online-accounts-ui/ef91bab385a7f63fa8bbf22bbf9d1bdf"
 pid=3546 comm="QQmlThread" requested_mask="c" denied_mask="c" fsuid=32011 
ouid=32011
10:40 < jdstrand> rvr: ok-- that indicates two things-- one, the denial is not 
harmless and two, there is a bug in the silo because 
/home/phablet/.cache/QML/Apps/online-accounts-ui/ef91bab385a7f63fa8bbf22bbf9d1bdf
 is not app-specific, and it should be

-- 
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/1468792

Title:
  various apparmor denials when using ubuntu-account-plugin template

Status in Online Accounts setup for Ubuntu Touch:
  In Progress
Status in apparmor-easyprof-ubuntu package in Ubuntu:
  Fix Released
Status in click-reviewers-tools package in Ubuntu:
  Fix Released
Status in ubuntu-system-settings-online-accounts package in Ubuntu:
  New

Bug description:
  This is a new bug for the problems seen in bug #1219644. Specifically:

  1. There is a denial to create this directory if it does not exist already:
  Jun 24 17:02:55 ubuntu-phablet kernel: [44001.684473] type=1400 
audit(1435183375.362:404): apparmor="DENIED" operation="mkdir" 
profile="com.ubuntu.developer.rmescandon.asana_account-plugin_1.0.0" 
name="/home/phablet/.cache/QML/Apps/online-accounts-ui/" pid=15145 
comm="QQmlThread" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011

  2. If you create that directory, the next denial is not application specific 
(ie, it doesn't use the APP_ID):
  Jun 24 17:12:00 ubuntu-phablet kernel: [44546.645041] type=1400 
audit(1435183920.324:495): apparmor="DENIED" operation="mknod" 
profile="com.ubuntu.developer.rmescandon.asana_account-plugin_1.0.0" 
name="/home/phablet/.cache/QML/Apps/online-accounts-ui/ea1df0af2467507eb3888f68100da073"
 pid=17998 comm="QQmlThread" requested_mask="c" denied_mask="c" fsuid=32011 
ouid=32011

  3. The apparmor policy has rules for this:
    owner @{HOME}/.cache/online-accounts-ui/id-*-@{APP_PKGNAME}_@{APP_APPNAME}/ 
rw,
    owner 
@{HOME}/.cache/online-accounts-ui/id-*-@{APP_PKGNAME}_@{APP_APPNAME}/** mrwkl,

  but *not* for:
    owner @{HOME}/.cache/QML/Apps/online-accounts-ui/.../ rw,
    owner @{HOME}/.cache/QML/Apps/online-accounts-ui/.../** mrwkl,

  It is not clear if '3' will be fixed if '2' is or if the policy will need 
this added after '2' is fixed:
    # Allow writes to application-specific QML cache directories
    owner @{HOME}/.cache/QML/Apps/@{APP_PKGNAME}_@{APP_APPNAME}_@{APP_VERSION}/ 
  rw,
    owner 
@{HOME}/.cache/QML/Apps/@{APP_PKGNAME}_@{APP_APPNAME}_@{APP_VERSION}/** mrwkl,

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-system-settings-online-accounts/+bug/1468792/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to