<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 --- - journalctl skips first entry after reboot in certain scenario"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63672">63672</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>journalctl skips first entry after reboot in certain scenario
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>marius.vollmer@redhat.com
</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>There is a inconsistency when using "-n". First without:
# journalctl UNIT=boot.mount | tail -20
Apr 11 05:37:28 f18 systemd[1]: Mounting /boot...
Apr 11 05:37:28 f18 systemd[1]: Mounted /boot.
-- Reboot --
Apr 12 02:09:41 f18 systemd[1]: Mounting /boot...
Apr 12 02:09:41 f18 systemd[1]: Mounted /boot.
-- Reboot --
Apr 15 02:53:17 f18 systemd[1]: Mounting /boot...
Apr 15 02:53:17 f18 systemd[1]: Mounted /boot.
-- Reboot --
Apr 15 13:01:50 f18 systemd[1]: Mounting /boot...
Apr 15 13:01:50 f18 systemd[1]: Mounted /boot.
-- Reboot --
Apr 16 02:17:29 f18 systemd[1]: Mounting /boot...
Apr 16 02:17:29 f18 systemd[1]: Mounted /boot.
-- Reboot --
Apr 16 09:06:05 f18 systemd[1]: Mounting /boot...
Apr 16 09:06:05 f18 systemd[1]: Mounted /boot.
-- Reboot --
Apr 17 11:12:33 f18 systemd[1]: Mounting /boot...
Apr 17 11:12:33 f18 systemd[1]: Mounted /boot.
There seem to be two messages per boot about the "boot.mount" unit.
Now with -n:
sh-4.2# journalctl UNIT=boot.mount -n10
-- Logs begin at Fri 2013-04-05 04:13:15 EDT, end at Thu 2013-04-18 03:01:01
EDT. --
Apr 15 02:53:17 f18 systemd[1]: Mounting /boot...
Apr 15 02:53:17 f18 systemd[1]: Mounted /boot.
-- Reboot --
Apr 15 13:01:50 f18 systemd[1]: Mounted /boot.
-- Reboot --
Apr 16 02:17:29 f18 systemd[1]: Mounted /boot.
-- Reboot --
Apr 16 09:06:05 f18 systemd[1]: Mounted /boot.
-- Reboot --
Apr 17 11:12:33 f18 systemd[1]: Mounted /boot.
After crossing a "-- Reboot --" line, the "Mounting /boot" message is skipped.
I haven't yet checked this with master. I'll investigate a bit myself also.
(I think this is quite major since silently omitting messages is never good.)</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>