Bug 1941630
| Summary: | lots of unmatched cron log entries | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tom Horsley <horsley1953> |
| Component: | logwatch | Assignee: | Frank Crawford <frank> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 33 | CC: | anon.amish, bugzilla.redhat.com, frank, h.reindl, netllama, pmarciniak, subscribed-lists, ti.eugene |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | logwatch-7.5.5-2.fc33 logwatch-7.5.5-2.fc32 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-04-09 15:16:58 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
Tom Horsley
2021-03-22 14:01:40 UTC
This appears to be a change in cronie. Prior to 1.5.6 it did not print CMDEND, but the latest version does. I will look at a quick fix to suppress it, but a full fix probably won't be available until the next release of logwatch, in about 6 months. I just went into /usr/share/logwatch/scripts/services/cron and added this test immediately after the CMD matching:
} elsif $ThisLine =~ s/^CMDEND \((.+)\)\s*$/$1/) {
# ignore
I'll see if it works tomorrow when I get my next logwatch run.
Tom, thanks. You can actually get it dropped by adding it to the block of lines ending in a '# Ignore' near the start of the script, and that is likely to be the quick fix. However, I may also look at if we may report on the data at a later stage. *** Bug 1943911 has been marked as a duplicate of this bug. *** FEDORA-2021-7a2e153f33 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-7a2e153f33 FEDORA-2021-42021ae95f has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-42021ae95f FEDORA-2021-7a40bc0b7e has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-7a40bc0b7e FEDORA-2021-42021ae95f has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-42021ae95f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-42021ae95f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-7a40bc0b7e has been pushed to the Fedora 32 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-7a40bc0b7e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-7a40bc0b7e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-7a2e153f33 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-7a2e153f33` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-7a2e153f33 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-42021ae95f has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-7a40bc0b7e has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-7a2e153f33 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-7a2e153f33 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. |