Skip to content

Commit fe84e70

Browse files
committed
[ifupdown] Invoke systemctl instead of systemd
The systemd binary is not meant to be invoked directly[1] and is no longer in the PATH in Trixie. [1]: https://www.freedesktop.org/software/systemd/man/latest/systemd.html
1 parent f66d7db commit fe84e70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible/roles/ifupdown/tasks/ifup_systemd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# SPDX-License-Identifier: GPL-3.0-only
66

77
- name: Check systemd version
8-
ansible.builtin.shell: set -o nounset -o pipefail -o errexit && systemd --version | head -n 1 | awk '{print $2}'
8+
ansible.builtin.shell: set -o nounset -o pipefail -o errexit && systemctl --version | head -n 1 | awk '{print $2}'
99
args:
1010
executable: 'bash'
1111
register: ifupdown__register_systemd_version

0 commit comments

Comments
 (0)