shoreall won't start, wrong runlevels

Bug #1486914 reported by B.
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
shorewall (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 14.04 LTS and 15.04

Steps to reproduce:

apt-get install 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

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

Tags: init shorewall
affects: shorewall-common (Ubuntu) → shorewall (Ubuntu)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in shorewall (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.