-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ListUnitsByNames returns an error #223
Comments
Which systemd version is this on? |
Okay yeah, I'm on 229. I've refactored to work around needing the call. I wonder if it's worthwhile to append a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What Happens:
Calling the
ListUnitsByNames
function on*dbus.Conn
results in an unexpected error:Unknown method 'ListUnitsByNames' or interface 'org.freedesktop.systemd1.Manager'
What I expected to happen:
A slice of
UnitStatus
and no error, or a more descriptive error message.How to reproduce:
Sample Code:
Test system:
The text was updated successfully, but these errors were encountered: