<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemctl enable does not work for template units with no instance specified"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83110">83110</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>systemctl enable does not work for template units with no instance specified
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>intelfx100@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>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@.service
.include need-session@.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@.target
$ systemctl --user disable compton@
Removed symlink
/home/intelfx/.config/systemd/user/graphic@.target.wants/compton@.service.
$ systemctl --user enable compton@
<empty output>
Expected reaction:
- symlink created again</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>