Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499200 - media-sound/clementine-1.1.1 - database breaks with NFS home directory
Summary: media-sound/clementine-1.1.1 - database breaks with NFS home directory
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fat-Zer
Depends on:
Blocks: 588908
  Show dependency tree
Reported: 2014-01-25 09:57 UTC by Joe Breuer
Modified: 2016-08-08 20:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Joe Breuer 2014-01-25 09:57:00 UTC
I recently - again - encountered a situation where sqlite databases on NFS shares would break:

Since firefox/thunderbird also use sqlite internally, my home is on NFS and they most assuredly don't break under heavy usage, I started investigating.

At first, I thought that SQLITE_ENABLE_LOCKING_STYLE=1 could enable locking method detection and that enabling it might help.

But looking at the code of both sqlite and mozilla, that doesn't appear to be what's going on - all code around SQLITE_ENABLE_LOCKING_STYLE is also conditional on __APPLE__ or other non-linux os specific environments.

This looked promising:

But I don't have the storage.nfs_filesystem preference set, and firefox still works correctly out of my NFS home, whereas clementine regularly corrupts its database.

Ah well, I'll try to dig deeper another time; perhaps someone with more information about what's going on here could drop a few pointers.

For the time being, symlinking the clementine database to a local filesystem works around the issue.
Comment 1 Nikoli 2014-02-13 05:26:01 UTC
Upstream asked you: "Can you try with the latest version (1.2.1)?"
Comment 2 Fat-Zer 2016-08-08 20:45:01 UTC
As mentioned above, please check if the problem persists in latest versions and feel free to reopen the bug.