← Back to team overview

touch-packages team mailing list archive

[Bug 1360366] [NEW] Qt.labs.settings using ~/.config/qt-project.org which is blocked by apparmor

 

Public bug reported:

I was using Qt.labs.settings in a QML app, and when trying to store
settings in a click app running on ubuntu touch, I get this:

Aug 22 16:49:17 ubuntu-phablet kernel: [  144.375949] type=1400
audit(1408726157.559:149): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.developer.ralsina.hello_hello_0.4"
name="/home/phablet/.config/qt-project.org/" pid=2846 comm="qmlscene"
requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011

jdstrand suggested this was caused by not setting applicationName in my
QML, but it is set, see http://bazaar.launchpad.net/~ralsina/ubuntu-
push-qml/nicer-example/view/head:/example/main.qml for the code.

So, looks like a bug in settings?

** Affects: qtdeclarative-opensource-src (Ubuntu)
     Importance: Critical
         Status: New


** Tags: application-confinement rtm14

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

Title:
  Qt.labs.settings using ~/.config/qt-project.org which is blocked by
  apparmor

Status in “qtdeclarative-opensource-src” package in Ubuntu:
  New

Bug description:
  I was using Qt.labs.settings in a QML app, and when trying to store
  settings in a click app running on ubuntu touch, I get this:

  Aug 22 16:49:17 ubuntu-phablet kernel: [  144.375949] type=1400
  audit(1408726157.559:149): apparmor="DENIED" operation="mkdir"
  profile="com.ubuntu.developer.ralsina.hello_hello_0.4"
  name="/home/phablet/.config/qt-project.org/" pid=2846 comm="qmlscene"
  requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011

  jdstrand suggested this was caused by not setting applicationName in
  my QML, but it is set, see http://bazaar.launchpad.net/~ralsina
  /ubuntu-push-qml/nicer-example/view/head:/example/main.qml for the
  code.

  So, looks like a bug in settings?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1360366/+subscriptions


Follow ups

References