Public bug reported:

I'm creating a click package for an application that makes use of
qtdeclarative5-qtlocation-plugin by using this code

import QtLocation 5.0
...
PositionSource {
}


This is the apparmor information file in the click package:

{
    "policy_groups": ["networking", "location"],
    "policy_version": 1
}


This happens why I try to run the app:

terminate called after throwing an instance of 'std::runtime_error'
  what():  An AppArmor policy prevents this sender from sending this message 
to this recipient, 0 matched rules; type="method_call", sender="(null)" 
(inactive) interface="org.freedesktop.DBus" member="Hello" error 
name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus)

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: apparmor 2.8.0-0ubuntu27
ProcVersionSignature: Error: [Errno 2] No such file or directory: 
'/proc/version_signature'
Uname: Linux 3.4.0-3-mako armv7l
ApportVersion: 2.12.1-0ubuntu3
Architecture: armhf
Date: Tue Sep 10 07:16:59 2013
InstallationDate: Installed on 2013-09-07 (2 days ago)
InstallationMedia: Ubuntu Saucy Salamander (development branch) - armhf 
(20130907)
MarkForUpload: True
ProcKernelCmdline: console=ttyHSL0,115200,n8 androidboot.hardware=mako 
lpj=67677 uart_console=enable lcd_maker_id=primary lge.hreset=off 
lge.reset=mode_reset gpt=enable lge.kcal=0|0|0|x lge.rev=rev_11 
mdm_force_dump_enabled androidboot.emmc=true 
androidboot.serialno=007c09ab10897992 androidboot.bootloader=MAKOZ10o 
androidboot.baseband=mdm bootreason=reboot
SourcePackage: apparmor
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: apparmor (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug armhf saucy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1223211

Title:
  PositionSource blocked by AppArmor even with "loaction" policy_group
  enabled.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1223211/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to