[ BIENVENIDO | ENCUENTRA O COMPARTE SOLUCIONES ]
I M P O R T A N T E
REGLAS DEL FORO | PROBLEMAS DE INGRESO O CONTRASEÑA | DEEPINES CHANGE LOG | ÚLTIMOS MENSAJES
Hace días que, tras actualizar el sistema, aparece este aviso en la terminal:
WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead.
Y no sé qué hacer con ello... ¿Me podéis indicar cómo proceder?
Gracias
Solución:
agregar CRYPTSETUP=y en /etc/cryptsetup-initramfs/conf-hook. Via terminal puedes hacer:
sudo sh -c 'echo "CRYPTSETUP=y" >> /etc/cryptsetup-initramfs/conf-hook'
Hecho por terminal.
Muchas gracias @alfredoferreira
No olvides agregar tambien
sudo apt install console-setup
No es que lo olvide, es que no tenía ni idea... pero al hacerlo me dice que ya tengo la última versión de console-setup
Gracias @programacionjs
Hola.
A mí me pasó exactamente lo mismo. Instalé console-setup y luego agregué la línea recomendada por Alfredo Ferreira. El archivo quedó así:
#
# Configuration file for the cryptroot initramfs hook.
#
#
# CRYPTSETUP: [ y | n ]
#
# Add cryptsetup modules to the initramfs image, regardless of _this_
# machine configuration. By default, cryptsetup modules are only added
# when there is a device that needs to be unlocked at initramfs stage
# (such as root or resume devices).
#
#CRYPTSETUP=
#
# KEYFILE_PATTERN: ...
#
# The value of this variable is interpreted as a shell pattern.
# Matching key files from the crypttab(5) are included in the initramfs
# image. The associated devices can then be unlocked without manual
# intervention. (For instance if /etc/crypttab lists two key files
# /etc/keys/{root,swap}.key, you can set KEYFILE_PATTERN="/etc/keys/*.key"
# to add them to the initrd.)
#
# Setting KEYFILE_PATTERN to a non-empty value implies "CRYPTSETUP=y".
#
# WARNING: If the initramfs image is to include private key material,
# you'll want to create it with a restrictive umask in order to keep
# non-privileged users at bay. For instance, set UMASK=0077 in
# /etc/initramfs-tools/initramfs.conf
#
#KEYFILE_PATTERN=
CRYPTSETUP=y
CRYPTSETUP=y
CRYPTSETUP=y
¿Ya quedó resuelto?
Gracias de antemano por cualquier información que me puedan suministrar