[systemd-bugs] [Bug 83110] New: systemctl enable does not work for template units with no instance specified

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 26 13:07:06 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=83110

          Priority: medium
            Bug ID: 83110
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: systemctl enable does not work for template units with
                    no instance specified
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: intelfx100 at gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

Given a templated unit, sometimes it can make sense to enable it with empty
instance.

Actually, this seems to be a regression.

Example of bug:

$ cat .config/systemd/user/compton at .service 
.include need-session at .service

[Unit]
Description=Compton X11 compositor for session %I
Documentation=man:compton(1)

[Service]
Type=forking
ExecStart=/usr/bin/compton -f -b

[Install]
WantedBy=graphic at .target

$ systemctl --user disable compton@
Removed symlink
/home/intelfx/.config/systemd/user/graphic at .target.wants/compton at .service.

$ systemctl --user enable compton@
<empty output>

Expected reaction:
- symlink created again

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140826/7a682adb/attachment.html>


More information about the systemd-bugs mailing list