Bug 131157

Summary: Automounter fails to automount NFS shares
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Bo Bichel Nørbæk <bo1>
Component: NetworkAssignee: Chris L Mason <mason>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: i586   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bo Bichel Nørbæk 2005-10-27 21:35:29 UTC
My /etc/auto.master looks like this:

----------------
/misc   yp:auto.misc    --timeout=60
----------------

My "ypcat -k auto.misc" looks like this:

----------------
backup -fstype=nfs,hard,intr      filserver-aux:/exports-automount/misc/backup
arkiv -fstype=nfs,hard,intr       filserver:/exports-automount/misc/arkiv
linuxdists -fstype=nfs,hard,intr  filserver:/exports-automount/misc/linuxdists
----------------

Steps to reproduce:

1) Create /etc/auto.master as above on a machine, B.
2) Create a NIS map for auto.misc like the one above on another machine, A.
   A may be the same machine as the one exporting the NFS shares.
3) Create a local directory named /misc on B.
4) Restart autofs: "/etc/init.d/autofs restart" on B.
5) Try, e.g., "ls /misc/arkiv" on B.

Actual results:

- When restarting autofs (step 4), I get the following output:
  ----------------
  Shutting down service automount                                      done
  Starting service automounter/usr/sbin/automount: option -t requires a numeric argument, got -timeout=60
  /usr/sbin/automount: option -t requires a numeric argument, got --timeout=60
                                                                       done
  ----------------

- When trying to access /misc/arkiv (step 5), I get told that the directory
  does not exist.

  I have tried to remove "--timeout=60" from /etc/auto.master, but that does
  not help in step 5.

Expected results:

- Autofs should restart without problems, and the directory /misc/arkiv should
  get automounted.

Additional information:

Fedora Core 4 contains the same version of autofs as SUSE Linux 10.0. Autofs works without problems in Fedora Core 4.
Comment 1 Greg Kroah-Hartman 2006-08-14 07:08:40 UTC
Closed due to inactivity.