Bug 63621 - systemctl enable doesn't work for Alias names
Summary: systemctl enable doesn't work for Alias names
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-17 06:00 UTC by Michael Biebl
Modified: 2016-06-07 10:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.