Unable to eject USB stick after mount/unmounting repository with Veracrypt traveller version on W11 25H2

Abierto
#1,824 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
65/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Tranquilo
Stack tecnológico
c
Área
desktop

Línea de trabajo

The traveller version behaves differently from the installed version on Windows. Start from the Windows-specific mount/unmount code paths for the portable edition, identify what resources (handles, threads, processes) remain open after unmounting, and ensure they are released before the traveller exits.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug

I have just started using this (1.26.29), the aim being place repositories on removeable USB sticks, accessible from both Windows 11 and Linux (xubuntu 26.04). In order to do this a 2GB stick has ben formatted with a 500MB ext4 partition containing a folder with the standalone Linux Veracrypt AppImage, and the rest of the space (~1.3GB partition) is formatted to FAT32. This partition has a Windows folder containing the traveller standalone version of Veracrypt, and also the Veracrypt encrypted repository (200MB) called 'data'.

This all basically works, but I find that when on Windows 11 I have run the standalone Veracrypt version and mounted 'data' using the traveller tools, when I finish what I am doing (even if I didn't actually do anything at all) and unmount 'data' again, close down Veracrypt, then try to safely eject the USB stick, it won't because it says something is using it.

Logging off and back on doesn't help, it it still 'busy', it is necessary to actually shutdown the system.

However, this only applies if I use the traveller standalone Veracrypt. If I did the mounting and unmounting from the installed version, no problem.

So it seems, once the traveller version has been run, something hangs on to it.

Once the traveller version unmounts the repository and is then shut down, safe ejection of the USB stick should be possible.

Once the repository has been opened with the traveller version, the only thing that releases the USB stick for safe ejection is actually shutting the system down.

  1. Insert USB stick on a W11 system
  2. Run the traveller version from the stick, select the repository and mount it.
  3. Do something with the files in the repository (or not, doesn't seem to matter).
  4. Unmount it, close down the traveller version.
  5. Try to safely eject the stick - it will not allow it.
Image

Please tell us more about your environment

VeraCrypt version: 1.26.29 (traveller)

Operating system and version: Windows 11 Pro 25H2 OS build 26200.8655

System type: 64 bit

Lenguaje dominante
C
Estrellas
11.7k
Forks
1.4k
Merge medio
1 d 1 h
PR fusionados (30 d)
28

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de veracrypt/VeraCrypt

Todos los issues de veracrypt/VeraCrypt

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.