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

Migdiradmin

Verified User
Joined
Jan 5, 2020
Messages
35
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
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,384
Location
Maastricht
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.
 

Migdiradmin

Verified User
Joined
Jan 5, 2020
Messages
35
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.
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,384
Location
Maastricht
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.
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,384
Location
Maastricht
No that would not be a wise idea to set testing to 0. :) But you have to create your own request thread for that.
 

Imtek

Verified User
Joined
Dec 11, 2005
Messages
142
Location
The Netherlands
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 ;)
 

Imtek

Verified User
Joined
Dec 11, 2005
Messages
142
Location
The Netherlands
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.
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,384
Location
Maastricht
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.
 

Erulezz

Verified User
Joined
Sep 14, 2015
Messages
436
Location
Arnhem, NL
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
 
Top