[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#85858: marked as done (No way to mount things with spaces in their names)



Your message dated Wed, 8 Dec 2004 02:24:34 +0100
with message-id <20041208012434.GA10553@uio.no>
and subject line No way to mount things with spaces in their names
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Feb 2001 16:49:14 +0000
>From mas@echo.fr Tue Feb 13 10:49:13 2001
Return-path: <mas@echo.fr>
Received: from blackhole.x-echo.com (cachemir.echo-net.net) [::ffff:195.101.94.7] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14Sidc-00035W-00; Tue, 13 Feb 2001 10:49:13 -0600
Received: by cachemir.echo-net.net (Postfix, from userid 1000)
	id A8DAC482C; Tue, 13 Feb 2001 17:49:10 +0100 (CET)
From: Roland Mas <lolando@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: No way to mount things with spaces in their names
X-Reportbug-Version: 1.11
X-Mailer: reportbug 1.11
Date: Tue, 13 Feb 2001 17:49:10 +0100
Message-Id: <20010213164910.A8DAC482C@cachemir.echo-net.net>
Delivered-To: submit@bugs.debian.org

Package: autofs
Version: 3.1.7-1
Severity: normal

There's a particular volume I'd like to mount.  It's Samba, but I feel
that the problem comes not from that.  The problem occurs when the
volume name contains a space.

Here's an excerpt from my /etc/auto.misc file:

---
samba-barnabe1	-fstype=smbfs,guest,username=Roland,workgroup=Echo ://barnabe/ARCHIVES
samba-barnabe2	-fstype=smbfs,guest,username=Roland,workgroup=Echo ://barnabe/REAL\ MUSIC
---

Accessing the samba-barnabe1 dir works OK, but the samba-barnabe2
fails.  The syslog says:

---
[...]
Feb 13 17:44:11 cachemir automount[20016]: attempting to mount entry /mnt/auto/samba-barnabe2
Feb 13 17:44:11 cachemir automount[24038]: lookup(file): looking up samba-barnabe2
Feb 13 17:44:11 cachemir automount[24038]: lookup(file): samba-barnabe2 -> -fstype=smbfs,guest,username=Roland,workgroup=Echo ://barnabe/REAL\ MUSIC
Feb 13 17:44:11 cachemir automount[24038]: expanded entry: -fstype=smbfs,guest,username=Roland,workgroup=Echo ://barnabe/REAL MUSIC
Feb 13 17:44:11 cachemir automount[24038]: parse(sun): gathered options: fstype=smbfs,guest,username=Roland,workgroup=Echo
Feb 13 17:44:11 cachemir automount[24038]: parse(sun): core of entry: //barnabe/REAL
Feb 13 17:44:11 cachemir automount[24038]: do_mount //barnabe/REAL /mnt/auto/samba-barnabe2 type smbfs options guest,username=Roland,workgroup=Echo using module generic
Feb 13 17:44:11 cachemir automount[24038]: mount(generic): calling mkdir /mnt/auto/samba-barnabe2
Feb 13 17:44:11 cachemir automount[24038]: mount(generic): calling mount -t smbfs -s -o guest,username=Roland,workgroup=Echo //barnabe/REAL /mnt/auto/samba-barnabe2
Feb 13 17:44:11 cachemir automount[24038]: >> SMB connection failed
Feb 13 17:44:11 cachemir automount[24038]: >> tree connect failed: ERRSRV - ERRinvnetname (Invalid network name in tree connect.)
Feb 13 17:44:11 cachemir automount[24038]: mount(generic): failed to mount //barnabe/REAL (type smbfs) on /mnt/auto/samba-barnabe2
---

from which I think the problem comes from the way autofs parses the
/etc/auto.misc file (see: it tries to mount "REAL" and not "REAL MUSIC".

Using the \ does not work, using quotes does not work either.  Is
there another way?  Is that a bug?  Looks like a bug to me.

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux cachemir 2.4.0 #1 Thu Jan 25 14:01:26 CET 2001 i686

Versions of packages autofs depends on:
ii  libc6                         2.2.1-1    GNU C Library: Shared libraries an
ii  procps                        1:2.0.7-2  The /proc file system utilities.  


---------------------------------------
Received: (at 85858-done) by bugs.debian.org; 8 Dec 2004 01:24:37 +0000
>From sesse@samfundet.no Tue Dec 07 17:24:37 2004
Return-path: <sesse@samfundet.no>
Received: from cassarossa.samfundet.no [129.241.93.19] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CbqZJ-0002SW-00; Tue, 07 Dec 2004 17:24:37 -0800
Received: from trofast.sesse.net ([129.241.93.32])
	by cassarossa.samfundet.no with esmtp (Exim 4.34)
	id 1CbqZH-0004y3-2t
	for 85858-done@bugs.debian.org; Wed, 08 Dec 2004 02:24:36 +0100
Received: from sesse by trofast.sesse.net with local (Exim 3.36 #1 (Debian))
	id 1CbqZG-0002mJ-00
	for <85858-done@bugs.debian.org>; Wed, 08 Dec 2004 02:24:34 +0100
Date: Wed, 8 Dec 2004 02:24:34 +0100
From: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
To: 85858-done@bugs.debian.org
Subject: Re: No way to mount things with spaces in their names
Message-ID: <20041208012434.GA10553@uio.no>
References: <20010213164910.A8DAC482C@cachemir.echo-net.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20010213164910.A8DAC482C@cachemir.echo-net.net>
X-Operating-System: Linux 2.6.8.1 on a i686
User-Agent: Mutt/1.5.6+20040907i
X-Spam-Score: -2.8 (--)
Delivered-To: 85858-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

On Tue, Feb 13, 2001 at 05:49:10PM +0100, Roland Mas wrote:
> There's a particular volume I'd like to mount.  It's Samba, but I feel
> that the problem comes not from that.  The problem occurs when the
> volume name contains a space.

It looks like this has been fixed a while ago; at least it works fine with a
bind mount here. (If it still gives problems with smbfs, that's an smbfs
bug.)

/* Steinar */
-- 
Homepage: http://www.sesse.net/



Reply to: