Journalctl compiled without pattern matching support, pcre2 is not in main
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 : | #1 |
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 : | #2 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in pcre2 (Ubuntu): | |
status: | New → Confirmed |
Michał J. Gajda (mgajda) wrote : | #3 |
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 : | #4 |
pcre2 was promoted to main today for Ubuntu 19.04.
no longer affects: | pcre2 (Ubuntu) |
Changed in systemd (Ubuntu): | |
status: | Confirmed → Triaged |
Marius Gedminas (mgedmin) wrote : | #5 |
journactl --grep works in Ubuntu 19.10 (but not 19.04 or older versions).
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.