View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006734||CentOS-6||autofs||public||2013-11-12 15:42||2013-11-12 20:29|
|Target Version||Fixed in Version|
|Summary||0006734: autofs mounts don't resolve ip's in the output of df for round robin dns entries|
|Description||This is similar to bug 5109. Autofs mounts aren't showing the short version of the hostname that is mounted but instead the IP address. The system can resolve the reverse. Here's what df -h shows :|
5.0T 3.4T 1.7T 67% /sb/dist
It should show :
5.0T 3.4T 1.7T 67% /sb/dist
[root@scylla ~]# host mako
mako.mc.vanderbilt.edu has address 10.96.193.22
mako.mc.vanderbilt.edu has address 10.96.193.21
mako.mc.vanderbilt.edu has address 10.96.193.20
[root@scylla ~]# host 10.96.193.22
22.214.171.124.in-addr.arpa domain name pointer mako.mc.vanderbilt.edu.
[root@scylla ~]# host 10.96.193.21
126.96.36.199.in-addr.arpa domain name pointer mako.mc.vanderbilt.edu.
[root@scylla ~]# host 10.96.193.20
188.8.131.52.in-addr.arpa domain name pointer mako.mc.vanderbilt.edu.
|Steps To Reproduce||setup autofs to mount a host that has round robin dns entries|
|Tags||No tags attached.|
|From what I gathered, that (showing the IP instead of the hostname) is the intended behavior when the hostname has multiple DNS addresses.|
|No, because it doesn't work like that on other systems with older versions of autofs (e.g. centos 5.6, autofs-5.0.1-0.rc2.143.el5_6.2) . If I want the IP I can run mount . Actually after 5.6, i.e in 5.7 was when the problem started happening (or behavior changed) according to bug 5109.|
|in any case, I'll check upstream ..|
|Again from what I gathered, looks like the current behavior is new in EL6. Older autofs probably does not have this "feature".|
|Just tried autofs 5.0.8, does indeed look like they changed this behavior. I'll go find out why.|
|CentOS must match upstream, feature for feature, bug for bug. So, I suggest you file a report at http://bugzilla.redhat.com and see what they say about why the current behavior was made default.|
|By upstream i meant autofs devs, but not sure if the autofs devs are also rht devs. I'll check.|
OK, keep us posted with your findings.
In the meantime I spotted the following entry in the changelog (last line):
* Fri Jan 28 2011 Ian Kent <firstname.lastname@example.org> - 5.0.5-27
- bz616426 - autofs initscript should implement force-reload and try-restart
- add lsb force-reload and try-restart
- bz629359 - [RFE] Automounter debug mode should include IP addresses
- include ip address in debug logging.
- mount using address for DNS round robin host names.
|2013-11-12 15:42||sabujp||New Issue|
|2013-11-12 15:46||sabujp||Note Added: 0018336|
|2013-11-12 17:25||toracat||Note Added: 0018337|
|2013-11-12 17:44||sabujp||Note Added: 0018339|
|2013-11-12 17:46||sabujp||Note Added: 0018340|
|2013-11-12 18:15||toracat||Note Added: 0018341|
|2013-11-12 19:10||sabujp||Note Added: 0018343|
|2013-11-12 19:19||toracat||Note Added: 0018344|
|2013-11-12 19:29||sabujp||Note Added: 0018345|
|2013-11-12 20:29||toracat||Note Added: 0018346|