Red Hat Bugzilla – Bug 483756
Wrong usage of ghn_errno and strerror_r
Last modified: 2009-11-06 19:19:44 EST
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: create_udp_client: hostname lookup failed: Operation not permitted
because gethostbyname_r is failed. However, in this case, this message should be
automount: 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):
This report is just based on code-reading. So I cannot tell the way. Sorry.
Steps to Reproduce:
OK, will fix.
autofs-5.0.3-44 has been submitted as an update for Fedora 10.
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.