Skip to content
Snippets Groups Projects
  1. Mar 18, 2021
    • Karel Koci's avatar
      sentinel-dynfw-client: fix race condition causing error and missing rule · e7b669ff
      Karel Koci authored
      On package installation the uci_default is run before service start.
      As the last step in uci_default the Firewall is reloaded but rule inject
      fails due to missing ipset.
      In normal operation the sentinel-dynfw-client is started before firewall
      but during installation this can't be done.
      
      The solution is to just create ipset anytime we start firewall. This
      makes it so rules is always added and it really doesn't matter who
      creates the ipset. With this either sentinel-dynfw-client creates it or
      firewall, which ever comes first.
      Verified
      e7b669ff
  2. Jul 24, 2020
  3. Jun 29, 2020