Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

My firewall starts and restarts fine but if I try shorewall restore, the script fails because none of my shell variables from /etc/shorewall/params are set. Why?

0
Posted

My firewall starts and restarts fine but if I try shorewall restore, the script fails because none of my shell variables from /etc/shorewall/params are set. Why?

0

You probably need to set EXPORTPARAMS=Yes. During start and restart, /etc/shorewall/params is processed by the shell after set -a; as a result, all param settings become part of the shell’s environment and are inherited by the running script. The shell does not process /etc/shorewall/params when processing the restore command.

Thanksgiving questions

*Sadly, we had to bring back ads too. Hopefully more targeted.