<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 - Failure to activate oneshot service with instance: Failed to execute operation: No such file or directory"
href="https://bugs.freedesktop.org/show_bug.cgi?id=85071">85071</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Failure to activate oneshot service with instance: Failed to execute operation: No such file or directory
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (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>sirdeiu@bydeiu.net
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Fedora 21 x86_64 with:
rpm -qi systemd
Name : systemd
Version : 216
Release : 4.fc21
Architecture: x86_64
Install Date: Wed 15 Oct 2014 09:16:26 PM EEST
Group : Unspecified
Size : 22165313
License : LGPLv2+ and MIT and GPLv2+
Signature : RSA/SHA256, Mon 13 Oct 2014 06:10:01 PM EEST, Key ID
89ad4e8795a43f54
Source RPM : systemd-216-4.fc21.src.rpm
Build Date : Sun 12 Oct 2014 05:05:21 PM EEST
Build Host : buildvm-05.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager : Fedora Project
Vendor : Fedora Project
URL : <a href="http://www.freedesktop.org/wiki/Software/systemd">http://www.freedesktop.org/wiki/Software/systemd</a>
Summary : A System and Service Manager
If I try to activate a simple wake on lan service:
[Unit]
Description=Wake-on-LAN for %i
Requires=network.target
After=network.target
[Service]
ExecStart=/sbin/ethtool -s %i wol g
Type=oneshot
[Install]
WantedBy=multi-user.target
with systemctl enable wol@enp2s0
I get this: Failed to execute operation: No such file or directory
This worked OK with Fedora 20 and systemd < 215(?).
Also if I try systemctl start wol@enp2s0, this works as expected.
Only the enable part which created the symlink to the wants target doesn't.</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>