** Description changed:
-
Ubuntu 14.04 LTS and 15.04
Steps to reproduce:
apt-get install shorewall
- vi /etc/default/shorewall
+ vi /etc/default/shorewall
replace
startup=0
with
startup=1
cp -va
/usr/share/doc/shorewall/examples/one-interface/{interfaces,policy,rules,zones}
/etc/shorewall/
+ shorewall check
shorewall safe-restart
iptables -L -n # all rules are there
reboot
iptables -L -n # all rules are gone #FAIL
Workaround:
- vi /etc/init.d/shorewall
+ vi /etc/init.d/shorewall
+
replace
+
# Default-Start: S
+ # Default-Stop: 0 6
+
with
+
# Default-Start: 2 3 4 5
+ # Default-Stop: 0 1 6
+
sudo rm -fv /etc/rc?.d/*shorewall*
sudo update-rc.d shorewall defaults
References:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773392
http://ubuntuforums.org/showthread.php?t=2275224
https://help.ubuntu.com/community/ShorewallBasics
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1486914
Title:
shoreall won't start, wrong runlevels
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shorewall/+bug/1486914/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs