Ver código fonte

Restart polkitd to workaround a bug in polkitd

Scott Dodson 8 anos atrás
pai
commit
457605bc7b
1 arquivos alterados com 6 adições e 0 exclusões
  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