Bug 232855

Summary: autofs does not map network paths consistently.
Product: [openSUSE] openSUSE 10.2 Reporter: Phill Harvey-Smith <phill>
Component: OtherAssignee: Matthias Koenig <mkoenig>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: clin, dancy
Version: Final   
Target Milestone: ---   
Hardware: x86   
OS: Other   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Phill Harvey-Smith 2007-01-09 15:32:18 UTC
This bug first manefested itself under 10.1, but is still present under 10.2 (downloaded iso).

Autofs setup to automount NFS exported filesystems as in the default configuration 
under /net.

A host that only exports one filesystem, will have the path trimmed to the first directory containg sub-directories, a host exporting multiple filesystems will not.

As an example suppose machine1 exports :-

/usr/people 
/tmp

suppose machine2 exports

/usr/people

both have directories a,b,c under /usr/people

On the machine mounting the following would be visible :-

/net/machine1/tmp
/net/machine1/usr/people/a
/net/machine1/usr/people/b
/net/machine1/usr/people/c

/net/machine2/a
/net/machine2/b
/net/machine2/c

This is clearly not consistent, and I considder it a bug as previous to version 10.x the behavior was to mount using the complete path.

On investigation I managed to fix this problem by downloading the sourses for the autofsd from kernel.org and applying the autofs-4.1.4-multi-parse-fix.patch
also from kernel.org

Could this pease be addressed for future releases.
Comment 1 Ahmon Dancy 2007-01-25 01:04:52 UTC
I am also being hosed by this bug.  OpenSUSE 10.2
Comment 2 Matthias Koenig 2007-01-29 16:34:35 UTC
Due to bug #118902, this is a know issue and had been resolved with a introduced option.
However as the problem is fixed upstream, I will rather apply the multiparse patch and remove our introduced -multi option in future releases.

Comment 3 Matthias Koenig 2007-01-30 09:15:34 UTC
fixed in stable
Comment 4 Matthias Koenig 2007-05-04 07:37:54 UTC
*** Bug 268861 has been marked as a duplicate of this bug. ***