<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Do not parse "debug" command line parameter"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76935">76935</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Do not parse "debug" command line parameter
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bp@alien8.de
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Supplying "debug" on the kernel command line gets parsed by systemd. If
a random assertion in it fires, something like this, for example:

[  150.308000] systemd-journald[1559]: Assertion
'dual_timestamp_is_set(&e->timestamp)' failed at
src/libsystemd/sd-event/sd-event.c:2191, function sd_event_get_now_monotonic().
Ignoring.
[  150.308000] systemd-journald[1559]: Assertion
'dual_timestamp_is_set(&e->timestamp)' failed at
src/libsystemd/sd-event/sd-event.c:2191, function sd_event_get_now_monotonic().
Ignoring.

it floods dmesg and I cannot log into the machine anymore. I have to
reboot and remove "debug" from the command line so that the machine can
boot. BUT(!), I want to see kernel debug messages so I have to be able
to supply "debug" *without* systemd interfering.

What it should do, instead, is *not* parse "debug" but something else
with a namespace, i.e. "systemd.debug" or whatever as "debug" is a
kernel cmdline parameter and not aimed for systemd.

And while we're at it, we'd need a configurable option to tell systemd
*not* to log to dmesg for when one wants to see only output from the
kernel in the kernel ring buffer, i.e. something like "systemd.nodmesg"
or so.

Thanks.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>