summaryrefslogtreecommitdiffstats
path: root/src/network/test-routing-policy-rule.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2018-06-27 14:31:42 +0200
committerMichael Biebl <biebl@debian.org>2018-11-27 15:15:52 +0100
commit1830ac51a4ad1d82a198e587207df451b581c821 (patch)
tree88fde279be15582c3fea9901c5c4bc4f06a1b8bf /src/network/test-routing-policy-rule.c
parentunit: minor optimization, use stack over heap, when we can (diff)
downloadsystemd-1830ac51a4ad1d82a198e587207df451b581c821.tar.xz
systemd-1830ac51a4ad1d82a198e587207df451b581c821.zip
Revert "systemctl: when removing enablement or mask symlinks, cover both /run and /etc"
Having systemctl disable/unmask remove all symlinks in /etc and /run is unintuitive and breaks existing use cases. systemctl should behave symmetrically. A "systemctl --runtime unmask" should undo a "systemctl --runtime mask" action. Say you have a service, which was masked by the admin in /etc. If you temporarily want to mask the execution of the service (say in a script), you'd create a runtime mask via "systemctl --runtime mask". It is is now no longer possible to undo this temporary mask without nuking the admin changes, unless you start rm'ing files manually. While it is useful to be able to remove all enablement/mask symlinks in one go, this should be done via a separate command line switch, like "systemctl --all unmask". This reverts commit 4910b35078ad24dcbc63f372b2fee087640201d0. Fixes: #9393
Diffstat (limited to 'src/network/test-routing-policy-rule.c')
0 files changed, 0 insertions, 0 deletions