New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Kernel and other updates still can´t be executed after CWP versi. 2.0.30/1.30.36

Started by muscator, November 25, 2026, 11:34:22 AM

Previous topic - Next topic

muscator

I can see that version 1.30.38 does not include a fix for the error that causes servers to not being able to update security fixes

Maybe CWP thinks that the error was fixed in 2.0.31/1.30.37?

It is not fixed and still bloks any update on the servers on LTS/EDGE

It seems to be this issue described in 2.0.31/1.30.37, that causes the problem:

EL9 / EL10 updates: servers whose CWP packages still carried old SHA-1 signatures could not install OS or security updates (dnf stopped at the transaction check). The updater now refreshes those package headers from the re-signed repository so updates proceed again. (#15420)

The error is stil indicated with this error:

Attention! The operation FAILED (exit code 1). No changes may have been applied - see the log for the error (often a repository, GPG key or dependency problem).

    As described elsewhere it seems like the SHA1 is still the culprit

muscator

Trying to run sh /scripts/update_cwp clearly indicates that even the internal cwp kernel is blocked by the SHA1 error:

######################
Update Server Packages
######################
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart cwp-phpfpm.service
Redirecting to /bin/systemctl reload cwpsrv.service
Redirecting to /bin/systemctl reload cwp-phpfpm.service
Redirecting to /bin/systemctl reload httpd.service
Redirecting to /bin/systemctl reload httpd.service
update_cwp: added the CSF Dovecot IMAP/POP3 brute-force regex and reloaded lfd (#947762-8)
update_cwp: kernel-5.14.0-687.61.1.el9_8.cwpsec.x86_64 has a SHA1 header EL9 rejects - NOT auto-fixed (kernel/cwpsec; resolves at the next kernel update)
update_cwp: kernel-core-5.14.0-687.61.1.el9_8.cwpsec.x86_64 has a SHA1 header EL9 rejects - NOT auto-fixed (kernel/cwpsec; resolves at the next kernel update)
update_cwp: kernel-modules-5.14.0-687.61.1.el9_8.cwpsec.x86_64 has a SHA1 header EL9 rejects - NOT auto-fixed (kernel/cwpsec; resolves at the next kernel update)
update_cwp: kernel-modules-core-5.14.0-687.61.1.el9_8.cwpsec.x86_64 has a SHA1 header EL9 rejects - NOT auto-fixed (kernel/cwpsec; resolves at the next kernel update)
update_cwp: kernel-modules-extra-5.14.0-687.61.1.el9_8.cwpsec.x86_64 has a SHA1 header EL9 rejects - NOT auto-fixed (kernel/cwpsec; resolves at the next kernel update)

A quick solution is needed as this is security updates that awaits updating

muscator

As I am rather impatient, I contacted CWP directly on the official supportsite and got an immediate reply, that explained and solved this particular issue immediately

Thanks for the swift and effective reply.

I copied it below, for others with the same problem to find out what the cause is:

"Thank you for the full output; it shows the cause clearly.

Your server still has the old CWP Secure Kernel packages (5.14.0-687.61.1.el9_8.cwpsec) installed from the time they were installed by default. Those old packages were signed with SHA1, and AlmaLinux 9 rejects SHA1 signatures by default. The new AlmaLinux kernel itself is fine, but installing it makes dnf remove one of the old kernels, and rpm can't read that SHA1-signed package. That's the "Header V4 RSA/SHA1 Signature ... BAD" and "package not installed" error. Our current repository packages are SHA256-signed; the problem is only these old installed copies. CWP's update script deliberately skips kernel packages when it repairs SHA1 headers, so on your server this never cleared. We've reported that gap to our developers.

Since you don't use the Secure Kernel, the simplest fix is to allow SHA1 for this single update. dnf can then remove the old Secure Kernel packages and install the standard AlmaLinux kernel.


The problem is now solved for me