Skip to content

Commit 213b1b2

Browse files
committed
Fix permissions on /etc for munge service
The munge service does not start if permissions on /etc are too wide: munged: Error: Keyfile is insecure: group-writable permissions without sticky bit set on "/etc"
1 parent 2d61741 commit 213b1b2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tasks/runtime.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@
103103
register: ohpc_cgroup_conf
104104
# NB uses restart rather than reload as this is needed in some cases
105105

106+
# Workaround for https://bugs.rockylinux.org/view.php?id=10165
107+
- name: Fix permissions on /etc for Munge service
108+
ansible.builtin.file:
109+
mode: g-w
110+
path: /etc
111+
106112
- name: Ensure Munge service is running
107113
service:
108114
name: munge

0 commit comments

Comments
 (0)