Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#1608 - iptables does not load filter rules after crash
Attached to Project:
Arch Linux
Opened by nackd (Prieto) - Saturday, 09 October 2004, 17:07 GMT
Last edited by Judd Vinet (judd) - Tuesday, 12 October 2004, 15:54 GMT
Opened by nackd (Prieto) - Saturday, 09 October 2004, 17:07 GMT
Last edited by Judd Vinet (judd) - Tuesday, 12 October 2004, 15:54 GMT
|
DetailsAfter the system crashes (or not, but you don't shutdown it cleanly) iptables fails to restore the filter rules.
|
This task depends upon
Comment by nackd (Prieto) -
Saturday, 09 October 2004, 17:08 GMT
The problem is in /etc/rc.d/iptables. It writes a file in /var/run to know if it has been already started. That file is deleted when iptables is stopped, but it is not when the system is not cleanly shutdown. Instead, it should use the standard function ck_daemon. (Yes, it also uses a file in /var/run/daemons, but that dir is emptied by the init scripts). I'm attaching a patch.
iptables.patch