Am 06.09.2014 05:36, schrieb 積丹尼 Dan Jacobson:
> Package: systemd
> Version: 214-1
> File: /bin/systemctl
> 
> # systemctl enable dictd; echo $?
> Synchronizing state for dictd.service with sysvinit using update-rc.d...
> Executing /usr/sbin/update-rc.d dictd defaults
> Executing /usr/sbin/update-rc.d dictd enable
> 0
> # systemctl is-enabled dictd; echo $?
> Failed to get unit file state for dictd.service: No such file or directory
> 1

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


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to