On Wed, 2012-11-28 at 16:24 -0800, Thomas Chan wrote: > I tried going to 5.0.7 + the latest patches to see if it would fix some of > the segfault and other hanging issues I've been seeing on autofs-5.0.4. > > However, I get a error: > > Nov 28 16:13:22 talon automount[16649]: mount(nfs): no hosts available > > and the mount fails. > > I tracked back the patches and the newest version I can go to is 5.0.5 and > the autofs-5.0.5-add-base64-password-encode.patch patch. > > If I add autofs-5.0.5-fix-ipv6-name-for-lookup.patch patch, it fails to > mount. Does autofs-5.0.6-fix-ipv6-name-for-lookup-fix.patch help? It's located in the 5.0.7 patches directory. > > Here's what I get in debug (with 5.0.7): > > ========== > Nov 28 16:13:22 talon automount[16649]: handle_packet: type = 3 > Nov 28 16:13:22 talon automount[16649]: handle_packet_missing_indirect: > token 64865, name joebob, request pid 3752 > Nov 28 16:13:22 talon automount[16649]: attempting to mount entry > /home/joebob > Nov 28 16:13:22 talon automount[16649]: lookup_name_file_source_instance: > file map not found > Nov 28 16:13:22 talon automount[16649]: lookup_mount: lookup(ldap): > looking up joebob > Nov 28 16:13:22 talon automount[16649]: do_bind: lookup(ldap): > auth_required: 1, sasl_mech ANONYMOUS > Nov 28 16:13:22 talon automount[16649]: do_bind: lookup(ldap): ldap simple > bind returned 0 > Nov 28 16:13:22 talon automount[16649]: lookup_one: lookup(ldap): > searching for > "(&(objectclass=automount)(|(automountKey=joebob)(automountKey=/)(automountKey=\2A)))" > under "CN=auto_home,OU=AutomountMaps,DC=company,DC=allcompany,DC=com" > Nov 28 16:13:22 talon automount[16649]: lookup_one: lookup(ldap): getting > first entry for automountKey="joebob" > Nov 28 16:13:22 talon automount[16649]: lookup_one: lookup(ldap): > examining first entry > Nov 28 16:13:22 talon automount[16649]: lookup_mount: lookup(ldap): joebob > -> -hard,tcp,nfsvers=3,rsize=32768,wsize=32768 nfshome:/nas/home/joebob > Nov 28 16:13:22 talon automount[16649]: parse_mount: parse(sun): expanded > entry: -hard,tcp,nfsvers=3,rsize=32768,wsize=32768 > nfshome:/nas/home/joebob > Nov 28 16:13:22 talon automount[16649]: parse_mount: parse(sun): gathered > options: hard,tcp,nfsvers=3,rsize=32768,wsize=32768 > Nov 28 16:13:22 talon automount[16649]: parse_mount: parse(sun): > dequote("nfshome:/nas/home/joebob") -> nfshome:/nas/home/joebob > Nov 28 16:13:22 talon automount[16649]: parse_mount: parse(sun): core of > entry: options=hard,tcp,nfsvers=3,rsize=32768,wsize=32768, > loc=nfshome:/nas/home/joebob > Nov 28 16:13:22 talon automount[16649]: sun_mount: parse(sun): mounting > root /home, mountpoint joebob, what nfshome:/nas/home/joebob, fstype nfs, > options hard,tcp,nfsvers=3,rsize=32768,wsize=32768 > Nov 28 16:13:22 talon automount[16649]: mount_mount: mount(nfs): > root=/home name=joebob what=nfshome:/nas/home/joebob, fstype=nfs, > options=hard,tcp,nfsvers=3,rsize=32768,wsize=32768 > Nov 28 16:13:22 talon automount[16649]: mount_mount: mount(nfs): nfs > options="hard,tcp,nfsvers=3,rsize=32768,wsize=32768", nobind=0, > nosymlink=0, ro=0 > Nov 28 16:13:22 talon automount[16649]: mount(nfs): no hosts available > Nov 28 16:13:22 talon automount[16649]: dev_ioctl_send_fail: token = 64865 > Nov 28 16:13:22 talon automount[16649]: failed to mount /home/joebob > Nov 28 16:13:22 talon automount[16649]: handle_packet: type = 3 > Nov 28 16:13:22 talon automount[16649]: handle_packet_missing_indirect: > token 64866, name joebob, request pid 3752 > Nov 28 16:13:22 talon automount[16649]: dev_ioctl_send_fail: token = 64866 > Nov 28 16:13:22 talon automount[16649]: handle_packet: type = 3 > Nov 28 16:13:22 talon automount[16649]: handle_packet_missing_indirect: > token 64867, name joebob, request pid 3752 > Nov 28 16:13:22 talon automount[16649]: dev_ioctl_send_fail: token = 64867 > ========== > > Any help would be appreciated. > > Thomas > > > -- > To unsubscribe from this list: send the line "unsubscribe autofs" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe autofs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html