| Summary: | "last message repeated..." message missing if rsyslog is shut down during repetition | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Dalibor Pospíšil <dapospis> | ||||
| Component: | rsyslog7 | Assignee: | Tomas Heinrich <theinric> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Dalibor Pospíšil <dapospis> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 6.5 | CC: | ksrot, pvrabec | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-10-14 07:30:38 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: | |||||
| Attachments: |
|
||||||
|
Description
Dalibor Pospíšil
2013-10-17 16:09:39 UTC
Reproduced. This will be fixed either by the rebase to v7 (bug 869600) or an additional patch. After further investigation, the actual issue is that the "last message repeated..." status message is completely missing if rsyslog is shut down during this repetition. If a different message is logged, the status message is written as expected. This bug is present in both v5 and v7, but v7 is very different in several aspects. In v7, rate limiting and repetition are handled per-process. That means invoking logger multiple times won't trigger a repetition. The attached patch attempts to fix the missing message and also plugs some memleaks. Created attachment 902216 [details]
fix for the issue
(In reply to Dalibor Pospíšil from comment #0) > Additional info: > this is ok on RHEL-7 The reason for different perception of v7 is that in el7, by default, imjournal is used instead of imuxsock input plugin. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-1540.html |