Am 06.09.2014 14:27, schrieb 積丹尼 Dan Jacobson: >>>>>> "MB" == Michael Biebl <[email protected]> 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.
I guess we could print a warning like this. Then again, there are others in the pkg-systemd team who think we should use a rather pragmatic approach like testing for a /etc/rc?.d/S??foo symlink to determine whether a service is enabled or not. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature

