Bug 63621

Summary: systemctl enable doesn't work for Alias names
Product: systemd Reporter: Michael Biebl <mbiebl>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Michael Biebl 2013-04-17 06:00:05 UTC
Version: 201

foo.service:
...
[Install]
Alias=bar.service

systemctl enable foo.service works
systemctl enable bar.service does *not* work
systemctl disable foo.service works
systemctl disable bar.service does *not* work

It would be nice if enable|disable would also work for the Alias names.
Comment 1 Lennart Poettering 2016-06-07 10:42:32 UTC
That would really mean that we'd have to honour configuration that is not applied. I am very sure we shouldn#t do that.

Also, note that this does work now, as long as the symlink is created in /usr, not in /etc. Closing hence.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.