void-linux / void-linux/void-docs
FDE guide: Use UUID instead of `/dev/sda*` in crypttab
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- CSS
- Estrellas
- 217
- Forks
- 212
- Merge medio
- 2 d 21 h
- PR fusionados (30 d)
- 1
Descripción
The FDE guide here currently shows the following example /etc/crypttab:
voidvm /dev/sda1 /boot/volume.key luks
This should be changed to using the UUID of the encrypted device/partition, as the device file names dev/sdx are not deterministic.
Some user on #voidlinux just had an issue where the key file in the initramfs would sometimes not be picked up, and they were asked to enter a passphrase instead. I think this might be because they had /dev/sda1 in their /etc/crypttab like the guide suggests. They reported that using /dev/disk/by-uuid/* worked.
I think dracut also understands some other syntax like UUID=... and even luks-..., but I'm not sure which one is best/correct here. I think the relevant dracut module is /usr/lib/dracut/modules.d/90crypt.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza por la sección de la guía de FDE enlazada en el issue e inspecciona su ejemplo de /etc/crypttab. Revisa el módulo de dracut referenciado en /usr/lib/dracut/modules.d/90crypt para determinar la sintaxis de UUID compatible; después, actualiza el ejemplo para que use un identificador de dispositivo determinista y verifica que la redacción de la guía sea coherente.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- linux
- Área
- documentation, operating-systems
- Tipo de issue
- Documentación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100