https://bugzilla.novell.com/show_bug.cgi?id=118902 ------- Comment #17 from Ulrich.Windl@rz.uni-regensburg.de 2006-11-14 08:25 MST ------- (In reply to comment #1)
Sounds like this was intended, because it makes sense ;)
A late reply: The problem is that the similar autofs on HP-UX does it
differently, and the autofs maintainer said it's a bug that has been fixed long
ago. However it doesn't look like it. Here's the message (Ian Kent
Hi,
I have a problem where autofs (Novell SLES10, autofs-4.1.4-23.4) discards the first and only directory for an NFS mount; for two directories the thing seems to work OK. I've browsed the sources, but couldn't easily find the problem.
I'm sure this problem has been resolved long ago but I can't remember. It may be the check for whether an entry is a multi-mount or not that is at fault but I have no idea what patches are included in SLES10. This pre-analysis is really something that the downstream package maintainer needs to do so that I can hopefully make some sense of what may or may not be included in the package already. You might check to see if http://www.kernel.org/pub/linux/daemons/autofs/v4/autofs-4.1.4-multi-parse-f... has been applied.
The problem is that "server:/foo" which should be mounted to "/net/server/foo" is actually mounted to "/net/server" (with "foo's content" in "server")
Here's my trace:
automount[24703]: lookup(program): server -> -fstype=nfs,hard,intr,nodev,nosuid /foo server:/foo automount[24703]: parse(sun): core of entry: options=fstype=nfs,hard,intr,nodev,nosuid, loc=/foo server:/foo automount[24703]: parse(sun): mounting root /net, mountpoint server, what /foo server:/foo, fstype nfs, options hard,intr,nodev,nosuid Nov 9 16:56:47 rksapas03 automount[24703]: mount(nfs): root=/net name=server what=/foo server:/foo, fstype=nfs, options=hard,intr,nodev,nosuid automount[24703]: mount(nfs): nfs options="hard,intr,nodev,nosuid", nosymlink=0, ro=0 automount[24703]: mount(nfs): host /foo: lookup failure automount[24703]: mount(nfs): winner = server local = 0 automount[24703]: mount(nfs): from /foo server:/foo elected server:/foo automount[24703]: mount(nfs): calling mkdir_path /net/server automount[24703]: mount(nfs): calling mount -t nfs -s -o hard,intr,nodev,nosuid server:/foo /net/server automount[24703]: mount(nfs): mounted server:/foo on /net/server
(Actual names replaced for clarity)
Regards, Ulrich
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.