gallery doesn't work correctly with files on SD card

Bug #1388264 reported by Selene ToyKeeper
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gallery-app
Confirmed
High
Unassigned
gallery-app (Ubuntu)
In Progress
High
Unassigned
gallery-app (Ubuntu RTM)
New
High
Unassigned

Bug Description

In krillin rtm image 140, the gallery app can't access files (photos or videos) from the SD card. I think this is due to apparmor denials, since I see some of those in the syslog.

This is especially weird for the user when they see a photo in the photos scope, tap on it, tap 'open', and then it launches gallery-app. The gallery can only show its index view, not the photo.

Here are some example denials:

Oct 31 13:59:34 ubuntu-phablet dbus[2010]: apparmor="DENIED" operation="dbus_bind" bus="session" name="org.freedesktop.Application" mask="bind" pid=5667 profile="com.ubuntu.gallery_gallery_2.9.1.1101"
Oct 31 14:57:25 ubuntu-phablet kernel: [ 1987.817235]type=1400 audit(1414789045.761:159): apparmor="DENIED" operation="open" profile="com.ubuntu.gallery_gallery_2.9.1.1101" name="/home/phablet/.cache/QML/Apps/" pid=24970 comm="gallery-app" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
Oct 31 14:57:26 ubuntu-phablet dbus[2008]: apparmor="DENIED" operation="dbus_bind" bus="session" name="org.freedesktop.Application" mask="bind" pid=24970 profile="com.ubuntu.gallery_gallery_2.9.1.1101"
Oct 31 14:58:41 ubuntu-phablet kernel: [ 2063.924008]type=1400 audit(1414789121.861:160): apparmor="DENIED" operation="open" profile="com.ubuntu.gallery_gallery_2.9.1.1101" name="/home/phablet/.cache/QML/Apps/" pid=25839 comm="gallery-app" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
Oct 31 14:58:42 ubuntu-phablet dbus[2008]: apparmor="DENIED" operation="dbus_bind" bus="session" name="org.freedesktop.Application" mask="bind" pid=25839 profile="com.ubuntu.gallery_gallery_2.9.1.1101"

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

The description is likely wrong.

These denials are all known:
* name="org.freedesktop.Application" mask="bind" is bug #1378823
* /home/phablet/.cache/QML/Apps/ is bug #1381620

Both should be just noise and not the actual problem.

summary: - apparmor doesn't allow gallery to access files on SD card
+ gallery doesn't work correctly with files on SD card
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

(I've adjusted the description)

Changed in gallery-app:
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
Chris Gagnon (chris.gagnon) wrote :

This is an issue on the krillin in the r166 image

tags: added: qa-daily-testing
Revision history for this message
Bill Filler (bfiller) wrote :

it's know that gallery (nor camera) support the SD card yet. This is planned for an OTA

tags: added: ota-future
Changed in gallery-app (Ubuntu):
importance: Undecided → High
Changed in gallery-app (Ubuntu RTM):
importance: Undecided → High
Changed in gallery-app:
importance: Critical → High
Changed in gallery-app (Ubuntu):
status: New → In Progress
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.