camera-app mic permission item blank

Bug #1487129 reported by Allan LeSage
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
John McAleely
pulseaudio (Ubuntu)
Won't Fix
High
Manuel de la Peña
ubuntu-system-settings (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Working through camera/mic trust issues, discovering that the camera-app's mic item under "Other app access" is blank, will attach a screenie.

Tags: pulse-touch
Revision history for this message
Allan LeSage (allanlesage) wrote :
Revision history for this message
Ken VanDine (ken-vandine) wrote :

Looking at the trust.db, the mic request is in:
  ~/.local/share/PulseAudio/trust.db
  1|qtubuntu-camera|0|1440088476621790410|1

compared to the camera request in:
  ~/.local/share/CameraService/trust.db
  1|com.ubuntu.camera_camera|0|1440079963231981311|1

Whatever is inserting the request for mic access is using the wrong name.

Changed in ubuntu-system-settings (Ubuntu):
status: New → Invalid
Changed in pulseaudio (Ubuntu):
assignee: nobody → Manuel de la Peña (mandel)
status: New → Confirmed
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
milestone: none → ww34-2015
assignee: nobody → John McAleely (john.mcaleely)
Changed in pulseaudio (Ubuntu):
importance: Undecided → High
Changed in canonical-devices-system-image:
importance: Undecided → High
Revision history for this message
John McAleely (john.mcaleely) wrote :

Is this actually fixable? ie, does pulse know the camera (and not the plain audio subsystem) is the accessing party here?

Changed in canonical-devices-system-image:
status: New → Confirmed
importance: High → Critical
Revision history for this message
John McAleely (john.mcaleely) wrote :

I've subscribed tvoss who designed this arrangement, in case the bug is in the architecture, and not a boring string cockup.

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

<https://wiki.ubuntu.com/AccountPrivileges#permission-prompt>: "'Video recording' should be separate from 'Camera' so that an app does not need two permissions when recording video, one for the camera and one for the microphone. If an app has permission to record video, it should have access to the microphone whenever it is recording video."

Revision history for this message
Thomas Voß (thomas-voss) wrote :

Interestingly, the entry for the CameraService is correct and constitutes a valid App id. However, the entry for the microphone is not a valid app id but seems to come from a service that runs under an app-armor profile "qtubuntu-camera". I think we might need to patch the respective service, too, to enable trust integration.

Revision history for this message
Thomas Voß (thomas-voss) wrote :

@mpt: Sure, let's first iron out the actual underlying issues though.

Revision history for this message
John McAleely (john.mcaleely) wrote :

@mpt, we may have to iterate on what we have to get to the desired aim of one prompt for two trust store requests.

Changed in pulseaudio (Ubuntu):
status: Confirmed → In Progress
Changed in canonical-devices-system-image:
status: Confirmed → In Progress
Revision history for this message
Allan LeSage (allanlesage) wrote :

@mpt, lp:1487152 also relevant to two-perms schema.

Bill Filler (bfiller)
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
tags: added: pulse-touch
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Ubuntu Touch is no longer supported.

Changed in pulseaudio (Ubuntu):
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.