Attach journalctl kernel logs from last boot if issue is about system freeze

Bug #1945153 reported by Pierre Equoy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bugit
Fix Released
High
Rick Wu

Bug Description

To collect kernel logs from previous boot:

journalctl -b -1 -k

Since v0.15, there is an option to tell at what stage was the bug filed (see lp:1904849). If the selected option is "Device froze, issue reported and logs collected right after a reboot", then we should include the logs from above command.

Tags: easy

Related branches

Pierre Equoy (pieq)
tags: added: easy
Changed in qabro:
importance: Undecided → High
Rick Wu (rickwu4444)
Changed in qabro:
assignee: nobody → Rick Wu (rickwu4444)
Revision history for this message
Rick Wu (rickwu4444) wrote (last edit ):

I found that UC20 won't enable persistent logging of journalctl[1] by default. That's mean you can't get previous boot log before manually enable it. Therefor, we might need a way to enable it during our test.

[1] https://www.golinuxcloud.com/enable-persistent-logging-in-systemd-journald/

Rick Wu (rickwu4444)
Changed in qabro:
status: New → Fix Committed
Pierre Equoy (pieq)
Changed in qabro:
milestone: none → 0.17
Pierre Equoy (pieq)
Changed in qabro:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.