Re: Shorewall not starting

Philip Le Riche via Shorewall-users <[email protected]> Sat, 29 Jul 2023 22:14:43 +0100
Newsgroups gmane.comp.security.shorewall
Message-ID <[email protected]>
Many thanks Justin - systemctl enable shorewall fixed it. Nice to have 
such a simple solution!

Thanks also Matt. At a glance I might be able to use [1] to get sshd and 
apache2 to start, but that's for tomorrow.
(Yes, should have been /var/log/shorewall-init.log. Nothing added on 
booting until shorewall started manually, until which shorewall status 
said stopped.)

On 29/07/2023 19:18, Justin Pryzby wrote:
> On Sat, Jul 29, 2023 at 02:25:05PM +0100, Philip Le Riche via Shorewall-users wrote:
>> As before, this is running under Linux Mint (Ubuntu-based), and this time I
>> installed Shorewall from the standard repository for the distro (perhaps
>> that was my mistake?) It's failing to start on boot even though I have
>> STARTUP_ENABLED=Yes in my shorewall.conf.
> You should determine if shorewall is *trying* to start and failing, or
> if systemd is not configured to start it.
>
> $ sudo systemctl status shorewall
> Loaded: loaded (/lib/systemd/system/shorewall.service; enabled; vendor preset: enabled)
>
>> Also, I was surprised to find that /etc/systemd/system/shorewall.service
>> didn't exist.
> Maybe you need to run:
> systemctl enable shorewall
>
> https://shorewall.org/FAQ.htm#idm1200
>