[CentOS] Systemd debug logging turned on in CentOS 7

Rob DeSanno rdesanno at gmail.com
Tue Feb 28 15:22:34 UTC 2017


Last time I saw it, I had just upgraded my CentOS 7 box with the 3.10.0-514 kernel and it rebooted already configured into debug mode. Not sure if this is a “feature” of the newer kernels or not but glad to see that i’m not the only one who had noticed this.

# awk -F\' '$1=="menuentry " {print i++ " : " $2}' /etc/grub2.cfg
0 : CentOS Linux (3.10.0-514.6.2.el7.x86_64) 7 (Core)
1 : CentOS Linux (3.10.0-514.6.2.el7.x86_64) 7 (Core) with debugging
2 : CentOS Linux (0-rescue-7b37bcbe36eb420fb6426976c41b0aaf) 7 (Core)
3 : CentOS Linux (0-rescue-7b37bcbe36eb420fb6426976c41b0aaf) 7 (Core) with debugging

On Feb 27, 2017, 8:40 PM -0500, Chris Adams <linux at cmadams.net>, wrote:
> Once upon a time, Thomas Eriksson <thomas.eriksson at slac.stanford.edu> said:
> > I noticed that some, but not all, of my CentOS 7 machines have these
> > kernel parameters for turning on systemd debug level logging added to
> > the grub.cfg file.
>
> Yep, for each of the installed kernels, I have two GRUB entries: one
> with and one without debugging. It seems that when I install a new
> kernel, the debugging entry gets the "default" choice.
>
> I don't know what's adding them though.
> --
> Chris Adams <linux at cmadams.net
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos



More information about the CentOS mailing list