[Bug 869806] New: autofs '-hosts' broken by update to 5.0.8
https://bugzilla.novell.com/show_bug.cgi?id=869806 https://bugzilla.novell.com/show_bug.cgi?id=869806#c0 Summary: autofs '-hosts' broken by update to 5.0.8 Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: nosliwg@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0 After updating to autofs-5.0.8-19.8.1.x86_64, NFS mounts are no longer available via the autofs '-hosts' map. Two NFS shares exist on the network, and both can be mounted manually (using 'mount -t nfs server:/path'). Before the update, both could also be accessed using autofs by using the "/net -hosts" entry in auto.master. After update, attempting to access either share on the client returns "No such file or directory". A workaround is to replace /net -hosts --timeout=60 with /net /etc/auto.net --timeout=60 in auto.master. Issuing "service autofs status" gives Mar 19 21:53:37 gregpad automount[15428]: lookup_init:136: lookup(yp): map auto.master: Local domain name not set Mar 19 21:53:37 gregpad systemd[1]: Started Automounts filesystems on demand. Mar 19 21:53:39 gregpad automount[15428]: get_exports: lookup(hosts): exports lookup failed for naspad Mar 19 21:53:39 gregpad automount[15428]: key "naspad" not found in map source(s). (gregpad is the name of the client; naspad is the name of one of the servers which has an NFS share). I don't know if this was happening before the update. NIS (yp) is installed but is not enabled. /etc/hosts lists the client and server, and this setup seems to work for other commands (e.g., mount, showmount). Reproducible: Didn't try Steps to Reproduce: 1. Set up autofs with previous version: in the auto.master config file, add the line '/net -hosts --timeout=60'. 2. update to autofs-5.0.8-19.8.1.x86_64 (on the client) 3. attempt to view an NFS share under /net: e.g., 'ls /net/fileserver', where 'fileserver' is a server on the network which hosts an NFS share Actual Results: Attempts to access NFS shares in /net give "No such file or directory". The servers are recognized and listed under /net (e.g., /net/fileserver), but their NFS contents cannot be viewed. I did not attempt to reproduce the problem, as this would require downgrading to the previous version of autofs (I don't know how). Expected Results: I would expect 'ls /net/fileserver' to give a listing of NFS shares hosted by 'fileserver'. This was the (correct) behaviour before upgrading to the latest version of autofs. -- 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=869806 https://bugzilla.novell.com/show_bug.cgi?id=869806#c Xiyuan Liu <xyliu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyliu@suse.com AssignedTo|bnc-team-screening@forge.pr |lchiquitto@suse.com |ovo.novell.com | -- 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=869806 https://bugzilla.novell.com/show_bug.cgi?id=869806#c1 Leonardo Chiquitto <lchiquitto@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|NEW |ASSIGNED --- Comment #1 from Leonardo Chiquitto <lchiquitto@suse.com> 2014-03-28 02:06:23 UTC --- I will check this tomorrow. -- 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=869806 https://bugzilla.novell.com/show_bug.cgi?id=869806#c2 Leonardo Chiquitto <lchiquitto@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |nosliwg@gmail.com --- Comment #2 from Leonardo Chiquitto <lchiquitto@suse.com> 2014-03-31 12:22:31 UTC --- This is working for me here. libre:/ # rpm -q autofs autofs-5.0.8-19.8.1.armv7hl libre:/ # grep -v ^# /etc/auto.master /net -hosts --timeout=60 +auto.master libre:/ # cd /net/lotus.l.ngdn.org/srv/nfs libre:/net/lotus.l.ngdn.org/srv/nfs # ls remote libre:/net/lotus.l.ngdn.org/srv/nfs # mount | grep nfs -hosts on /net/lotus.l.ngdn.org/srv/nfs type autofs (rw,relatime,fd=7,pgrp=21613,timeout=60,minproto=5,maxproto=5,offset) lotus.l.ngdn.org:/srv/nfs on /net/lotus.l.ngdn.org/srv/nfs type nfs4 (rw,nosuid,nodev,relatime,vers=4.0,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=10.1.1.4,local_lock=none,addr=10.1.1.8) Could you set DEFAULT_LOGGING to "debug" in /etc/sysconfig/autofs, restart the automounter, try to access the volumes under /net and then attach the logs written to /var/log/messages here? -- 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=869806 https://bugzilla.novell.com/show_bug.cgi?id=869806#c3 Greg Wilson <nosliwg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |nosliwg@gmail.com InfoProvider|nosliwg@gmail.com | --- Comment #3 from Greg Wilson <nosliwg@gmail.com> 2014-03-31 22:53:34 UTC --- Sure thing, here it is: 2014-03-31T19:41:35.917885-03:00 gregpad systemd[1]: Starting Automounts filesystems on demand... 2014-03-31T19:41:35.950982-03:00 gregpad automount[5943]: Starting automounter version 5.0.8, master map auto.master 2014-03-31T19:41:35.952222-03:00 gregpad automount[5943]: using kernel protocol version 5.02 2014-03-31T19:41:35.953080-03:00 gregpad automount[5943]: lookup_nss_read_master: reading master files auto.master 2014-03-31T19:41:35.953797-03:00 gregpad automount[5943]: parse_init: parse(sun): init gathered global options: (null) 2014-03-31T19:41:35.954461-03:00 gregpad automount[5943]: spawn_mount: mtab link detected, passing -n to mount 2014-03-31T19:41:35.974218-03:00 gregpad automount[5943]: spawn_umount: mtab link detected, passing -n to mount 2014-03-31T19:41:35.991125-03:00 gregpad automount[5943]: lookup_read_master: lookup(file): read entry /net 2014-03-31T19:41:35.991681-03:00 gregpad automount[5943]: lookup_read_master: lookup(file): read entry +auto.master 2014-03-31T19:41:35.992020-03:00 gregpad automount[5943]: lookup_nss_read_master: reading master files auto.master 2014-03-31T19:41:35.992603-03:00 gregpad automount[5943]: parse_init: parse(sun): init gathered global options: (null) 2014-03-31T19:41:35.992952-03:00 gregpad automount[5943]: lookup_nss_read_master: reading master nis auto.master 2014-03-31T19:41:35.993292-03:00 gregpad automount[5943]: lookup_init:136: lookup(yp): map auto.master: Local domain name not set 2014-03-31T19:41:35.994004-03:00 gregpad automount[5943]: lookup(file): failed to read included master map auto.master 2014-03-31T19:41:35.994463-03:00 gregpad automount[5943]: master_do_mount: mounting /net 2014-03-31T19:41:35.995107-03:00 gregpad automount[5943]: automount_path_to_fifo: fifo name /run/autofs.fifo-net 2014-03-31T19:41:35.997023-03:00 gregpad automount[5943]: lookup_nss_read_map: reading map hosts (null) 2014-03-31T19:41:35.997366-03:00 gregpad automount[5943]: parse_init: parse(sun): init gathered global options: (null) 2014-03-31T19:41:35.997716-03:00 gregpad automount[5943]: spawn_mount: mtab link detected, passing -n to mount 2014-03-31T19:41:36.002185-03:00 gregpad automount[5943]: spawn_umount: mtab link detected, passing -n to mount 2014-03-31T19:41:36.015261-03:00 gregpad automount[5943]: lookup_read_map: lookup(hosts): read hosts map 2014-03-31T19:41:36.033860-03:00 gregpad automount[5943]: mounted indirect on /net with timeout 60, freq 15 seconds 2014-03-31T19:41:36.034744-03:00 gregpad automount[5943]: st_ready: st_ready(): state = 0 path /net 2014-03-31T19:41:36.035469-03:00 gregpad automount[5943]: ghosting enabled 2014-03-31T19:41:36.038276-03:00 gregpad systemd[1]: Started Automounts filesystems on demand. 2014-03-31T19:41:42.688281-03:00 gregpad automount[5943]: handle_packet: type = 3 2014-03-31T19:41:42.688786-03:00 gregpad automount[5943]: handle_packet_missing_indirect: token 581, name naspad, request pid 5952 2014-03-31T19:41:42.689350-03:00 gregpad automount[5943]: attempting to mount entry /net/naspad 2014-03-31T19:41:42.689735-03:00 gregpad automount[5943]: lookup(hosts): can't find path in hosts map /net/naspad 2014-03-31T19:41:42.690157-03:00 gregpad automount[5943]: lookup_mount: lookup(hosts): lookup failed - update exports list 2014-03-31T19:41:42.690514-03:00 gregpad automount[5943]: lookup_mount: lookup(hosts): naspad -> (null) 2014-03-31T19:41:42.690860-03:00 gregpad automount[5943]: get_exports: lookup(hosts): fetchng export list for naspad 2014-03-31T19:41:42.696707-03:00 gregpad automount[5943]: get_exports: lookup(hosts): exports lookup failed for naspad 2014-03-31T19:41:42.697164-03:00 gregpad automount[5943]: key "naspad" not found in map source(s). 2014-03-31T19:41:42.697549-03:00 gregpad automount[5943]: dev_ioctl_send_fail: token = 581 2014-03-31T19:41:42.697912-03:00 gregpad automount[5943]: failed to mount /net/naspad -- 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=869806 https://bugzilla.novell.com/show_bug.cgi?id=869806#c4 --- Comment #4 from Giacomo Comes <comes@naic.edu> 2014-04-28 14:20:37 UTC --- Created an attachment (id=587964) --> (http://bugzilla.novell.com/attachment.cgi?id=587964) fix-portmap-not-trying-proto-v2 I have this problem too. To be more precise, the acces fails if the server runs CentOS 5. It works if the server runs CentOS 6 or openSUSE 12.3. This bug is the same as fedora bug 1038356 (https://bugzilla.redhat.com/show_bug.cgi?id=1038356). The attached patch, adapted from the one with the same name in autofs-5.0.7-37.fc20.src.rpm fixes the issue for me -- 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=869806 https://bugzilla.novell.com/show_bug.cgi?id=869806#c5 Giacomo Comes <comes@naic.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |comes@naic.edu --- Comment #5 from Giacomo Comes <comes@naic.edu> 2014-04-28 14:25:29 UTC --- Sorry, the original patch is present in autofs-5.0.7-40.fc20.src.rpm -- 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=869806 https://bugzilla.novell.com/show_bug.cgi?id=869806#c6 Robert Nelson <rnelson@airflowsciences.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rnelson@airflowsciences.com --- Comment #6 from Robert Nelson <rnelson@airflowsciences.com> 2014-08-26 14:30:30 UTC --- Any motion on this "high priority" bug report? Not clear why Fedora was able to fix this in January and it is still hanging around in opeeSuSE as August draws to an end. In any case, I'm still experiencing crashes with the most recent autofs.5.0.8. I sounds like the fix is there for the taking, but if you need any log files or core dumps, let me know. -- 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=869806 https://bugzilla.novell.com/show_bug.cgi?id=869806#c7 Leonardo Chiquitto <lchiquitto@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |rnelson@airflowsciences.com --- Comment #7 from Leonardo Chiquitto <lchiquitto@suse.com> 2014-09-19 14:16:19 UTC --- http://download.opensuse.org/repositories/home:/leonardocf:/branches:/openSU... Could you check if you can reproduce the problem with the packages available in this repository? -- 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=869806 https://bugzilla.novell.com/show_bug.cgi?id=869806#c8 Giacomo Comes <comes@naic.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|rnelson@airflowsciences.com | --- Comment #8 from Giacomo Comes <comes@naic.edu> 2014-09-20 12:43:16 UTC --- The new package fixes the problem (the patch in comment 4 is included upstream in autofs 5.0.9). -- 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=869806 https://bugzilla.novell.com/show_bug.cgi?id=869806#c9 Leonardo Chiquitto <lchiquitto@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #9 from Leonardo Chiquitto <lchiquitto@suse.com> 2014-09-20 13:24:33 UTC --- Thanks. Submitted MR 250332. -- 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=869806 https://bugzilla.novell.com/show_bug.cgi?id=869806#c10 --- Comment #10 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-09-20 16:00:21 CEST --- This is an autogenerated message for OBS integration: This bug (869806) was mentioned in https://build.opensuse.org/request/show/250332 13.1 / autofs -- 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.
participants (1)
-
bugzilla_noreply@novell.com