Bug 62300

Summary: "systemctl disable foobar.service" can't undo "systemctl enable <path>/foobar.service"
Product: systemd Reporter: Frederic Crozat <fred>
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 Frederic Crozat 2013-03-13 15:29:47 UTC
This is a follow-up of https://bugzilla.novell.com/show_bug.cgi?id=808144

Teamviewer (http://www.teamviewer.com/download/teamviewer_linux.rpm ) is shipping a systemd .service file and is enabling it using 

systemctl enable /opt/.../foobar.service

and disable it with "systemctl disable /opt/.../foobar.service"

However, a user who might want to disable the service himself, will use
systemctl disable foobar.service
which will result in error "No such file or directory".
Comment 1 Zbigniew Jedrzejewski-Szmek 2013-06-03 18:39:28 UTC
Fixed in http://cgit.freedesktop.org/systemd/systemd/commit/?id=02b9e969a6.

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.