From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050719 Fedora/1.7.10-1.3.1 Description of problem: automount does not understand //hostname in its config files, which is needed by mount.cifs and mount.smbfs I found a "solution", but I don't like it: use \/\/hostname in /etc/auto.misc file Version-Release number of selected component (if applicable): autofs-4.1.3-114 samba-client-3.0.14a-2.1.fc3.kde How reproducible: Always Steps to Reproduce: 1. put following line in /etc/auto.misc file: share -fstype=cifs //HOST/SHARE (of course, I hope that you have host HOST with share SHARE and you can make mount -t cifs //HOST/SHARE /misc/share) 2. ls /misc/share Actual Results: in /var/log/messages: automount[1624]: mount(generic): failed to mount (type cifs) on /misc/share/HOST/share Expected Results: //HOST/SHARE mounted in /misc/share ;-) Additional info: Same results with -fstype=smb I don't know how is it connected with bug No.127801?
And 2nd, should I create another bug report for "automount[1422]: handle_packet_missing: path to be mounted is to long" When I name mountpoint in auto.misc with cyrillic letters (KOI8-R)?
This looks different from 127801. I'll post this upstream, to see what the maintainer thinks. As for the cyrillic letters, please file a separate bug. Thank you!
Instead of using \/\/, I think you can do ://HOST/SHARE. Could you try this, and let me know if it a) works, and b) is an acceptable solution for you? Thanks!
O!!! Sorry, that was a my bug: man 5 autofs: If the filesystem to be mounted begins with a / (such as local /dev entries or smbfs shares) a : needs to be prefixed (e.g. :/dev/sda1). -- But somewhere in docs I've read that : before share designates LOCAL mount, instead of remote (network)