View previous topic :: View next topic |
Author |
Message |
Superfox_il_Volpone n00b
Joined: 14 Aug 2012 Posts: 47
|
Posted: Sun Jan 18, 2015 8:47 pm Post subject: journalctl -b -1 not retrieving the last but one boot log |
|
|
Hi,
I`ve recently updated @world including the beta of Gnome 3.14, and am starting to experience several issues. One is related to journalctl, not being able to retrieve the last but one boot log :
Code: |
[root@sebastian] /etc: journalctl --list-boots
-98 08ef0046cc9447e3a7d07affc80e68b2 Sun 2014-09-07 00:12:39 IST—Sun 2014-09-07 00:12:44 IST
-97 edb96b73e58b483984062528753fb386 Sun 2014-09-07 12:23:28 IST—Sun 2014-09-07 12:48:30 IST
...
-3 9ec1c95a4b914e1e9be678ce2ff5c2d5 Fri 2014-12-12 22:43:34 GMT—Sat 2014-12-13 00:20:08 GMT
-2 1f00a59c298d4083b988b928b85952ef Sat 2014-12-13 17:54:22 GMT—Sat 2014-12-13 20:30:44 GMT
[b] -1 9aff36b45cc5400c88f31093132de094 Sat 2014-12-13 21:33:23 GMT—Sat 2014-12-13 21:50:13 GMT[/b]
0 34659a7793904e6da0f60dcbf148edb9 Sun 2014-12-14 15:18:16 GMT—Sun 2014-12-14 15:18:52 GMT
|
Then journalctl -b retrieves the current log, now I would expect journalctl -b -1 to retrieve the last but one boot log:
Code: |
[root@sebastian] /etc: journalctl -b -1
-- Logs begin at Sun 2014-09-07 00:12:39 IST, end at Sun 2015-01-18 20:38:30 GMT. --
Dec 13 21:33:23 sebastian systemd-journal[136]: Runtime journal is using 8.0M (max allowed 797.6M, trying to leave 1.1G free of 7.7G available → current limit 797.6M).
Dec 13 21:33:23 sebastian systemd-journal[136]: Runtime journal is using 8.0M (max allowed 797.6M, trying to leave 1.1G free of 7.7G available → current limit 797.6M).
...
[root@sebastian] /etc: journalctl -b 1
-- Logs begin at Sun 2014-09-07 00:12:39 IST, end at Sun 2015-01-18 20:38:30 GMT. --
Sep 07 00:12:39 sebastian systemd-journal[1393]: Runtime journal is using 8.0M (max allowed 797.5M, trying to leave 1.1G free of 7.7G available → current limit 797.5M).
Sep 07 00:12:39 sebastian systemd-journal[1393]: Runtime journal is using 8.0M (max allowed 797.5M, trying to leave 1.1G free of 7.7G available → current limit 797.5M).
Sep 07 00:12:39 sebastian kernel: Initializing cgroup subsys cpuset
...
[root@sebastian] /etc: systemctl --version
systemd 216
+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK -SYSVINIT -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL -XZ -LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN
|
I don`t really understand what pattern is following. Anyway if I perform journalctl (without any params) I can see to the full list of logs, and (with some patience) find also the most recent logs, included the last but one.
Any idea how to solve this? Or is my command just wrong?
Thanks,
s.fox |
|
Back to top |
|
|
Superfox_il_Volpone n00b
Joined: 14 Aug 2012 Posts: 47
|
Posted: Sun Jan 18, 2015 9:58 pm Post subject: |
|
|
Ok, solved by updating to systemd-216-r3. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|