martin>> Ian Kent suggests disabling the autofs locking, providing that
martin>> mount locks mtab properly.  Does Debian's mount do that?

steinar> strace seems to indicate that it does: 

Cool.  I have *no* idea what I'm doing here but...

[EMAIL PROTECTED]:/tmp$ apt-get source autofs
[EMAIL PROTECTED]:/tmp$ cd autofs-4.1.4
[EMAIL PROTECTED]:/tmp/autofs-4.1.4$ wget -O
debian/patches/080_configurable_locking
http://www.kernel.org/pub/linux/daemons/autofs/v4/autofs-4.1.4-configure
able-locking.patch

... and applying this patch...

[EMAIL PROTECTED]:/tmp$ diff -u clean/autofs-4.1.4/debian/rules
autofs-4.1.4/debian/
--- clean/autofs-4.1.4/debian/rules     2006-06-29 14:40:28.000000000
-0700
+++ autofs-4.1.4/debian/rules   2006-06-29 14:29:17.000000000 -0700
@@ -30,7 +30,7 @@
        dh_testdir
        (cd $(BUILD_DIR) && \
            ./configure --prefix=/usr --mandir=/usr/share/man \
-               --host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) )
+               --host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) --disable-mount-locking)
        touch $@
 
 source.make: $(STAMP_DIR)/source.make
[EMAIL PROTECTED]:/tmp$

... gave me something I could sudo dpkg-buildpackage; sudo dpkg -i
../autofs_4.1.4-10_i386.deb and which then solved my problem.
-------------------------------------
Martin's Outlook, BlueArc Engineering



Reply via email to