[Request] CSF Dont Update (Add Common pre-install commands)

Migdiradmin

Verified User
Joined
Jan 5, 2020
Messages
158
The CSF firewall is installed by default in ./setup.sh auto but dont make uptades because is missing the module perl-LWP-Protocol-https in the manual page.

So please add this modules to this page:
Common pre-install commands

Maybe can you add this module e2fsprogs to its not critical but csf log show one message error because missing this package.

For the people already have installed please run:
yum install perl-LWP-Protocol-https
 
but dont make uptades because is missing the module
You're incorrect. It does make updates, just not over https. If perl-LWP-Protocol is not installed then CSF will switch automatically to HTTP-Tiny and update via normal http.

For the people already have installed please run:
yum install perl-LWP-Protocol-https
And check that:
URLGET = "2"

I don't know if this is preferable to do automatic as maybe some people don't like perl things and want to use URLGET=3 to use curl/wget.
 
You're incorrect. It does make updates, just not over https. If perl-LWP-Protocol is not installed then CSF will switch automatically to HTTP-Tiny and update via normal http.

I tried and give error, dont make update. Only after perl-LWP-Protocol-https works.
 
I tried and give error, dont make update. Only after perl-LWP-Protocol-https works.
That's odd. Did you use all these files?

Because when I install my DA server, I also always got an error stating it could not download but it also stated switching to http-tiny and then it updated. I also forget always to install the https protocol.
Looks like you're missing something? Or maybe you must update again after it switched automatically to http-tiny? I dont'know.

Anyway, it's nice when it's installed by default, but there are also people which rather use cpan for the perl modules, so it still might be best to not install it by default.

However a +1 from me for pre-install.
 
No that would not be a wise idea to set testing to 0. :) But you have to create your own request thread for that.
 
No that would not be a wise idea to set testing to 0. :) But you have to create your own request thread for that.
Why not, if this is a auto install this is mostly not for knowledgeable people, the testing mode should not stay on.

I don't need those features, i use automation (Ansible) to config/setup servers ;)
 
I don't have a request just a suggestion in regard to a auto setup of CSF 🤦‍♂️

Nevermind, too tired to focus on these kind of replies.
 
I'll be more clear then. Your suggestion has way more weight (and will trigger more discussion) then just change an auto update option, that's why I suggest to open a new request for your suggestion, as written before.
That whay this thread can be kept clean. I'm a bit tired that I have to explain something like this.
 
New in CSF v14.00;

Added binary locations for CURL and WGET which will be tried if data
retrieval fails when using the LWP perl module, e.g. on outdated OS's

Added new option for URLGET setting "3". This allow the use of either
CURL ot WGET instead of the perl modules
 
Back
Top