I edited a LibreOffice spreadsheet file in my veracrypt volume and then tried to unmount it afterwards.
But instead got an error message, unable to unmount veracrypt volume, using either in my file manager,
or via the Veracrypt GUI unmount all button, or terminal cli, with a "target is busy" message.
Notes - After further experiments and testing,
Just mounting and unmounting the veracrypt volume works ok.
Mounting, and then editing a text file in the volume with notepadqq, saving and then unmounting appears to work ok.
Mounting, opening a spreadsheet file using LibreOffice 26.2, Closing LibreOffice (without making any edits or saving file),
causes the problem to occur.
LibreOffice 26.2.2.2 (X86_64), Ubuntu package version 4:26.2.2.2-0ubuntu1
(not a snap... it was installed via "apt install libreoffice)
Expected behavior
Volume unmount with no issues.
Observed behavior
Get error message "One or more files on this device are open within an application."
sudo umount /media/veracrypt1
umount: /media/veracrypt1: target is busy.
Steps to reproduce
- Mount Veracrypt volume
- Open a libreoffice spreadsheet file, and then close the LibreOffice app (without changing the file).
- Tried to unmount the veracrypt volume using my file manager, using veracrypt gui, using terminal cli
Screenshots
Tried this google suggestion to see what was still 'using' the volume....
sudo lsof /media/veracrypt1
lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
glycin-im 30047 main cwd DIR 254,0 3072 744 /media/veracrypt1/MyData
glycin-sv 30069 main cwd DIR 254,0 3072 744 /media/veracrypt1/MyData
glycin-sv 30184 main cwd DIR 254,0 3072 744 /media/veracrypt1/MyData
glycin-im 30244 main cwd DIR 254,0 3072 744 /media/veracrypt1/MyData
I'm not sure but is "glycin-im" and "glycin-sv" anything to do with rust GNOME/glycin??
Note - following the aforementioned experiment with just doing a text file edit, a "lsof" didn't list output. But once the LibreOffice app has run and stopped, the "glycin" entries remain in the lsof output.
Your Environment
Ubuntu 24.06 with kernel 7.0.0 compiled from source code.
I recently updated from 25.10 with kernel 6.14, where veracrypt was running ok with no issues.
(Frrom previous experience I ensured I had dm-crypt included in the kernel source build to allow veracrypt mounting to work (issue 839)).
For building 7.0.0 I did the same again, to include dm-crypt. Afterwards I tested I could mount a veracrypt volume and had no issues (but I didn't try to modify anything in the volume at that time, so I assumed everything was ok).
Its possible I might need to include something else in my kernel build, so will experiment further.... (already revised the above with results).
VeraCrypt version:
veracrypt-1.26.24-Ubuntu-25.04-amd64.deb, 1.26.24 released by AM Crypto May 30, 2025.
Operating system and version:
Ubuntu 26.04, kernel 7.0.0.0
System type:
Dell M6700, intel x64
I edited a LibreOffice spreadsheet file in my veracrypt volume and then tried to unmount it afterwards.
But instead got an error message, unable to unmount veracrypt volume, using either in my file manager,
or via the Veracrypt GUI unmount all button, or terminal cli, with a "target is busy" message.
Notes - After further experiments and testing,
Just mounting and unmounting the veracrypt volume works ok.
Mounting, and then editing a text file in the volume with notepadqq, saving and then unmounting appears to work ok.
Mounting, opening a spreadsheet file using LibreOffice 26.2, Closing LibreOffice (without making any edits or saving file),
causes the problem to occur.
LibreOffice 26.2.2.2 (X86_64), Ubuntu package version 4:26.2.2.2-0ubuntu1
(not a snap... it was installed via "apt install libreoffice)
Expected behavior
Volume unmount with no issues.
Observed behavior
Get error message "One or more files on this device are open within an application."
sudo umount /media/veracrypt1
umount: /media/veracrypt1: target is busy.
Steps to reproduce
Screenshots
Tried this google suggestion to see what was still 'using' the volume....
sudo lsof /media/veracrypt1
lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
glycin-im 30047 main cwd DIR 254,0 3072 744 /media/veracrypt1/MyData
glycin-sv 30069 main cwd DIR 254,0 3072 744 /media/veracrypt1/MyData
glycin-sv 30184 main cwd DIR 254,0 3072 744 /media/veracrypt1/MyData
glycin-im 30244 main cwd DIR 254,0 3072 744 /media/veracrypt1/MyData
I'm not sure but is "glycin-im" and "glycin-sv" anything to do with rust GNOME/glycin??
Note - following the aforementioned experiment with just doing a text file edit, a "lsof" didn't list output. But once the LibreOffice app has run and stopped, the "glycin" entries remain in the lsof output.
Your Environment
Ubuntu 24.06 with kernel 7.0.0 compiled from source code.
I recently updated from 25.10 with kernel 6.14, where veracrypt was running ok with no issues.
(Frrom previous experience I ensured I had dm-crypt included in the kernel source build to allow veracrypt mounting to work (issue 839)).
For building 7.0.0 I did the same again, to include dm-crypt. Afterwards I tested I could mount a veracrypt volume and had no issues (but I didn't try to modify anything in the volume at that time, so I assumed everything was ok).
Its possible I might need to include something else in my kernel build, so will experiment further.... (already revised the above with results).
VeraCrypt version:
veracrypt-1.26.24-Ubuntu-25.04-amd64.deb, 1.26.24 released by AM Crypto May 30, 2025.
Operating system and version:
Ubuntu 26.04, kernel 7.0.0.0
System type:
Dell M6700, intel x64