-
Notifications
You must be signed in to change notification settings - Fork 24.1k
[stable-2.9] systemd - fix issue with capbpf and newer kernel (#72337) #72348
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
[stable-2.9] systemd - fix issue with capbpf and newer kernel (#72337) #72348
Conversation
…e#72337) A bug existed in systemd 245 that did not properly handle unknown kernel capabilities gracefully. This resulted in incomplete output when querying for the service status. It is possible to get service status by other means. This PR works around this issue by getting service status using other commands in the event of a failure due to this bug. (cherry picked from commit db84e2c) Co-authored-by: Sam Doran <sdoran@redhat.com>
I applied this change to |
The problem is that Instead of |
Hmm, that's unfortunate. |
Weird, both |
Anecdotally |
Ok, I do see a long delay (3 seconds) when I run |
|
I think I was planning to list everything then investigate the output before I figure out I could have |
…sible#72363) list-unit-files will return all files on the system. list-units omits those that are disabled. Co-authored-by: Ken Dreyer <ktdreyer@ktdreyer.com> (cherry picked from commit d611588)
LGTM, thanks. |
Thank you so much for helping out with this fix. |
…ansible#72702) Related to issue ansible#71528 and PR ansible#72337 Co-authored-by: Martin Polden <mpolden@mpolden.no> (cherry picked from commit a788ea0)
SUMMARY
Backport of #72337 for Ansible 2.9.
ISSUE TYPE
COMPONENT NAME
lib/ansible/modules/systemd.py