[Bug 1208682] New: journalctl: option "--list-boots" does not honor --output options
https://bugzilla.suse.com/show_bug.cgi?id=1208682 Bug ID: 1208682 Summary: journalctl: option "--list-boots" does not honor --output options Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: x86-64 OS: openSUSE Leap 15.4 Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: peter.stark@storck.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- According to the manual page of journalctl(1), it should accept the "--output" options (e.g. "short-unix", or "json") as defined in the manual. However, it seems that with the "--list-boots" the "--output=<whatever>" is ignored. Example: # journalctl --output=short-unix --list-boots -3 bfdc1672ba224e4a84aa4655ed90ec0a Thu 2023-02-23 02:11:17 CET���Fri 2023-02-24 06:13:16 CET -2 26ef56c47e734985b3805a8af7f394c3 Fri 2023-02-24 06:20:50 CET���Sat 2023-02-25 08:29:24 CET -1 6132b2a1bc4c4ac1b0bc0c4afc9bda5a Sat 2023-02-25 08:30:17 CET���Sat 2023-02-25 14:50:14 CET 0 666e5a91b4274dac87640d1199dac62c Sat 2023-02-25 14:50:37 CET���Sun 2023-02-26 11:01:50 CET # journalctl --output=json --list-boots -3 bfdc1672ba224e4a84aa4655ed90ec0a Thu 2023-02-23 02:11:17 CET���Fri 2023-02-24 06:13:16 CET -2 26ef56c47e734985b3805a8af7f394c3 Fri 2023-02-24 06:20:50 CET���Sat 2023-02-25 08:29:24 CET -1 6132b2a1bc4c4ac1b0bc0c4afc9bda5a Sat 2023-02-25 08:30:17 CET���Sat 2023-02-25 14:50:14 CET 0 666e5a91b4274dac87640d1199dac62c Sat 2023-02-25 14:50:37 CET���Sun 2023-02-26 11:02:02 CET For scripting it would be valuable to have the output formatted as described in the manual page. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208682 Peter Stark <peter.stark@storck.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Peter.Stark@fujitsu.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208682 Peter Stark <Peter.Stark@fujitsu.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bschubert@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208682 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |systemd-maintainers@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208682 https://bugzilla.suse.com/show_bug.cgi?id=1208682#c1 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |fbui@suse.com Resolution|--- |UPSTREAM --- Comment #1 from Franck Bui <fbui@suse.com> --- '--ouput' controls the formatting of the journal *entries* hence I don't think it's supposed to have any influence on the output format of '--list-boots'. If you think that's a missing feature, I would suggest you to open a request for enhancement (RFE) against upstream [1] instead since it is not specific to openSUSE. Hope that makes sense. [1] https://github.com/systemd/systemd/issues/new/choose -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com