[CentOS] CentOS 7, systemd,, and message floods

m.roth at 5-cent.us m.roth at 5-cent.us
Wed Apr 5 21:29:17 UTC 2017


Chris Adams wrote:
> Once upon a time, Brian Mathis <brian.mathis+centos at betteradmin.com> said:
>> if grep -q debug /proc/cmdline; then
>>     echo "Kernel and systemd debugging was enabled as part of an errant
>> script during the yum update"
>>     echo "See https://bugs.centos.org/view.php?id=12425 and
>> https://wiki.centos.org/HowTos/Grub2"
>> fi
>
> Assuming your GRUB entries are in the usual order (newest kernel first),
> you can do:
>
> grub2-set-default "$(grep '^menuentry' /boot/grub2/grub.cfg | grep -v
> debug | head -n 1 | cut -d\' -f2)"
>
> and then reboot.

Thanks to both of you - that's the issue.

         mark





More information about the CentOS mailing list