[Libguestfs] [PATCH 5/5] sysprep: remove iptables rules

Wanlong Gao gaowanlong at cn.fujitsu.com
Thu Sep 5 09:27:50 UTC 2013


On 09/05/2013 05:18 PM, Richard W.M. Jones wrote:
> Doesn't this delete all the firewall rules (not just removing the
> custom rules)?

I thought that the system will not have a /etc/sysconfig/iptables
file by default, it is created by user when he want to enable his
custom rules. Right?

> 
> Of course the other problem (not with this patch) is that distros
> using firewalld use a completely different method to store custom
> rules, although it is at least easier to delete custom rules in this
> case (by removing files the user has created under
> /etc/firewalld/zones/*.xml).

Oops, so we can add this, too. right?

Thanks,
Wanlong Gao

> 
> Rich.




More information about the Libguestfs mailing list