Your message dated Sat, 10 Sep 2005 11:06:28 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#89029: fixed in am-utils 6.1.1-1
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; 9 Mar 2001 13:05:29 +0000
>From [EMAIL PROTECTED] Fri Mar 09 07:05:29 2001
Return-path: <[EMAIL PROTECTED]>
Received: from hermes.astro.su.se [::ffff:130.237.166.67] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 14bMaG-0007BJ-00; Fri, 09 Mar 2001 07:05:29 -0600
Received: by hermes.astro.su.se (Postfix, from userid 350)
        id 6A1B818806; Fri,  9 Mar 2001 14:05:27 +0100 (CET)
Date: Fri, 9 Mar 2001 14:05:27 +0100
From: Sergio Gelato <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: amd gets confused, /etc/mtab and /proc/mounts disagree
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Delivered-To: [EMAIL PROTECTED]

Package: am-utils
Version: 6.0.5-1
Severity: important

This problem has also been seen with the older amd package that is in
Debian 2.2.

My kernel is 2.2.18 with NFSv3 enabled over UDP (but not TCP). The kernel
was compiled with gcc272. (gcc 2.95.2 miscompiles the kernel in ways that
affect umount(2) functionality.) But from my understanding of the problem,
I don't expect it to be specific to this kernel minor version. I even doubt
it's limited to Linux 2.2.

Symptoms: indirect mounts of home directories (I have a /home map) can
time out while the user still has processes on the system. amd then
attempts an unmount. This fails with EBUSY (according to syslog), yet
the entry is removed from /etc/mtab. The mount is still listed in
/proc/mounts, however. Subsequent attempts to access the automounted
filesystem fail: amd thinks the filesystem is already unmounted (it
isn't listed in /etc/mtab, and amd doesn't know about /proc/mounts),
so it tries to get rid of the old mount point---but it can't, because
the filesystem is in fact still mounted, and busy.

I have found a way to recover from this: close all open files on the
mounted filesystem, making it suitable for unmounting, then umount it
by hand. This brings the system back into the state amd thinks it's in.

Since amd is kind of mission-critical to me (I may be able to use autofs,
but I also have OpenBSD boxes where amd is the obvious choice), I am
working on my own fix. Will forward it when it's ready.

There are two parts to this:
(1) amd shouldn't get confused in this way;
(2) the Linux port of amd could be made more robust by paying attention
to /proc/mounts when it exists (i.e., with the kernel-mode NFS server).

As far as I can tell, this is not a Debian-specific issue; I'm copying
the upstream maintainer.

Here is how the problem manifests itself in syslog messages:

Mar  7 01:15:48 hermes amd[31106]: Couldn't find how to unmount /amd/as/as_1/gel
ato
Mar  7 11:58:35 hermes amd[31942]: /amd/as/as_1/gelato: mount: Device or resourc
e busy
Mar  7 11:58:35 hermes amd[31942]: Couldn't find how to unmount /amd/as/as_1/gel
ato
Mar  7 11:58:35 hermes amd[31942]: extra umount required for /amd/as/as_1/gelato
Mar  7 11:58:35 hermes amd[31072]: /home/gelato: mount (amfs_auto_cont): Device 
or resource busy

After recompiling with --enable-debug=yes and running "amq -D all":

Mar  9 13:53:24 hermes amd[30703]: Timing out automount points...
Mar  9 13:53:24 hermes amd[30703]: "/home/gelato" on /amd/as/as_1/gelato timed o
ut
Mar  9 13:53:24 hermes amd[30703]: unmount attempt backgrounded
Mar  9 13:53:24 hermes amd[30863]: backgrounded
Mar  9 13:53:24 hermes amd[30863]: Unmounting /amd/as/as_1/gelato (as:/as_1/gela
to)
Mar  9 13:53:24 hermes amd[30863]: Trying unmount(/amd/as/as_1/gelato)
Mar  9 13:53:24 hermes amd[30863]: /amd/as/as_1/gelato: unmount: Device or resou
rce busy
Mar  9 13:53:24 hermes amd[30863]: Finished unmount(/amd/as/as_1/gelato)
Mar  9 13:53:24 hermes amd[30863]: /amd/as/as_1/gelato: unmount: Device or resou
rce busy
Mar  9 13:53:24 hermes amd[30703]: Next mount timeout in 266s

This one hasn't misbehaved yet. The /etc/mtab entry,

as:/as_1/gelato /amd/as/as_1/gelato nfs rw,nosuid,utimeout=600,vers=3,proto=udp 
0 0 

is still in sync with the /proc/mounts view,

as:/as_1/gelato /amd/as/as_1/gelato nfs rw,nosuid,v3,addr=as 0 0

But I expect that it will, as soon as I take a ten-minute break.

---------------------------------------
Received: (at 89029-close) by bugs.debian.org; 10 Sep 2005 18:08:09 +0000
>From [EMAIL PROTECTED] Sat Sep 10 11:08:09 2005
Return-path: <[EMAIL PROTECTED]>
Received: from joerg by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EE9kC-0006lv-00; Sat, 10 Sep 2005 11:06:28 -0700
From: Tim Cutts <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#89029: fixed in am-utils 6.1.1-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Joerg Jaspert <[EMAIL PROTECTED]>
Date: Sat, 10 Sep 2005 11:06:28 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 4

Source: am-utils
Source-Version: 6.1.1-1

We believe that the bug you reported is fixed in the latest version of
am-utils, which is due to be installed in the Debian FTP archive:

am-utils-doc_6.1.1-1_all.deb
  to pool/main/a/am-utils/am-utils-doc_6.1.1-1_all.deb
am-utils_6.1.1-1.diff.gz
  to pool/main/a/am-utils/am-utils_6.1.1-1.diff.gz
am-utils_6.1.1-1.dsc
  to pool/main/a/am-utils/am-utils_6.1.1-1.dsc
am-utils_6.1.1-1_alpha.deb
  to pool/main/a/am-utils/am-utils_6.1.1-1_alpha.deb
am-utils_6.1.1.orig.tar.gz
  to pool/main/a/am-utils/am-utils_6.1.1.orig.tar.gz
libamu-dev_6.1.1-1_alpha.deb
  to pool/main/a/am-utils/libamu-dev_6.1.1-1_alpha.deb
libamu4_6.1.1-1_alpha.deb
  to pool/main/a/am-utils/libamu4_6.1.1-1_alpha.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tim Cutts <[EMAIL PROTECTED]> (supplier of updated am-utils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu,  1 Sep 2005 15:34:06 +0100
Source: am-utils
Binary: am-utils libamu-dev libamu4 am-utils-doc
Architecture: source all alpha
Version: 6.1.1-1
Distribution: unstable
Urgency: low
Maintainer: Tim Cutts <[EMAIL PROTECTED]>
Changed-By: Tim Cutts <[EMAIL PROTECTED]>
Description: 
 am-utils   - automounter utilities from 4.4BSD (includes amd)
 am-utils-doc - automounter utilities documentation
 libamu-dev - Support library for amd the 4.4BSD automounter (development)
 libamu4    - Support library for amd the 4.4BSD automounter (runtime)
Closes: 89029 248388 276559 318521
Changes: 
 am-utils (6.1.1-1) unstable; urgency=low
 .
   * New upstream version (Closes: #318521)
   * Added ldap support (Closes: #276559)
   * Cookbook modified to reflect the lack of extended regexps (Closes:
     #248388)
   * mtab / mounts discrepancies believed fixed upstream (Closes: #89029)
   * Moved libamu.la into -dev package in accordance with policy section 10.2
Files: 
 69a74b47d26881e7d1a2a0fe1998b5eb 1010 net extra am-utils_6.1.1-1.dsc
 d80262aff0f66cac815d963556526257 1871009 net extra am-utils_6.1.1.orig.tar.gz
 64d06930103e2e9f571e6656553878dd 58053 net extra am-utils_6.1.1-1.diff.gz
 c29394b1570130c37668437823ee37f0 647904 doc extra am-utils-doc_6.1.1-1_all.deb
 2ec9bd0ff9ea49e9ca2c1a76ed4188ce 415314 net extra am-utils_6.1.1-1_alpha.deb
 663bc2108f021618de61522b6648cef5 158954 libs extra libamu4_6.1.1-1_alpha.deb
 cf5901c7006f7d07f546b0046955523c 59126 libdevel extra 
libamu-dev_6.1.1-1_alpha.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iQEVAwUBQyGq6BypeFo2odvPAQIFFQf+NZpgyzl5J+gu2E7NGShCgQjMA+7K1OzJ
MWwkocTHxB96ItwH3e8T6Hq2ry3JI0b2S2tmAVB8WdqYDDLiF/aNbDnrqLM+H77B
q0rLr/PIs2u1ZxuE9cPijGWhhysyvJGJai0gAaaLaJ1XDGJ8HKCcxwIBadUA0/fD
/YyL0ypdNzFfCvofvuHNRD4VhvF7GL8sGrjOUVqlgXW/IqOPykQlOejM6nUnz8wH
0/Tb7+fHllvZ98+C5w5EpCTs4aPUjOUUjhzKfhRaw0rHeVhUh9kUjyoRdr0a5bEI
P+0Kx1TxTdHiTDMDzgr14a8BwxJopooDZj25kl8ZlSbAnuMevutMvQ==
=lbXg
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to