Bug 1017109
Summary: | Error: print() on closed filehandle | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | pb+red-hat | ||||
Component: | logwatch | Assignee: | Jan Synacek <jsynacek> | ||||
Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.4 | CC: | mkolaja | ||||
Target Milestone: | rc | Keywords: | Patch | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1082014 (view as bug list) | Environment: | |||||
Last Closed: | 2015-10-12 13:55:02 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1082014 | ||||||
Attachments: |
|
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux. Please, see an alternative patch in bug #1082014 (which is the same bug for RHEL 5). That one takes a different approach, which is in line with the approach taken by upstream. |
Created attachment 809814 [details] Patch to fix bug Description of problem: After setting the following options in the logwatch.conf SplitHosts = yes MultiEmail = yes The following error message is printed multiple times to stderr but the mails send look ok. print() on closed filehandle OUTFILE at /usr/sbin/logwatch line 1321. Version-Release number of selected component (if applicable): 7.3.6-49 How reproducible: Tested on different hosts with the same result. Steps to Reproduce: 1. Use a centralized syslog server 2. Set the specified config options in the logwatch config 3. Run logwatch Actual results: Displays error messages Expected results: No error messages Additional info: I have attached a patch that fixes the problem for me.