Tengo un problema con mi ubuntu 20.04. Mi /vat/log/journal crece a 195G. Cuando ejecuto el comando $tail -f /var/log/syslog
veo un registro repetido y creo que este es mi problema.
Sep 20 19:45:11 fanapsoft vboxdrv.sh[6730]: Invalid password
Sep 20 19:45:11 fanapsoft vboxdrv.sh[6730]: The Secure Boot key you've entered is not
valid. The password used must be
Sep 20 19:45:11 fanapsoft vboxdrv.sh[6730]: between 8 and 16 characters.
Sep 20 19:45:11 fanapsoft vboxdrv.sh[6730]: Enter a password for Secure Boot. It will
be asked again after a reboot.
Sep 20 19:45:11 fanapsoft vboxdrv.sh[6730]: Enter the same password again to verify
you have typed it correctly.
Sep 20 19:45:11 fanapsoft vboxdrv.sh[6730]: Invalid password
Sep 20 19:45:11 fanapsoft vboxdrv.sh[6730]: The Secure Boot key you've entered is not
valid. The password used must be
Sep 20 19:45:11 fanapsoft vboxdrv.sh[6730]: between 8 and 16 characters.
Sep 20 19:45:11 fanapsoft vboxdrv.sh[6730]: Enter a password for Secure Boot. It will
be asked again after a reboot.
Sep 20 19:45:11 fanapsoft vboxdrv.sh[6730]: Enter the same password again to verify
you have typed it correctly.
No tengo idea de por qué ocurrió este problema. Recuerdo la última vez que actualicé Ubuntu. Quiere establecer una contraseña para el próximo reinicio, pero no obtiene la contraseña después del reinicio. Sé que no puedo borrar /var/log/journal y cuando lo ejecuto $ sudo rm -rf /var/log/journal/*
no pasó nada.
Respuesta1
/etc/systemd/journald.conf
tiene una configuración para limitar el tamaño de/var/log/journal/*
SystemMaxUse={n}M
¿Dónde {n}
está el tamaño máximo?
$ sudo rm -rf /var/log/journal/*
no pasó nada.
Eso es correcto. rm
sólo informa si se produce un error.
Sin embargo, debes reiniciar tu demonio para que surta efecto (o se reinicie) consudo systemctl restart systemd-journald.service