Your message dated Wed, 23 Jul 2014 22:29:42 +0100
with message-id
<CAD=6czr73r-glfpt5gsgb+joxpevvmnuntmkleyurdvwonm...@mail.gmail.com>
and subject line Close #642331 - Must not stat mountpoint during force unmount
has caused the Debian Bug report #642331,
regarding Must not stat mountpoint during force unmount
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
642331: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642331
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mount
Version: 2.19.1-5
Severity: important
File: /bin/umount
I've noticed that a force unmount of a NFS filesystem is hanging
forever, and strace shows why:
# strace umount -f /mnt/portal-dev/customer-portal
...
getuid() = 0
geteuid() = 0
readlink("/mnt", 0x7fff76e912f0, 4096) = -1 EINVAL (Invalid argument)
readlink("/mnt/portal-dev", 0x7fff76e912f0, 4096) = -1 EINVAL (Invalid argument)
readlink("/mnt/portal-dev/customer-portal", 0x7fff76e912f0, 4096) = -1 EINVAL
(Invalid argument)
stat("/mnt/portal-dev/customer-portal",
--no-canonicalize doesn't help.
The trivial C program below works fine, so there is no reason for umount
to fail:
#include <sys/mount.h>
int main() {
const char p[] = "/mnt/portal-dev/customer-portal";
umount2(p, MNT_FORCE);
umount2(p, MNT_FORCE);
return 0;
}
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (200, 'unstable'), (150, 'stable'), (100,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/8 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 mount depends on:
ii libblkid1 2.19.1-5
ii libc6 2.13-18
ii libmount1 2.19.1-5
ii libselinux1 2.1.0-1
ii libsepol1 2.1.0-1.1
mount recommends no packages.
Versions of packages mount suggests:
ii nfs-common 1:1.2.4-1
-- no debconf information
--- End Message ---
--- Begin Message ---
version: 2.24.2-1
I'm closing this bug now since the fix for the bug you reported was
included in the new (upstream) version.
If you can still reproduce it feel free to reopen and provide more info.
thanks
regards
althaser
--- End Message ---