12306: Resolve any readable symlinks on unmount path.
authorTom Clegg <tclegg@veritasgenetics.com>
Tue, 7 Nov 2017 23:10:13 +0000 (18:10 -0500)
committerTom Clegg <tclegg@veritasgenetics.com>
Tue, 7 Nov 2017 23:22:00 +0000 (18:22 -0500)
commit08a4ebba0e5bfbc179103ac5e6916164bc8083fa
treeb9b81537a78843dcc28950c30f866c89b548c6f0
parentaabf1ca0e99701550f9af785e9f1fee098b0020a
12306: Resolve any readable symlinks on unmount path.

This avoids getting stuck in realpath/lstat in certain cases: e.g.,
the mount point is $HOME/keep, $HOME is "/home/foo", and "/home" is a
symlink to "/data/home".

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
services/fuse/arvados_fuse/unmount.py
services/fuse/tests/test_unmount.py