• Stanislav Kinsburskiy's avatar
    autofs: support of "hidden" catatonic mounts · 830cb368
    Stanislav Kinsburskiy authored
    There can be a situation, when autofs mount is catatonic, but doesn't know
    about it yet.
    It wasn't possible to distinguish between such mounts and others, which are
    active, but not accessible for some reason. And all of such mounts were
    threated as undumpable.
    Such "hidden" catatonic mounts can appear if:
    
    1) autofs master process has exited without switching
       the mount to catatonic mode (or was killed).
    
    2) mount point was unmounted, but not propagated to
       nested mount namespace with private mounts.
    
    These mounts can be handled by accessing the mount point. If it's catatonic,
    it will update it's internals on first failed request to the autofs master.
    Then we can read options again and dump the mountpoint as catatonic.
    Signed-off-by: 's avatarStanislav Kinsburskiy <skinsbursky@virtuozzo.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    830cb368
Name
Last commit
Last update
Documentation Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
lib Loading commit data...
scripts Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...