Bug 879716 - systemctl error messages are cryptic
Summary: systemctl error messages are cryptic
Status: CLOSED DUPLICATE of bug 880353
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2012-11-23 21:37 UTC by Dimitrios Apostolou
Modified: 2013-01-14 18:01 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-01-14 18:01:40 UTC
Type: Bug

Attachments (Terms of Use)

Description Dimitrios Apostolou 2012-11-23 21:37:20 UTC
I'm new to systemd, so I tried overriding a unit file by copying it to /etc/systemd/system/multi-user.target.wants/ directory and editing it there.

That was a mistake, the proper path to copy unit files is /etc/systemd/system/.

However it took me a decent amount of time to find out, since everything I tried was failing with the following message. Google gave me the answer, but as an admin I like to search things on my own. Strace'ing systemctl didn't help (it sends messages via socket) and I still don't know what was the dreaded method call that failed...

# systemctl reenable MYSERVICE   # Or almost every command on MYSERVICE
Failed to issue method call: Invalid argument

Comment 1 Lennart Poettering 2013-01-14 18:01:40 UTC
The failing reenable is actually discussed here.



*** This bug has been marked as a duplicate of bug 880353 ***

Note You need to log in before you can comment on or make changes to this bug.