Thanks for the reply.

`uname -r` succeeds at the shell with this kernel 4.14.167 version. I had a 
similar thought that maybe it wasn't able to look it up on the my $uname line 
so I hardcoded the kernel version there. No luck. The last version of Shorewall 
I was able to run successfully on OpenWRT was 4.6

________________________________
From: Justin Pryzby <pry...@telsasoft.com>
Sent: February 8, 2020 12:00 AM
To: Shorewall Users <shorewall-users@lists.sourceforge.net>
Subject: Re: [Shorewall-users] Problems Starting Shorewall 5.2.3.5

On Sat, Feb 08, 2020 at 04:46:44AM +0000, Sparechicken wrote:
> Wondering if someone can assist with this error trying to start/check 
> Shorewall 5.2.3.5 on OpenWRT compiled for a WNDR3700v2:
>
> ERROR: The command 'uname -r' failed /etc/shorewall/shorewall.conf (EOF) at 
> /usr/share/shorewall/Shorewall/Config.pm line 1576.
>         Shorewall::Config::fatal_error("The command 'uname -r' failed") 
> called at /usr/share/shorewall/Shorewall/Config.pm line 4445
>         Shorewall::Config::load_kernel_modules() called at 
> /usr/share/shorewall/Shorewall/Config.pm line 5754
>         Shorewall::Config::get_capabilities(undef) called at 
> /usr/share/shorewall/Shorewall/Config.pm line 6249
>         Shorewall::Config::get_configuration(0, 0, 0) called at 
> /usr/share/shorewall/Shorewall/Compiler.pm line 663
>         Shorewall::Compiler::compiler("script", "/tmp/state/.start", 
> "directory", "", "verbosity", 1, "timestamp", 0, ...) called at 
> /usr/lib/shorewal
> eval() called 0 times

The relevant line seems to do:

        my $uname = `uname -r`;
        fatal_error "The command 'uname -r' failed" unless $? == 0;

Why does it fail ?

WAG: is your proc unmounted ?

Is it not in your path?


_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to