]> git.ipfire.org Git - thirdparty/systemd.git/commit
automount: if an automount unit is masked, don't react to activation anymore (#5445)
authorLennart Poettering <lennart@poettering.net>
Wed, 1 Mar 2017 03:03:48 +0000 (04:03 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 1 Mar 2017 03:03:48 +0000 (22:03 -0500)
commite350ca3f1ecb6672b74cd25d09ef23c7b309aa5a
tree5788a9c0d3b77577122abdfe323a07af1ec1467a
parent74278ce56732056bb3cc75062113e393db1d6dd2
automount: if an automount unit is masked, don't react to activation anymore (#5445)

Otherwise we'll hit an assert sooner or later.

This requires us to initialize ->where even if we come back in "masked"
mode, as otherwise we don't know how to operate on the automount and
detach it.

Fixes: #5441
src/core/automount.c