Bug 483756
Summary: | Wrong usage of ghn_errno and strerror_r | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Masatake YAMATO <yamato> | ||||
Component: | autofs | Assignee: | Ian Kent <ikent> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 10 | CC: | ikent, jmoyer | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 5.0.3-44 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 533323 (view as bug list) | Environment: | |||||
Last Closed: | 2009-11-07 00:19:44 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: | |||||||
Attachments: |
|
OK, will fix. autofs-5.0.3-44 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/autofs-5.0.3-44 autofs-5.0.3-44 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 330729 [details] A patch fixing the issue. Description of problem: When unexisting host name is given, automount reports following message to log automount[2234]: create_udp_client: hostname lookup failed: Operation not permitted because gethostbyname_r is failed. However, in this case, this message should be automount[2234]: create_udp_client: hostname lookup failed: Unknown host Broken message comes from sterror_r(ghn_errno,...); See the patch for more detail. Version-Release number of selected component (if applicable): autofs-5.0.3-36 How reproducible: This report is just based on code-reading. So I cannot tell the way. Sorry. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: