-
-
Notifications
You must be signed in to change notification settings - Fork 62
🐛 Bug: Missing sub declarations in ServerCheck.pm #98
Copy link
Copy link
Open
Labels
Type › BugSomething isn't workingSomething isn't working⚠ UrgentRequires urgent attentionRequires urgent attention
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type › BugSomething isn't workingSomething isn't working⚠ UrgentRequires urgent attentionRequires urgent attention
Projects
Status
No status