touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #118241
[Bug 1415488] Re: Fix update reliability problem
** Project changed: mediascanner2 => mediascanner2 (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu.
https://bugs.launchpad.net/bugs/1415488
Title:
Fix update reliability problem
Status in mediascanner2 package in Ubuntu:
New
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1415488/+subscriptions