[systemd-bugs] [Bug 76935] Do not parse "debug" command line parameter

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 2 06:29:01 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=76935

--- Comment #6 from Mel Gorman <mgorman at suse.de> ---
(In reply to comment #4)
> (In reply to comment #3)
> > > The generic term "debug" is read by Base OS tools too.
> > 
> > ... which was wrong to begin with, without a namespace prefix.
> 
> Which we do not agree. Generic terms are generic, not the first user
> owns them.
> 

Come on Kai. The kernel is the primary user of its own command line and has a
reasonable expectation that it's the default namespace for parameters. In cases
where that is not true (such as modules), the parameter get prefixed by the
name of the module affected like i915.foo. There may be base utils that parse
the command line (they really shouldn't) but even if they do, their reaction
should not be to scribble all over the kernel log.

systemds default debug behaviour should not be to hijack the kernel log. I can
see cases where you want to do that if you need the output from a serial
console but that should be explicitly stated with a systemd.log_target.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140402/97ee9ffd/attachment.html>


More information about the systemd-bugs mailing list