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

messagebus service related error #29

Closed
m4ge opened this issue Nov 30, 2016 · 6 comments
Closed

messagebus service related error #29

m4ge opened this issue Nov 30, 2016 · 6 comments
Milestone

Comments

@m4ge
Copy link

m4ge commented Nov 30, 2016

When provisioning a CentOS 7.2 vagrant box I get the following error:

Error: Could not enable messagebus: 
Error: /Stage[main]/Sssd::Service/Service[messagebus]/ensure: change from stopped to running failed: Could not enable messagebus: 
Warning: /Stage[main]/Sssd::Service/Service[sssd]: Skipping because of failed dependencies
Warning: /Stage[main]/Sssd/Anchor[sssd::end]: Skipping because of failed dependencies

Running yum update on the box seem to fix the problem and so does setting

service_dependencies = ['dbus']

After looking around I have stumbled upon this: https://bugzilla.redhat.com/show_bug.cgi?id=1184960. Could that be the cause of my problem? If so, should the default value for service_dependencies be ['dbus'] rather than ['messagebus']? Is it safe to have it as an empty array?

@ndelic0
Copy link
Contributor

ndelic0 commented Nov 30, 2016

@m4ge try setting service_dependencies = [] for RH7 - messagebus daemon is nothing but the symlink to a dbus

@m4ge
Copy link
Author

m4ge commented Nov 30, 2016

@ndelic0 should the default setting for service_dependencies for RHEL7 be []? This would remove the need to specify custom options and the module would work out of the box. I'm happy to submit the patch for that if that is the solution to the issue

@m4ge m4ge closed this as completed Nov 30, 2016
@m4ge m4ge reopened this Nov 30, 2016
@ndelic0
Copy link
Contributor

ndelic0 commented Nov 30, 2016

@m4ge service_dependencies is already set as class param - basically module already allows one set this in Hiera. It would be nice to have it working out of the box though.

@m4ge
Copy link
Author

m4ge commented Nov 30, 2016

@ndelic0 I shall submit a pull request to that accord

@ndelic0
Copy link
Contributor

ndelic0 commented Nov 30, 2016

@m4ge thank you, thank you

@sgnl05
Copy link
Owner

sgnl05 commented Jan 24, 2017

Fixed in 0.4.1

@sgnl05 sgnl05 closed this as completed Jan 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants