[systemd-devel] [PATCH v4] use systemd.debug on the kernel command line, not "debug"

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Fri Apr 4 22:11:47 PDT 2014


On Thu, Apr 03, 2014 at 04:08:15PM +0200, Hannes Reinecke wrote:
> From: Greg KH <gregkh at linuxfoundation.org>
> 
> If the kernel is started with "debug", that's for the kernel to switch
> into debug mode.  We should rely on a namespace for our options, like
> everything else (with the exception of "quiet").  Some people want to
> only debug the kernel, not systemd, and the opposite as well so make
> everyone happy.
Essentialy, this patch adds systemd.debug as an alias for
systemd.log_level=debug systemd.log_target=console. But it doesn't
really fix anything, just moves the initial problem to a different set
of options. This isn't useful. In addition, it is reasonable to use
"debug" to turn on verbose mode for the kernel + init combo, since in
practice this is what people need to diagnose boot problems.

Zbyszek


More information about the systemd-devel mailing list