I already replied direct to Erich but here is the patch for
/etc/init.d/[iptables|ip6tables] to do the mount/unmount modules.sqfs properly.

regards,

John

On 18/01/17 21:53, Erich Titl wrote:
> Hi John
> 
> Am 18.01.2017 um 10:15 schrieb John Sager:
>> I'm trying to get 6.0.2-rc1 working on a PC Engines apu2c2 but there are
>> problems with loading modules in some cases. I note that the moddb stuff has
>> been removed and all module loading is now done from modules.sqfs mounted to
>> /lib/modules/$KVER. Although this works at early boot time to load modules
>> in /etc/modules it fails later on for iptables-restore and
>> ip6tables-restore. iptables and ip6tables autoload modules as needed for the
>> specific rules required. Although the scripts in /etc/init.d for iptables &
>> ip6tables mount modules.sqfs to load the helper modules in IPTABLES_MODULES
>> they don't for the -restore operation. iptables-restore is effectively just
>> a wrapper round iptables so it autoloads modules in the same way.
> 
> Yes, LEAF Bering is geared towards shorewall and there the module 
> loading process has been implemented. Not so for native iptables support.
> 
> You can either add the necessary modules to /etc/modules or better, 
> extend iptables.... to include the module mounting/unmounting functions. 
> Please provide apatch if you do so.
> 
> cheers
> 
> Erich
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ------------------------------------------------------------------------
> leaf-user mailing list: leaf-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
> 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to