Bug 1110712

Summary: journalctl: condition disjunction (+) doesn't work for conditions -u + _COMM
Product: [Fedora] Fedora Reporter: Petr Spacek <pspacek>
Component: systemdAssignee: systemd-maint
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: johannbg, lnie, lnykryn, msekleta, s, systemd-maint, vpavlin, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-208-26.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-02 07:26:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Spacek 2014-06-18 10:08:37 UTC
Version-Release number of selected component (if applicable):
systemd-208-17.fc20.x86_64

How reproducible:
100 %

Steps to Reproduce:
1. $ journalctl -u ods-enforcerd.service + _COMM=keydaemon.py

Actual results:
Nothing is shown.

Expected results:
Messages from ods-enforcerd.service and _COMM=keydaemon are shown.

Additional info:
Workaround is to use command:
$ journalctl _SYSTEMD_UNIT=ods-enforcerd.service + _COMM=keydaemon.py

Comment 1 Lennart Poettering 2014-06-20 10:25:28 UTC
Oh, the stuff you specify with "-u" and the other switches always is on top of whatever you the specify later on with the filter expression. The filter expression in your command line hence is simply "+ _COMM=keydaemon.py". That of course is not really a correct filter expression, as it starts with a "+"..

We probably should generate an error in cases like this, and also add proper documentation that clarify that "-u" and the other switches are on top of any filter expression you specify.

Comment 2 Fedora Update System 2014-10-26 23:10:10 UTC
systemd-208-25.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/systemd-208-25.fc20

Comment 3 lnie 2014-10-30 09:32:30 UTC
Tested with systemd-208-25.fc20,I got" "+"can only used between terms"after I ran "journalctl -u ods-enforcerd.service + _COMM=keydaemon.py"

Comment 4 Fedora Update System 2014-10-30 11:59:46 UTC
systemd-208-26.fc20,kmod-15-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/systemd-208-26.fc20,kmod-15-2.fc20

Comment 5 Fedora Update System 2014-11-01 01:40:32 UTC
Package systemd-208-26.fc20, kmod-15-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-208-26.fc20 kmod-15-2.fc20'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-14032/systemd-208-26.fc20,kmod-15-2.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-11-02 07:26:32 UTC
systemd-208-25.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-11-05 03:56:18 UTC
systemd-208-26.fc20, kmod-15-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.