OS: Linux Mint 21.3
Hello. Love Vaultwarden, have been using it successfully for a few months now. However, I recently made a hardware change that is mixing badly with Vaultwarden’s docker settings. I changed to a new SATA expansion card (so it could use a PCIe x1 slot) which is fielding 7 drives. Now, every minute or so, I get this in my journalctl -xe system log:
Feb 22 07:52:42 Muninn udisksd[1694]: Error cleaning up mount point /media/qwinn/dsk66: Error removing directory: Device or resource busy
Feb 22 07:52:42 Muninn udisksd[1694]: Cleaning up mount point /media/qwinn/dsk64 (device 8:96 is not mounted)
Feb 22 07:52:42 Muninn udisksd[1694]: Error cleaning up mount point /media/qwinn/dsk64: Error removing directory: Device or resource busy
Feb 22 07:52:42 Muninn udisksd[1694]: Cleaning up mount point /media/qwinn/dsk65 (device 8:208 is not mounted)
Feb 22 07:52:42 Muninn udisksd[1694]: Error cleaning up mount point /media/qwinn/dsk65: Error removing directory: Device or resource busy
Feb 22 07:52:42 Muninn udisksd[1694]: Cleaning up mount point /media/qwinn/dsk29 (device 8:160 is not mounted)
Feb 22 07:52:42 Muninn udisksd[1694]: Error cleaning up mount point /media/qwinn/dsk29: Error removing directory: Device or resource busy
Feb 22 07:52:42 Muninn udisksd[1694]: Cleaning up mount point /media/qwinn/dsk14 (device 8:113 no longer exists)
Feb 22 07:52:42 Muninn udisksd[1694]: Error cleaning up mount point /media/qwinn/dsk14: Error removing directory: Device or resource busy
Feb 22 07:52:42 Muninn udisksd[1694]: Cleaning up mount point /media/qwinn/dsk31 (device 8:176 is not mounted)
Feb 22 07:52:42 Muninn udisksd[1694]: Error cleaning up mount point /media/qwinn/dsk31: Error removing directory: Device or resource busy
Feb 22 07:52:42 Muninn udisksd[1694]: Cleaning up mount point /media/qwinn/dsk63 (device 8:192 is not mounted)
Feb 22 07:52:42 Muninn udisksd[1694]: Error cleaning up mount point /media/qwinn/dsk63: Error removing directory: Device or resource busy
Feb 22 07:52:42 Muninn systemd[1]: run-docker-runtime\x2drunc-moby-09a13408e7c2c9b1c0a7db70e2b30accf0e2f8564fba1cce69dfc1e706d5c820-runc.WlEqgE.mount: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit run-docker-runtime\x2drunc-moby-09a13408e7c2c9b1c0a7db70e2b30accf0e2f8564fba1cce69dfc1e706d5c820-runc.WlEqgE.mount has successfully entered the 'dead' state.
I have 13 drives on this box, but the 7 drives listed in those errors are the ones on the new SATA expansion card. These drives have nothing to do with Vaultwarden, and the docker container should not need to have any interaction with them, much less “clean up” their mount points and try to unmount them.
Those 7 drives are being constantly read from by other unrelated processes, and show no indication of ever being unmounted or inaccessible to the general OS.
If I docker stop Vaultwarden (the only docker container on this box), the system log spam stops completely. Restarts about a minute after restarting vaultwarden.
I do have a docker container on a separate machine that has the same identical new SATA expansion card that is not generating these messages, So it is apparently possible to set up a docker container in such a way that does not cause this conflict. The only obvious differences are that the other docker container uses --mount whereas vw uses -v, and also that docker container is using a --user parameter, but I wouldn’t think either of those could cause this issue (I will attempt to switch vw to use --mount, though, and will repost here if that helps).
Please help - the system log spam is making the logs fairly useless, there is no reason why vaultwarden or docker should be interacting with these hard drives, and I think I will have to take steps to install vaultwarden without docker (which seems a fairly painful process, and would stop automatic updates) if I can’t find some setting that will make vw’s docker stop trying to unmount my unrelated hard drives and spamming my logs. Thanks in advance!