[Bug 737547] New: automounter doesn't mount nfs shares
https://bugzilla.novell.com/show_bug.cgi?id=737547 https://bugzilla.novell.com/show_bug.cgi?id=737547#c0 Summary: automounter doesn't mount nfs shares Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: devel@fresse.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0a1) Gecko/20111118 Firefox/11.0a1 freundt@kegel:/> cat /etc/auto.master /home /etc/auto.home freundt@kegel:/> cat /etc/auto.home * -rw,fstype=nfs4 nfssrv:/home/& freundt@kegel:/> cd /home/freundt cd: no such file or directory: /home/freundt With the same settings on an 11.3 machine, I get: freundt@traufe:S0:/> cd /home/freundt freundt@traufe:S0:~> Reproducible: Always Steps to Reproduce: 1. Create /etc/auto.master and /etc/auto.home as above 2. Flick Start automounter in yast/LDAP Client settings 3. Put NFS_START_SERVICES="yes" in /etc/sysconfig/nfs 4. Try automounting an nfs share Actual Results: Starting the automounter in verbose debug log mode gives: handle_packet: type = 3 handle_packet_missing_indirect: token 53, name freundt, request pid 1776 attempting to mount entry /home/freundt lookup_mount: lookup(file): looking up freundt lookup_mount: lookup(file): freundt -> -rw,fstype=nfs4 nfssrv:/home/& parse_mount: parse(sun): expanded entry: -rw,fstype=nfs4 nfssrv:/home/freundt parse_mount: parse(sun): gathered options: rw,fstype=nfs4 parse_mount: parse(sun): dequote("nfssrv:/home/freundt") -> nfssrv:/home/freundt parse_mount: parse(sun): core of entry: options=rw,fstype=nfs4, loc=nfssrv:/home/freundt sun_mount: parse(sun): mounting root /home, mountpoint freundt, what nfssrv:/home/freundt, fstype nfs4, options rw mount_mount: mount(nfs): root=/home name=freundt what=segen.fresse.org:/home/freundt, fstype=nfs4, options=rw mount_mount: mount(nfs): nfs options="rw", nobind=0, nosymlink=0, ro=0 mount(nfs): no hosts available dev_ioctl_send_fail: token = 53 failed to mount /home/freundt handle_packet: type = 3 handle_packet_missing_indirect: token 54, name freundt, request pid 1776 attempting to mount entry /home/freundt lookup_mount: lookup(file): looking up freundt dev_ioctl_send_fail: token = 54 failed to mount /home/freundt Expected Results: The user home dir /home/freundt should have been mounted automatically. Also noteworthy, the network is ipv6 only and nfssrv is reachable of course: freundt@kegel:/> ping6 nfssrv PING nfssrv(nfssrv) 56 data bytes 64 bytes from nfssrv: icmp_seq=1 ttl=64 time=0.257 ms 64 bytes from nfssrv: icmp_seq=2 ttl=64 time=0.177 ms ^C -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=737547
https://bugzilla.novell.com/show_bug.cgi?id=737547#c1
Cristian Rodríguez
https://bugzilla.novell.com/show_bug.cgi?id=737547
https://bugzilla.novell.com/show_bug.cgi?id=737547#c2
Sebastian Freundt
https://bugzilla.novell.com/show_bug.cgi?id=737547
https://bugzilla.novell.com/show_bug.cgi?id=737547#c3
--- Comment #3 from Sebastian Freundt
https://bugzilla.novell.com/show_bug.cgi?id=737547
https://bugzilla.novell.com/show_bug.cgi?id=737547#c4
--- Comment #4 from Sebastian Freundt
https://bugzilla.novell.com/show_bug.cgi?id=737547
https://bugzilla.novell.com/show_bug.cgi?id=737547#c5
--- Comment #5 from Cristian Rodríguez
cron is started before LDAP is running,
Yes, what's the problem with that ?
LDAP is started before the network is actually up.
How did you got that information ?
rpc.idmapd isn't started at all.
Huh. BTW, only a few packages start in order, this is the expected behaviour, however if you have something that is not working then we have to take a look at it. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=737547
https://bugzilla.novell.com/show_bug.cgi?id=737547#c6
--- Comment #6 from Sebastian Freundt
https://bugzilla.novell.com/show_bug.cgi?id=737547
https://bugzilla.novell.com/show_bug.cgi?id=737547#c7
--- Comment #7 from Cristian Rodríguez
Ok, just saying, no problem with that. I don't know, it was a bunch of messages saying cannot contact LDAP server.
Well, rpc.idmapd is MANDATORY for nfs4, so don't `huh?' me.
Yes, I clearly reported what's not working. Automounted NFS4-shares aren't working, so take a look at it. Like I said, doing all the necessary steps manually (as explained in Comment 3) makes it work. But somehow I want this to happen automatically.
Im taking a look at this, stay tuned. :-) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=737547
https://bugzilla.novell.com/show_bug.cgi?id=737547#c
Cristian Rodríguez
https://bugzilla.novell.com/show_bug.cgi?id=737547
https://bugzilla.novell.com/show_bug.cgi?id=737547#c8
--- Comment #8 from Cristian Rodríguez
https://bugzilla.novell.com/show_bug.cgi?id=737547
https://bugzilla.novell.com/show_bug.cgi?id=737547#c9
--- Comment #9 from Sebastian Freundt
https://bugzilla.novell.com/show_bug.cgi?id=737547
https://bugzilla.novell.com/show_bug.cgi?id=737547#c10
Cristian Rodríguez
Yep, confirmed. It does provide rpc_pipefs under /var/lib/nfs/rpc_pipefs now.
Ok, thanks, the rest of the integration is having a very elementary testing atm, will point you to the packages later. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=737547
https://bugzilla.novell.com/show_bug.cgi?id=737547#c11
Cristian Rodríguez
https://bugzilla.novell.com/show_bug.cgi?id=737547
https://bugzilla.novell.com/show_bug.cgi?id=737547#c12
--- Comment #12 from Sebastian Freundt
https://bugzilla.novell.com/show_bug.cgi?id=737547
https://bugzilla.novell.com/show_bug.cgi?id=737547#c13
--- Comment #13 from Sebastian Freundt
https://bugzilla.novell.com/show_bug.cgi?id=737547
https://bugzilla.novell.com/show_bug.cgi?id=737547#c14
Frederic Crozat
participants (1)
-
bugzilla_noreply@novell.com