Package: autofs
Version: 5.0.7-3ubuntu1
Severity: normal

Dear Maintainer,

I am trying to access an autofs mounted resource that depends on another autofs managed resource. I.e. I try to open a truecrypt container that is located on a samba fileshare.
Both are registered with autofs and both are initially not mounted.
When I try to access the truecrypt container it fails.
The autofs log says "no such file" for the cifs container and does not try to mount the cifs resource automatically. If I manually mount the cifs fileshare (or try to accesss this prior to the truecrypt) it works.

After some research and communication with the autofs maintainer (Ian Kent)
I found out that in order for this to work autofs has to be configured with the configure option
--disable-mount-locking is used.

Currently, autofs_5.0.7-3.debian does not use this option.
I contacted the autofs maintainer and he confirmed that
--disable-mount-locking should be used in the configure.
He believes that using this option causes no side effects and solves the issue.

I filed this bug on ubuntu (Bug 1216610) and was told that the rules
came from debian and it should be corrected there.


Below you can find a patch for the rules file in autofs_5.0.7-3.debian
that adds the forementioned option:

--- rules       2012-09-24 08:33:37.000000000 +0200
+++ rules.new   2013-08-30 09:27:51.045907519 +0200
@@ -22,6 +22,7 @@
        E2FSCK=/sbin/fsck.ext2 E3FSCK=/sbin/fsck.ext3
        E4FSCK=/sbin/fsck.ext4 \
        initdir=/etc/init.d piddir=/var/run \
        dh_auto_configure -- \
+               --disable-mount-locking \
                --enable-forced-shutdown \
                --enable-ignore-busy \
                --mandir=/usr/share/man \



-- System Information:
Debian Release: wheezy/sid
  APT prefers raring-updates
APT policy: (500, 'raring-updates'), (500, 'raring-security'), (500, 'raring-proposed'), (500, 'raring'), (100, 'raring-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8.0-30-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages autofs depends on:
ii  libc6                  2.17-0ubuntu5
ii  libxml2                2.9.0+dfsg1-4ubuntu4.3
ii  multiarch-support      2.17-0ubuntu5
ii  ucf                    3.0025+nmu3
ii  upstart [upstart-job]  1.8-0ubuntu1

Versions of packages autofs recommends:
ii  kmod               9-3ubuntu1
ii  module-init-tools  9-3ubuntu1
ii  nfs-common         1:1.2.6-3ubuntu2

autofs suggests no packages.

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to