Skip to content
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

dbus systemd unit is static #1

Closed
bodgit opened this issue Apr 28, 2016 · 0 comments
Closed

dbus systemd unit is static #1

bodgit opened this issue Apr 28, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@bodgit
Copy link
Owner

bodgit commented Apr 28, 2016

On platforms with systemd the unit managing dbus-daemon appears to always be static, therefore it can neither be disabled or enabled, leading to the following error:

Error: Could not enable messagebus: 
Error: /Stage[main]/Dbus::Service/Service[messagebus]/enable: change from false to true failed: Could not enable messagebus: 

A simple fix would be to simply not try and manage the enable attribute on the service when on a platform with systemd.

@bodgit bodgit self-assigned this Apr 28, 2016
@bodgit bodgit added the bug label Apr 28, 2016
@bodgit bodgit added this to the v1.1.0 milestone Apr 28, 2016
bodgit added a commit that referenced this issue Apr 28, 2016
Use new custom fact to report the init system present and on platforms with
systemd don't manage the `enable` attribute of the service.

On traditional init systems use a custom `dbus-send`-based restart command to
pick up configuration changes and avoid restarting the daemon.
@bodgit bodgit closed this as completed Apr 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant