Centos 8: Replacement for /var/log/dmesg?
by berndbausch from LinuxQuestions.org on (#4Z1R8)
Centos/RHEL 7 saves the kernel message buffer to /var/log/dmesg at the end of system startup. This is done using a systemd service named rhel-dmesg. It's a simple but useful feature; it makes sense to keep startup messages. I don't know how long they are kept in /var/log/messages or the systemd journal.
Centos 8 doesn't seem to have /var/log/dmesg or this service. Or perhaps I am wrong? It's not hard to craft such a service myself, but it would be better to know if there is anything equivalent in 8. Does anybody know?


Centos 8 doesn't seem to have /var/log/dmesg or this service. Or perhaps I am wrong? It's not hard to craft such a service myself, but it would be better to know if there is anything equivalent in 8. Does anybody know?