Bug 167683 - automount does not understand '//host/share', just '\/\/host/share' with CIFS and SMBFS
Summary: automount does not understand '//host/share', just '\/\/host/share' with CIFS...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: autofs
Version: 3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Moyer
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-07 02:35 UTC by CTAC
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-09-08 01:17:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description CTAC 2005-09-07 02:35:46 UTC
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?

Comment 1 CTAC 2005-09-07 02:38:26 UTC
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)?

Comment 2 Jeff Moyer 2005-09-07 14:00:09 UTC
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!

Comment 3 Jeff Moyer 2005-09-07 15:32:41 UTC
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!

Comment 4 CTAC 2005-09-08 01:17:11 UTC
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)


Note You need to log in before you can comment on or make changes to this bug.