On Tue, Apr 16, 2013 at 6:06 AM, Simon Hobson <li...@thehobsons.co.uk> wrote:
> Ernesto Domato wrote:
>>I think that if I change the priority of the openvswitch at start up
>>and make it start before shorewall thet problem should be fixed, but I
>>don't know if that is the correct solution :-)
>
> Yes, that is the correct solution.
> If you look at the top of the scripts in /etc/init.d, you'll see the section :
> ### BEGIN INIT INFO
> #Provides:     shorewall
> #Required-Start:  $network $remote_fs
> #Required-Stop:   $network $remote_fs
> #Default-Start:   S
> # Default-Stop:   0 6
> #Short-Description: Configure the firewall at boot time
> # Description:    Configure the firewall according to the rules specified in
> #          /etc/shorewall
> ### END INIT INFO
>
> Check what service nameOpenVSwitch provides, and add that to the 
> Required-Start (and Required-Stop ?) section of Shorewall. Then you may need 
> to runupdate-rc.d, but that's sort of outside my experience level and might 
> not be required if you're using dependency based booting. Anyway, editing the 
> init script like this tells the system that you need OpenVSwitch started 
> before Shorewall - after that, in legacy mode you need to update the symlinks 
> in /etc/rc<n>.d to set the order, and in dependency mode I suspect it's 
> determined on the fly at boot time.
> In legacy mode, just changing the name of the symlink will alter the boot 
> order, but may be stomped on next time anything does an update on them.
>

Ok, I'll do this and will discuss with the Debian developers
responsible of the packaging of shorewall and openvswitch to agree on
the change in priority between both packages so this could be fixed.

Thanks.
Ernesto

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to