[pve-devel] pve-firewall ipset update problem

Alexandre DERUMIER aderumier at odiso.com
Fri Nov 28 09:53:05 CET 2014


Great, I think it should work fine!

----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Vendredi 28 Novembre 2014 09:05:47 
Objet: RE: pve-firewall ipset update problem 

> Maybe on package update, 
> 
> put a temp file somewhere, 
> 
> and when the pve-firewall is stopped and if this temp file exist, flush all the 
> ipsets (or remove them with old code) ? 
> the remove the temp file, and start pve-firewall. 

I added a simple preinst script: 

https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff;h=161796ceb966e761d74225ea88f5d8083f203944 

hope that helps. 



More information about the pve-devel mailing list