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



-- 
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