On 03.04.2014 00:27, Greg KH wrote: > 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.
Allow me to propose an alternative to 'debug' and 'systemd.debug'. When I debug boot issues and add 'debug' to the kernel command line, I do it by editing the command line through the boot loader and I might do it several times in a row, so I want the option to be short. I imagine that's a common workflow and is one of the reasons everybody wants to claim 'debug'. I suggest we return the 'debug' option to the kernel folk and add a new option 'dbg' with a string of single letter arguments. For example, 'dbg=ki' (k for kernel, i for init) would activate debugging in the kernel and the init system. Further, r could be added for initrd debugging and 'dbg' on it's own could default to 'dbg=kri'. The new option would be short, flexible, and extensible, 'debug' could still be used by kernel developers as they are used to, and it's trivial to implement. Wouldn't that make everyone happy? _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel