Arch Linux

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!
Tasklist

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
Task Type Bug Report
Category System
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

After the system crashes (or not, but you don't shutdown it cleanly) iptables fails to restore the filter rules.
(application/octet-stream)    iptables.patch (1 KiB)
This task depends upon

Closed by  Judd Vinet (judd)
Saturday, 16 October 2004, 21:07 GMT
Reason for closing:  Fixed
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.

Loading...