On 05/17/2012 04:29 AM, Karel Zak wrote:
On Wed, May 16, 2012 at 09:34:27PM +0000, Orion Poplawski wrote:
Orion Poplawski<orion@...> writes:
See https://bugzilla.redhat.com/show_bug.cgi?id=820707
If the network is disconnected it is impossible to unmount, even if no
processes are accessing the mount. umount -f and umount -l both hang on
readlink("/home/orion").
umount needs to canonicalize the path so it does a readlink on the path given to
it.
It seems that the canonicalization is unnecessary (already fixed in libmount
upstream code). https://bugzilla.redhat.com/show_bug.cgi?id=820707
That appears to fix the issue for me. Thanks!
This appears to wait forever. This pretty much makes it impossible to use krb5
nfs4 with laptops where the network can disappear.
Is it possible to interrupt this "wait" by signal? ... then we can add alarm()
to critical sections in programs like umount or lsof.
Now for example lsof resolves this problem by fork() and timeout in
parent.. that's pretty nasty solution :-(
Karel
Seems unnecessary with the above fix.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder Office FAX: 303-415-9702
3380 Mitchell Lane orion@xxxxxxxx
Boulder, CO 80301 http://www.nwra.com
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html