-
Notifications
You must be signed in to change notification settings - Fork 16
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
Upstream issue with systemd where rpcbind_service enable keeps changing from false to true. #27
Comments
|
Thank you for reporting this issue. I don't understand what needs to happen. What OS platform and version(s) of Puppet are you using? How could this be duplicated? |
|
The original change to behavior of indirect systemd states were a part of: Now others have reported that they want more granular output for systemd: and even cleanup upstream for systemd: I think it's much more of an upstream issue, I can get around it by doing enabled => false,. Because indirect had been made considered as "disabled". I'm running puppet 4.11 on CentOS 7 More of an FYI and tracker for this specific module as it's impacted by this behavior. I may, however, just throw in a quick if statement around the output of systemctl is-enabled as a quick dirty fix. |
|
Thanks @benkevan |
|
Not seeing this behavior with the new v2 of this module using EL7. Thank you for documenting your work around. |
Every run will contain:
Notice: /Stage[main]/Rpcbind/Service[rpcbind_service]/enable: enable changed 'false' to 'true'
Although it's enabled, the is-enabled output isn't "enabled"
systemctl status rpcbind
● rpcbind.service - RPC bind service
Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; indirect; vendor preset: enabled)
Active: active (running) since Tue 2017-09-05 19:01:39 UTC; 2 weeks 5 days ago
Main PID: 1683 (rpcbind)
CGroup: /system.slice/rpcbind.service
└─1683 /sbin/rpcbind -w
systemctl is-enabled rpcbind.service; echo $?
indirect
0
Changes in puppet 4.9 moved the default of is-enable for indirect to false (even with an exit status of 0).
The text was updated successfully, but these errors were encountered: