mirror of https://github.com/ansible/ansible.git
* [stable-2.10] systemd - fix issue with capbpf and newer kernel (#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 commitpull/72904/headdb84e2c989
) Co-authored-by: Sam Doran <sdoran@redhat.com> * [stable-2.10] systemd - use list-unit-files rather than list-units (#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 commitd6115887fa
) * systemd - account for templated unit files when searching for service (#72702) Related to issue #71528 and PR #72337 Co-authored-by: Martin Polden <mpolden@mpolden.no> (cherry picked from commita788ea0132
)
parent
2ff5bf0f21
commit
19bffccd36
@ -0,0 +1,4 @@
|
||||
bugfixes:
|
||||
- >
|
||||
systemd - work around bug with ``systemd`` 245 and 5.8 kernel that does not correctly
|
||||
report service state (https://github.com/ansible/ansible/issues/71528)
|
@ -0,0 +1,4 @@
|
||||
bugfixes:
|
||||
- >
|
||||
systemd - account for templated unit files using ``@`` when searching for
|
||||
the unit file (https://github.com/ansible/ansible/pull/72347#issuecomment-730626228)
|
@ -0,0 +1,5 @@
|
||||
bugfixes:
|
||||
- >
|
||||
systemd - follow up fix to https://github.com/ansible/ansible/issues/72338
|
||||
to use ``list-unit-files`` rather than ``list-units`` in order to show
|
||||
all units files on the system.
|
Loading…
Reference in New Issue