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

Bug#280706: marked as done (autofs: Fails to mount specified mountpoints. No logging output.)



Your message dated Wed, 8 Dec 2004 12:24:32 +0100
with message-id <20041208112432.GB20239@uio.no>
and subject line autofs: Fails to mount specified mountpoints.  No logging output.
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; 11 Nov 2004 07:57:39 +0000
>From karsten@thepositiveplace.org Wed Nov 10 23:57:39 2004
Return-path: <karsten@thepositiveplace.org>
Received: from hosting.net-flow.com [192.220.91.111] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CS9pr-0006uR-00; Wed, 10 Nov 2004 23:57:39 -0800
Received: from hartford (adsl-66-122-47-234.dsl.sntc01.pacbell.net [66.122.47.234]) by hosting.net-flow.com (8.12.11) id iAB7vc2o063738; Wed, 10 Nov 2004 23:57:38 -0800 (PST)
Received: from karsten by hartford with local (Exim 3.36 #1 (Debian))
	id 1CS9pl-0004Y1-00; Wed, 10 Nov 2004 23:57:33 -0800
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Karsten M. Self" <kmself@ix.netcom.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: autofs: Fails to mount specified mountpoints.  No logging output.
X-Mailer: reportbug 2.63
Date: Wed, 10 Nov 2004 23:57:33 -0800
Message-Id: <E1CS9pl-0004Y1-00@hartford>
Sender: "Karsten M. Self" <karsten@thepositiveplace.org>
Delivered-To: submit@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=-7.0 required=4.0 tests=BAYES_00,DATING,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: autofs
Version: 4.1.3-4
Severity: important


Recent updates to autofs (in the past week or so) make it fail to work
on two separate systems here.  No manual configuration changes were made
prior to investigating the problem, though I've tweaked a few things
since.

Local systems are configured such that symlinks in specified locations
(/mnt/..., /net/<server>/<share>) are used for mounts.  Both removable
media (floppy, cdrom) and network shares (Samba) are accessed via
autofs.  None currently work.  I find a few possibly related bugs
through the BTS (whitespace parsing, failure to umount, etc.), but none
entirely matching my situation.  See:

    #279898: autofs: Does not umount unused filesystems
    #280120: autofs: Broken parsing on tabs after options
    #280234: Another whitespace handling bug - program maps this time


The autofs startup script output strikes me as questionable, and I
suspect that there's a parsing error in determining commandline
arguments within the script, particularly with $cmd, $rest, and
$pidfile.

Kernel is: Linux version 2.4.25-1-686 (herbert@gondolin) (gcc version
3.3.3 (Debian 20040401)) #3 Wed Apr 14 21:56:44 EST 2004

Hrm.  That's a tad stale, wonder if 2.6 might work better.  Updating
now.  Doubtful as other system is running 2.6.7-1-686 and exhibits
similar problems.


Sample of locally-used symlinks:

    $ ls -l /mnt
    total 8
    lrwxrwxrwx  1 root root 22 Apr 14  2004 cdrom -> /var/autofs/misc/cdrom
    drwxr-xr-x  2 root root 48 Apr  1  2004 floppy -> /var/autofs/misc/floppy
    drwxr-xr-x  2 root root 48 Apr  1  2004 misc

    $ ls -l /net/server01
    total 1
    lrwxrwxrwx  1 root root 38 Apr 23  2004 Company -> ../../var/autofs/misc/server01_Company
    lrwxrwxrwx  1 root root 36 Apr 23  2004 users -> ../../var/autofs/misc/server01_users


Invocation output:

    [root@hartford:init.d]# /etc/init.d/autofs start
    Starting automounter: --timeout=4 misc file /etc/auto.misc --timeout=4 net program /etc/auto.net.



Configuration files:

------------------------------------------------------------------------
/etc/auto.master
------------------------------------------------------------------------
#
# $Id: auto.master,v 1.3 2003/09/29 08:22:35 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
# misc	/etc/auto.misc --timeout=60
misc	/etc/auto.misc
net	/etc/auto.net
------------------------------------------------------------------------

------------------------------------------------------------------------
/etc/auto.misc
------------------------------------------------------------------------
# $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage

# kernel          -ro                                     ftp.kernel.org:/pub/linux
boot            -fstype=ext2                            :/dev/hda1
removable       -fstype=ext2,sync,nodev,nosuid          :/dev/hdd
cdrom           -fstype=iso9660,ro,sync,nodev,nosuid    :/dev/hdc
floppy          -fstype=auto,sync,nodev,nosuid          :/dev/fd0

server01_users   -fstype=smb,uid=1000,gid=1000,umask=750,credentials=/home/karsten/.smbcred  ://10.10.1.1/users
# <additional similar lines elided>
------------------------------------------------------------------------

------------------------------------------------------------------------
/etc/defaults/autofs
------------------------------------------------------------------------
# Timeout value in seconds (default: 300)
TIMEOUT=4

# The LDAP URI for auto.master
# (e. g. LDAPURI="ldap://ldapserver.example.com/";)
#LDAPURI=

# The LDAP base for auto.master
# (e. g. LDAPBASE="ou=auto.master,ou=Automount,dc=example,dc=com")
#LDAPBASE=
------------------------------------------------------------------------


------------------------------------------------------------------------
Loaded kernel modules
------------------------------------------------------------------------
ac97_codec             13684   0 [emu10k1]
af_packet              13608   1
agpgart                46724   3
apm                    10028   1
autofs4                 9780   0 (unused)
cdrom                  29184   0 (autoclean) [ide-cd]
chipreg                  761   0 [jedec_probe]
crc32                   2912   0 [dmfe]
dmfe                   13761   1
e100                   50056   1
emu10k1                60812   2
emu10k1-gp              1416   0 (unused)
ext2                   51208   0 (autoclean)
ext3                   82536   1 (autoclean)
fat                    32696   0 (autoclean) [msdos vfat]
gameport                1676   0 [emu10k1-gp]
gen_probe               2448   0 (autoclean) [jedec_probe]
hid                    21476   0 (unused)
ide-cd                 32448   1 (autoclean)
ide-core              111420  10 (autoclean) [ide-cd ide-detect ide-disk piix]
ide-detect               288   0 (autoclean) (unused)
ide-disk               16928   9 (autoclean)
input                   3648   0 [mousedev keybdev hid]
isofs                  26612   0 (autoclean)
jbd                    42980   1 (autoclean) [ext3]
jedec_probe             9728   0 (autoclean)
keybdev                 2244   0 (unused)
lp                      7168   0
minix                  19752   0 (unused)
mousedev                4308   1
msdos                   6188   0 (autoclean)
nls_cp437               4348   0 (unused)
nls_iso8859-1           2844   0
parport                26664   1 [parport_pc lp]
parport_pc             23880   1 (autoclean)
piix                    8712   1 (autoclean)
r128                   80116   1
reiserfs              190256   5 (autoclean)
rtc                     7112   0 (autoclean)
scsi_mod               95008   1 (autoclean) [sd_mod]
sd_mod                 12044   0 (autoclean) (unused)
smbfs                  45296   8 (autoclean)
sound                  59272   0 [emu10k1]
soundcore               3940   7 [emu10k1 sound]
unix                   15500 146 (autoclean)
usb-uhci               23568   0 (unused)
usbcore                63756   1 [hid usb-uhci]
vfat                   10892   0 (autoclean)
------------------------------------------------------------------------


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (950, 'testing'), (400, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.25-1-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages autofs depends on:
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an

-- no debconf information

---------------------------------------
Received: (at 280706-done) by bugs.debian.org; 8 Dec 2004 11:25:31 +0000
>From sesse@samfundet.no Wed Dec 08 03:25:31 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 1Cbzwp-0006OK-00; Wed, 08 Dec 2004 03:25:31 -0800
Received: from [2001:700:300:dc03:20e:cff:fe36:a766] (helo=trofast.sesse.net)
	by cassarossa.samfundet.no with esmtp (Exim 4.34)
	id 1CbzwB-0000fC-FU; Wed, 08 Dec 2004 12:25:24 +0100
Received: from sesse by trofast.sesse.net with local (Exim 3.36 #1 (Debian))
	id 1Cbzvs-0005VH-00; Wed, 08 Dec 2004 12:24:32 +0100
Date: Wed, 8 Dec 2004 12:24:32 +0100
From: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
To: Francesco Paolo Lovergine <frankie@debian.org>
Cc: "Karsten M. Self" <kmself@ix.netcom.com>, 280706-done@bugs.debian.org
Subject: Re: autofs: Fails to mount specified mountpoints.  No logging output.
Message-ID: <20041208112432.GB20239@uio.no>
References: <E1CS9pl-0004Y1-00@hartford> <20041207230522.GA13847@uio.no> <20041208035028.GR5557@localhost> <20041208104341.GB3846@gandalf.libero.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20041208104341.GB3846@gandalf.libero.it>
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: 280706-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 Wed, Dec 08, 2004 at 11:43:41AM +0100, Francesco Paolo Lovergine wrote:
> Do not use relative paths or symlinks in auto.master, please.

In that case, 280706 is not a bug -- closing.

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



Reply to: