<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot enable a `systemctl link`-ed unit"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86076">86076</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cannot enable a `systemctl link`-ed unit
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>intelfx100@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Attempt to enable a unit which has been symlinked into the search path by
`systemctl link` produces the following error message:
"Failed to execute operation: No such file or directory."
Also the `systemctl link` itself generates a warning-level message in the log:
"Unknown serialization item 'subscribed=:1.1'"
$ cat /test.service
[Unit]
Description=Test service
[Service]
Type=oneshot
ExecStart=/bin/true
[Install]
WantedBy=multi-user.target
$ sudo systemctl link /test.service
Created symlink from /etc/systemd/system/test.service to /test.service.
$ sudo systemctl enable test.service
Failed to execute operation: No such file or directory
$ journalctl -n1 _PID=1 -p warning
-- Logs begin at Ср 2014-10-15 14:29:58 MSK, end at Вс 2014-11-09 23:00:11 MSK.
--
ноя 09 23:00:07 intelfx-laptop systemd[1]: Unknown serialization item
'subscribed=:1.1'</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>