Notificaciones
Eliminar todas

[ 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

Aviso en la terminal sobre cryptsetup

6 Respuestas
4 Usuarios
1 Me gusta
4,770 Visitas
orfeo
(@orfeo)
Respuestas: 75
Integrante Estimado Deepineros
Iniciante del hilo
 

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

 
Publicado el : 3 septiembre, 2018 7:19 am
(@alfredoferreira)
Respuestas: 1
Nuevo (a) Integrante Deepineros
 

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'

 
Publicado el : 3 septiembre, 2018 3:52 pm
orfeo
(@orfeo)
Respuestas: 75
Integrante Estimado Deepineros
Iniciante del hilo
 

Hecho por terminal.

Muchas gracias @alfredoferreira

 
Publicado el : 3 septiembre, 2018 4:24 pm
Alfredo Ferreira reaccionó
ProgramacionJS
(@programacionjs)
Respuestas: 57
Integrante Confiable Moderadores
 

No olvides agregar tambien

sudo apt install console-setup
 
Publicado el : 7 septiembre, 2018 1:29 pm
orfeo
(@orfeo)
Respuestas: 75
Integrante Estimado Deepineros
Iniciante del hilo
 

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

 

 
Publicado el : 7 septiembre, 2018 4:07 pm
(@oscarlosada)
Respuestas: 14
Integrante Activo Deepineros
 

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

 
Publicado el : 14 diciembre, 2018 4:05 pm
Comparte: