[systemd-devel] [PATCHv2] install: Assume *.wants symlinks have the same name as their target for scalability.

David Timothy Strauss david at davidstrauss.net
Mon Dec 30 01:00:06 PST 2013


On Sun, Dec 29, 2013 at 11:57 AM, Zbigniew Jędrzejewski-Szmek
<zbyszek at in.waw.pl> wrote:
> I have been looking at our bugs [1-10, there are others too] related to
> enabling/disabling of units and following of symlinks. Currently this
> is an unintuitive mess and some changes will have to be made.

Another goal I have for any refinement in "enable" behavior is
defining how instances should work with commands. For example, because
we check "is-enabled" against the target of the symlinks, "systemctl
is-enabled nginx at 123.service" returns false unless there's a specific
"nginx at 123.service" unit (IIRC). So, "status" functions differently
from "is-enabled" in terms of how it matches up data. This gets really
weird when it comes to displaying the "enabled" state in the "status"
output.


More information about the systemd-devel mailing list