Bug 697867
Summary: | smartd prints "internal error in MailWarning(): cfg.mailwarn->emailfreq=0" when no mailaddress is specified | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Christian Horn <chorn> | ||||||
Component: | smartmontools | Assignee: | Michal Hlavinka <mhlavink> | ||||||
Status: | CLOSED ERRATA | QA Contact: | qe-baseos-tools-bugs | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | urgent | ||||||||
Version: | 6.0 | CC: | azelinka, jwest, pkovar, plyons, rvokal, syeghiay | ||||||
Target Milestone: | rc | ||||||||
Target Release: | 6.2 | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: |
Prior to this update, when a system event relevant to smartd happened, the following spurious error message was output if no mail address was configured:
"smartd: internal error in MailWarning(): cfg.mailwarn->emailfreq=0"
This unintended behavior has been fixed in this update so that the spurious error message is no longer displayed.
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2011-08-24 10:56:46 UTC | Type: | --- | ||||||
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: | 658636 | ||||||||
Attachments: |
|
Description
Christian Horn
2011-04-19 13:53:32 UTC
> Removing lines 99-108 should solve the problem.
yes, this section of the patch should be removed
Created attachment 497319 [details]
the patch at currently used
Created attachment 497320 [details]
the patch as suggested/fixed version
Can we get the required ACKs once RHEL6.1 is GA? Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Prior to this update, when a system event relevant to smartd happened, the following spurious error message was output if no mail address was configured: "smartd: internal error in MailWarning(): cfg.mailwarn->emailfreq=0" This unintended behavior has been fixed in this update so that the spurious error message is no longer displayed. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1201.html |