Mediascanner doesn't scan files - apparmor denial errors on image #145

Bug #1347609 reported by Paweł Stołowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mediascanner2
Invalid
Undecided
Unassigned

Bug Description

Mediascanner doesn't discover music / video files for me anymore on image #145; it has also been and issue in some earlier image, but I don't know when exactly it regressed. I'm getting the following apparmor errors in dmesg:

kern :notice: [ 161.064336] type=1400 audit(1406107505.031:79): apparmor="DENIED" operation="open" profile="/usr/bin/mediascanner-service-2.0" name=2F686F6D652F706861626C65742F4D757369632F3032202D2042697264206F6E2074686520576972652E6D7033 pid=2249 comm="mediascanner-se" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0

Mediascanner log says:

New file was created: /home/phablet/Music/02 - Bird on the Wire.mp3.
Extracting metadata from /home/phablet/Music/02 - Bird on the Wire.mp3.
Error when adding new file: Unable to discover file /home/phablet/Music/02 - Bird on the Wire.mp3

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

09:41 < pstolowski> jdstrand, any recent changes that could affect that? i've
                    seen it every time after flashing in the last couple of
                    days, including --wipe
09:41 < jdstrand> pstolowski: fsuid=32011 ouid=0
09:41 < jdstrand> pstolowski: you need to chown the files to the phablet user
09:41 < jdstrand> pstolowski: they are currently owned by root
09:41 < pstolowski> jdstrand, oh my...
09:41 < pstolowski> jdstrand, makes sense... i ad push'ed them
09:42 < pstolowski> jdstrand, thanks!

Revision history for this message
Paweł Stołowski (stolowski) wrote :

Problem caused by wrong file owner, as the files were pushed with adb push. Closing as invalid.

Changed in mediascanner:
status: New → Invalid
affects: mediascanner → mediascanner2
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.