CSF βΊ Version
v15.10
CSF βΊ Release
Stable
System βΊ OS
Linux
System βΊ Distro & Version
Ubuntu 24.04
Control Panel βΊ Name
Generic (None)
Priority
High
Issue Description
File: src/ConfigServer/ServerCheck.pm
CSF Version: v15.10
Severity: Critical : CSF cannot start at all (csf -ra, csf -v, etc. all fail)
Error
Unmatched right curly bracket at /usr/local/csf/lib/ConfigServer/ServerCheck.pm line 194, at end of line
syntax error at /usr/local/csf/lib/ConfigServer/ServerCheck.pm line 194, near "}"
Compilation failed in require at /usr/sbin/csf line 43.
Root Cause
Two subroutine declarations (sub report and sub servercheck) are missing from the file. The function bodies are present, but the sub name { opening lines were accidentally removed , likely during a refactor or merge.
Steps To Reproduce
Try a fresh install on Ubuntu 24.04 Lts
- git clone https://github.com/Aetherinox/csf-firewall.git
- cd csf-firewall/src
- sudo bash install.sh
Logs βΊ Lfd
No response
Config βΊ csf.conf
No response
Screenshots
No response
CSF βΊ Version
v15.10
CSF βΊ Release
Stable
System βΊ OS
Linux
System βΊ Distro & Version
Ubuntu 24.04
Control Panel βΊ Name
Generic (None)
Priority
High
Issue Description
File: src/ConfigServer/ServerCheck.pm
CSF Version: v15.10
Severity: Critical : CSF cannot start at all (csf -ra, csf -v, etc. all fail)
Error
Unmatched right curly bracket at /usr/local/csf/lib/ConfigServer/ServerCheck.pm line 194, at end of line
syntax error at /usr/local/csf/lib/ConfigServer/ServerCheck.pm line 194, near "}"
Compilation failed in require at /usr/sbin/csf line 43.
Root Cause
Two subroutine declarations (sub report and sub servercheck) are missing from the file. The function bodies are present, but the sub name { opening lines were accidentally removed , likely during a refactor or merge.
Steps To Reproduce
Try a fresh install on Ubuntu 24.04 Lts
Logs βΊ Lfd
No response
Config βΊ csf.conf
No response
Screenshots
No response