Explorar o código

Restart polkitd to workaround a bug in polkitd

Scott Dodson %!s(int64=8) %!d(string=hai) anos
pai
achega
457605bc7b
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      roles/os_firewall/tasks/firewall/firewalld.yml

+ 6 - 0
roles/os_firewall/tasks/firewall/firewalld.yml

@@ -34,6 +34,12 @@
   pause: seconds=10
   when: result | changed
 
+- name: Restart polkitd
+  systemd:
+    name: polkit
+    state: restarted
+  when: result | changed
+
 # Fix suspected race between firewalld and polkit BZ1436964
 - name: Wait for polkit action to have been created
   command: pkaction --action-id=org.fedoraproject.FirewallD1.config.info