diff options
author | Michael Tremer <michael.tremer@ipfire.org> | 2013-05-19 15:45:48 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-05-21 09:23:51 -0400 |
commit | 67820a0cbdc9d72a1074debf8b2bc72203c775cc (patch) | |
tree | 64fead0aa2275d7ab81319d533ecd99cb7d2d303 /src/locale/Makefile | |
parent | 9e9c3abcfa6b93500960531d0d7aa64b8b2b0349 (diff) |
systemctl: make systemctl is-enabled work for templated units
Patch resolves the problem that 'systemctl is-enabled' does
not work for templated units.
Without this patch, systemctl is-enabled something@abc.service
returned "No such file or directory", because it first checked
if /usr/lib/systemd/system/something@abc.service, etc. exists.
If systemctl is-enabled is called for templated units, this
check should be omitted and it should search for symlinks in
the .wants dirs right away.
This patch fixes the broken behaviour and resolves
https://bugs.freedesktop.org/show_bug.cgi?id=55318.
[zj: fixed the patch to still check for broken symlinks and
masked instances. Also removed untrue assumptions from
the patch description.]
Diffstat (limited to 'src/locale/Makefile')
0 files changed, 0 insertions, 0 deletions