• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Forwarded to devs psa-firewall /usr/local/psa/var/modules/firewall/firewall-active.sh: line 140: [: too many arguments

Paul Hermans

Basic Pleskian
User name: Paul Hermans

TITLE

psa-firewall /usr/local/psa/var/modules/firewall/firewall-active.sh: line 140: [: too many arguments

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian Version 18.0.25 Update #2 CentOS Linux 8.1.1911 (Core)

PROBLEM DESCRIPTION

when checking the status of the Plesk firewall you see and error

STEPS TO REPRODUCE

Run the command:
systemctl status psa-firewall.service

ACTUAL RESULT

/usr/local/psa/var/modules/firewall/firewall-active.sh: line 140: [: too many arguments

EXPECTED RESULT

I expect no errors.

ANY ADDITIONAL INFORMATION

# /sbin/ip6tables --version
ip6tables v1.8.2 (nf_tables)

iptables_version=`/sbin/ip6tables --version | awk -F '.' '{print $2$3}'`
iptables_version = 82 (nf_tables)

LINE 140 =
if [ $iptables_version -gt 420 ]; then

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you.
Reproduced on CentOS 8.1.1911 x86_64 with Plesk Obsidian.
Bug confirmed: PPP-48294
 
Back
Top