touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #18170
[Bug 1370218] [NEW] QAudioRecorder does not work properly under 'microphone' security policy
Public bug reported:
I recently wrote a small application[1] to spot an ancient issue I had
using QAudioRecorder on Ubuntu devices.
After I have installer gstreamer0.10-pulseaudio (otherwise "pulseaudio:" is not listed as available source), I tried to start a record through QAudioRecorder but it failed, giving me this output:
"shm_open() failed: Permission denied"
I've checked for some denials from apparmor (using 'dmesg | grep DEN'),
but none was found.
If I change the apparmor profile[2], so that my test application is
launched in a unconfined environment, QAudioRecorder works properly as
expected.
I run this test on my Nexus 5 (utopic-devel-proposed #185), but this
problem with shm happens also on i386 ubuntu-emulator (utopic-devel
#206).
Just for reference, this is the link to the original mail, stored in the ubuntu-phone team mailing list archive:
http://lists.launchpad.net/ubuntu-phone/msg09842.html
[1] - http://bazaar.launchpad.net/~verzegnassi-stefano/+junk/recorder-test/files
[2]
{
"policy_version": 1.2,
"template": "unconfined",
"policy_groups": []
}
** Affects: apparmor-easyprof-ubuntu (Ubuntu)
Importance: Undecided
Status: New
--
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/1370218
Title:
QAudioRecorder does not work properly under 'microphone' security
policy
Status in “apparmor-easyprof-ubuntu” package in Ubuntu:
New
Bug description:
I recently wrote a small application[1] to spot an ancient issue I had
using QAudioRecorder on Ubuntu devices.
After I have installer gstreamer0.10-pulseaudio (otherwise "pulseaudio:" is not listed as available source), I tried to start a record through QAudioRecorder but it failed, giving me this output:
"shm_open() failed: Permission denied"
I've checked for some denials from apparmor (using 'dmesg | grep
DEN'), but none was found.
If I change the apparmor profile[2], so that my test application is
launched in a unconfined environment, QAudioRecorder works properly as
expected.
I run this test on my Nexus 5 (utopic-devel-proposed #185), but this
problem with shm happens also on i386 ubuntu-emulator (utopic-devel
#206).
Just for reference, this is the link to the original mail, stored in the ubuntu-phone team mailing list archive:
http://lists.launchpad.net/ubuntu-phone/msg09842.html
[1] - http://bazaar.launchpad.net/~verzegnassi-stefano/+junk/recorder-test/files
[2]
{
"policy_version": 1.2,
"template": "unconfined",
"policy_groups": []
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1370218/+subscriptions
Follow ups
-
[Bug 1370218] Re: Fine-grained shm mediation (confined applications need access to /run/shm/shmfd*)
From: Launchpad Bug Tracker, 2014-10-30
-
[Bug 1370218] Re: Fine-grained shm mediation (confined applications need access to /run/shm/shmfd*)
From: Jamie Strandboge, 2014-10-24
-
[Bug 1370218] Re: Fine-grained shm mediation (confined applications need access to /run/shm/shmfd*)
From: Jamie Strandboge, 2014-10-10
-
[Bug 1370218] Re: confined applications need access to /run/shm/shmfd*
From: Jamie Strandboge, 2014-10-09
-
[Bug 1370218] Re: confined applications need access to /run/shm/shmfd*
From: Jamie Strandboge, 2014-10-09
-
[Bug 1370218] Re: confined applications need access to /run/shm/shmfd*
From: Jamie Strandboge, 2014-10-06
-
[Bug 1370218] Re: confined applications need access to /run/shm/shmfd*
From: Jamie Strandboge, 2014-10-01
-
[Bug 1370218] Re: confined applications need access to /run/shm/shmfd*
From: Launchpad Bug Tracker, 2014-10-01
-
[Bug 1370218] Re: confined applications need access to /run/shm/shmfd*
From: Launchpad Bug Tracker, 2014-09-30
-
[Bug 1370218] Re: confined applications need access to /run/shm/shmfd*
From: Jamie Strandboge, 2014-09-30
-
[Bug 1370218] Re: confined applications need access to /run/shm/shmfd*
From: Jamie Strandboge, 2014-09-30
-
[Bug 1370218] Re: confined applications need access to /run/shm/shmfd*
From: Jamie Strandboge, 2014-09-30
-
[Bug 1370218] Re: confined applications need access to /run/shm/shmfd*
From: Jamie Strandboge, 2014-09-30
-
[Bug 1370218] Re: QAudioRecorder does not work properly under 'microphone' security policy
From: Jamie Strandboge, 2014-09-30
-
[Bug 1370218] Re: QAudioRecorder does not work properly under 'microphone' security policy
From: Jamie Strandboge, 2014-09-30
-
[Bug 1370218] Re: QAudioRecorder does not work properly under 'microphone' security policy
From: Launchpad Bug Tracker, 2014-09-29
-
[Bug 1370218] Re: QAudioRecorder does not work properly under 'microphone' security policy
From: Jamie Strandboge, 2014-09-26
-
[Bug 1370218] Re: QAudioRecorder does not work properly under 'microphone' security policy
From: Jamie Strandboge, 2014-09-26
-
[Bug 1370218] Re: QAudioRecorder does not work properly under 'microphone' security policy
From: Jamie Strandboge, 2014-09-26
-
[Bug 1370218] Re: QAudioRecorder does not work properly under 'microphone' security policy
From: Jamie Strandboge, 2014-09-26
-
[Bug 1370218] Re: QAudioRecorder does not work properly under 'microphone' security policy
From: Stefano Verzegnassi, 2014-09-23
-
[Bug 1370218] Re: QAudioRecorder does not work properly under 'microphone' security policy
From: Seth Arnold, 2014-09-18
-
[Bug 1370218] Re: QAudioRecorder does not work properly under 'microphone' security policy
From: Stefano Verzegnassi, 2014-09-18
-
[Bug 1370218] Re: QAudioRecorder does not work properly under 'microphone' security policy
From: Seth Arnold, 2014-09-16
-
[Bug 1370218] [NEW] QAudioRecorder does not work properly under 'microphone' security policy
From: Stefano Verzegnassi, 2014-09-16
References