Journalctl compiled without pattern matching support, pcre2 is not in main

Bug #1751006 reported by Bas Zoetekouw on 2018-02-22
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Wishlist
Dimitri John Ledkov

Bug Description

Please add pattern matching support to journalctl. At the moment, the -g (--grep) option as described in the man page doesn't work:

╰─▶ journalctl --grep=xhci-hcd
Compiled without pattern matching support

Changed in systemd (Ubuntu):
status: New → Confirmed
importance: Undecided → High
milestone: none → ubuntu-18.03
assignee: nobody → Dimitri John Ledkov (xnox)
Dimitri John Ledkov (xnox) wrote :

pcre2 library is not in Ubuntu Main, and therefore cannot be used, at runtime, by such a core package as systemd.

once pcre2 is available in main, and thus has full Ubuntu Security support, I will be able to enable pattern matching support.

summary: - Journalctl compiled without pattern matching support
+ Journalctl compiled without pattern matching support, pcre2 is not in
+ main
no longer affects: systemd (Ubuntu Bionic)
no longer affects: pcre2 (Ubuntu Bionic)
Changed in systemd (Ubuntu):
milestone: ubuntu-18.03 → later
importance: High → Wishlist
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pcre2 (Ubuntu):
status: New → Confirmed
Michał J. Gajda (mgajda) wrote :

Maybe we can have `journalctl-grep` package for administrators that use this grep functionality for checking what happened? Nowadays debugging is recognized as foremost computing activity, even chips have special JTAG pins to allow online debugging.

I could expect most of the system administrators with big logs would appreciate faster searching of log files thanks to `journalctl -g` in the leading cloud operating system.

Jeremy Bicha (jbicha) wrote :

pcre2 was promoted to main today for Ubuntu 19.04.

no longer affects: pcre2 (Ubuntu)
Changed in systemd (Ubuntu):
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers