Systemd/src/systemctl
Zbigniew Jędrzejewski-Szmek 15d7ab87c4 systemctl: add new enablement state "alias"
For units which are aliases of other units, reporting preset status as
"enabled" is rather misleading. For example, dbus.service is an alias of
dbus-broker.service. In list-unit-files we'd show both as "enabled".  In
particular, systemctl preset ignores aliases, so showing any preset status at
all is always going to be misleading. Let's introduce a new state "alias" and
use that for all aliases.

I was trying to avoid adding a new state, to keep compatibility with previous
behaviour, but for alias unit files it simply doesn't seem very useful to show
any of the existing states. It seems that the clearly showing that those are
aliases for other units will be easiest to understand for users.
2020-05-05 21:50:38 +02:00
..
systemctl.c systemctl: add new enablement state "alias" 2020-05-05 21:50:38 +02:00
systemd-sysv-install.SKELETON systemd-sysv-install: unset ROOT rather than setting it to "" 2018-02-27 19:59:09 +01:00
sysv-compat.c Merge pull request #12119 from keszybz/voidify-mkdir-p 2019-03-27 15:05:51 +01:00
sysv-compat.h systemctl: define less stuff when !HAVE_SYSV_COMPAT 2019-03-26 19:06:48 +01:00