← Back to team overview

touch-packages team mailing list archive

[Bug 1415488] [NEW] Fix update reliability problem

 

You have been subscribed to a public bug:

Currently the dash does not always get results when querying during
system scans. The reason for this is that reads and writes clash with
each other in SQLite's default journaling mode. There is a retry logic
but sometimes it still fails even with 100 retries.

SQLite has a solution for this which is moving to WAL logging.
Unfortunately that requires read/write access to the db and some
auxiliary files even for readers (if you try it works, but all queries
return empty). This is prohibited by current app armor policy.

There does not seem to be a simple solution for this issue. Ones with
more work include:

- loosening app armor rules for apps that need the db (music-app, others?)
- moving all queries behind a dbus service

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

-- 
Fix update reliability problem
https://bugs.launchpad.net/bugs/1415488
You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu.