QML example attached. Save to /tmp/test-accounts.qml and generate an apparmor profile with: $ aa-easyprof --policy-vendor=ubuntu --policy-version=1.0 --template=ubuntu-sdk --policy-groups=accounts,networking --template-var='@{APP_PKGNAME}=test-accounts' --template-var='@{CLICK_DIR}=/tmp' --template-var='@{APP_VERSION}=1.0' --template-var='@{APP_ID_DBUS}=test_2daccounts' --read-path='/tmp/test-accounts.qml' --profile-name=test-accounts > /tmp/test-accounts.profile
Then launch under confinement with: $ sudo apparmor_parser -r /tmp/test-accounts.profile && aa-exec-click -p test-accounts -- qmlscene /tmp/test-accounts.qml launch on its own with: $ qmlscene /tmp/test-accounts.qml ** Attachment added: "test-accounts.qml" https://bugs.launchpad.net/ubuntu/+source/accounts-qml-module/+bug/1232097/+attachment/3845155/+files/test-accounts.qml -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232097 Title: accounts-qml-module requires read/write access to accounts.db To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/accounts-qml-module/+bug/1232097/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs