[systemd-bugs] [Bug 86076] New: Cannot enable a `systemctl link`-ed unit

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 9 12:03:34 PST 2014


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

            Bug ID: 86076
           Summary: Cannot enable a `systemctl link`-ed unit
           Product: systemd
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: intelfx100 at gmail.com
        QA Contact: systemd-bugs at lists.freedesktop.org

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'

-- 
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/20141109/8d169439/attachment.html>


More information about the systemd-bugs mailing list