[systemd-bugs] [Bug 85071] New: Failure to activate oneshot service with instance: Failed to execute operation: No such file or directory

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 15 13:43:06 PDT 2014


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

            Bug ID: 85071
           Summary: Failure to activate oneshot service with instance:
                    Failed to execute operation: No such file or directory
           Product: systemd
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: sirdeiu at bydeiu.net
        QA Contact: systemd-bugs at lists.freedesktop.org

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         : http://www.freedesktop.org/wiki/Software/systemd
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 at 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 at enp2s0, this works as expected.

Only the enable part which created the symlink to the wants target doesn't.

-- 
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/20141015/2fe4f855/attachment.html>


More information about the systemd-bugs mailing list