Bug 727338 - autofs appears to mount with IP, changing df output
Summary: autofs appears to mount with IP, changing df output
Keywords:
Status: CLOSED DUPLICATE of bug 725536
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: autofs
Version: 5.7
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Ian Kent
QA Contact: yanfu,wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-01 20:53 UTC by Kendrick Gay
Modified: 2013-03-07 23:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-02 02:49:06 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Kendrick Gay 2011-08-01 20:53:14 UTC
Description of problem:
After going from autofs-5.0.1-0.rc2.143.el5_6.2 (RHEL5u6) to autofs-5.0.1-0.rc2.156.el5 (RHEL5u7), df shows the IP for NFS shares mounted by autofs:

# df
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3              15G  4.5G  9.3G  33% /
/dev/sda6              92G   33M   88G   1% /scratch
/dev/sda5             9.7G  478M  8.7G   6% /var
/dev/sda1              99M   23M   72M  24% /boot
tmpfs                 7.9G     0  7.9G   0% /dev/shm
192.168.1.249:/opt    284G   81G  189G  30% /opt
192.168.1.249:/admin  548G   30G  490G   6% /admin

Appears df reports whatever's sent to it by the mount command, which appears to suggest autofs is mounting with the IP instead of the FQDN.

This does not exist in RHEL6u1 release of autofs.

Version-Release number of selected component (if applicable):
autofs-5.0.1-0.rc2.156.el5

How reproducible:
Everytime.

Steps to Reproduce:
1. Setup mount with autofs
2. Start autofs
3. Run 'df'
  
Actual results:
df reports <ip>:<path> as if autofs has mounted with the IP instead of the FQDN

Expected results:
df should report <fqdn>:<path>

Additional info:

Comment 1 Ian Kent 2011-08-02 02:49:06 UTC
This is a known problem and it will be fixed in the next
release. I'm marking this as a duplicate of the bug we
have for it.

You have marked this as severity high, so presumably
this is a serious problem for you. Have a look at the
discussion in bug 725536 and post a request to that
bug if you require a test package that includes the
change.

*** This bug has been marked as a duplicate of bug 725536 ***


Note You need to log in before you can comment on or make changes to this bug.