Bug#760616: systemctl enable works, but is-enabled shows it in fact did not work

積丹尼 Dan Jacobson jidanni at jidanni.org
Sat Sep 6 13:27:44 BST 2014


>>>>> "MB" == Michael Biebl <biebl at debian.org> writes:
>> # systemctl is-enabled dictd; echo $?
>> Failed to get unit file state for dictd.service: No such file or directory
>> 1

MB> The issue here is, that dictd only provides a SysV init script and
MB> update-rc.d does not provide an interface to query if a service file is
MB> enabled or not.
MB> So while we can forward enable/disable requests to
MB> update-rc.d enable/disable, there is no equivalent functionality for
MB> is-enabled.

Well maybe the error message should mention that.




More information about the Pkg-systemd-maintainers mailing list