-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database write issues when database is on an automounted device #3985
Comments
Upgrade to 2.5.1 and you'll be all set. |
Apologies for the late reply, I didn't get around to testing the newest version back then. 2.5.4 was released as a backport in Debian recently, and I just wanted to confirm that it indeed fixed the issue. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On a Debian 10 system with KeePassXC 2.4.3, I'm seeing two kinds of problems when the database is on an automounted device:
I can see that systemd.automount is repeatedly mounting and unmounting the device.
If I force the directory to remain mounted (eg by opening the directory in a file browser), the issue disappears.
I'm guessing that KeePassXC reads the database in its entirety upon startup, then closes it again, only to open it again when a writeout needs to happen, all while periodically checking whether the underlying file has changed?
Here is an example fstab entry:
UUID=xxx /media/foo ext4 noauto,x-systemd.automount,x-systemd.idle-timeout=3 0 0
Possible Solution
An option to force the database (or even just the underlying directory) to remain in use would be nice.
Debug Info
KeePassXC - Version 2.4.3
Revision: 5d6ef0c
Qt 5.11.3
Debugging mode is disabled.
Operating system: Debian GNU/Linux 10 (buster)
CPU architecture: x86_64
Kernel: linux 5.3.0-0.bpo.2-amd64
Enabled extensions:
Cryptographic libraries:
libgcrypt 1.8.4
The text was updated successfully, but these errors were encountered: