Package: ufw Version: 0.29.3-1 Severity: minor [i.e. ufw in squeeze]
Hi, It seems like this bug was already fixed in 0.30.1, whether intentionally or not, so it's just so that there's a record: When setting the default forward policy in /etc/defaults/ufw to REJECT the following code block is executed, which produces an error and makes ufw say it failed to enable the firewall: > if [ "$DEFAULT_FORWARD_POLICY" = "REJECT" ]; then > cat <<EOM | $exe-restore -n || error="yes" > *filter > -A ufw${type}-reject-forward -j REJECT || error="yes" > COMMIT > EOM > fi The original error ("ERROR: problem running ufw-init") was not really helpful, maybe there should be some way to make it easier to debug. For the benefit of search engines, running ufw-init manually made the bug easier to find, as it printed: > Bad argument `||' > Error occurred at line: 2 > Try `iptables-restore -h' or 'iptables-restore --help' for more information. Cheers, -- Raphael Geissert - Debian Developer www.debian.org - get.debian.net -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org