The Perl ecosystem has been updated to 5.24.x. Our code base has been rewritten to support this version of Perl.
If you have any custom scripts, you need to ensure they work with Perl 5.24.x prior to upgrading.
The Spamassassin engine has been updated to the latest version 4.x.x, this brings in all the upstream enhancements and fixes.
The ClamAV anti-virus engine has been updated to the latest upstream LTS version 1.x.x, this brings in all the upstream enhancements and fixes.
The OpenSSH ecosystem has been updated to 7.x, this ensures that weak, legacy and/unsafe cryptography is depreciated.
CVE and bugfixes
A long list of security and bugfixes have been patched to a wide range of packages.
- Perl - The old 5.10.x API has been depreciated.
If you are running custom perl scripts, those need to be updated if neccessary to work with Perl >= 5.24.4
Upgrade stuck at “Cleanup: baruwascanner 100B/100B [xxx/xxx]”
In some cases the upgrade gets stuck transitioning between the old and new versions of Perl. Should you encounter this issue, open a new terminal/session and run the following command:
for pid in $(pgrep BaruwaScanner); do kill -9 $pid; done
The upgrade should proceed correctly after that and run to completion.
Processing state pkg.installed[spamassassin-pkgs] failed => Error occured installing package(s).
This is caused when the fix for Upgrade stuck at “Cleanup: baruwascanner 100B/100B [xxx/xxx]” was not applied and the stuck upgrade is interupted.
It is advisable to read the release notes before starting an upgrade as indicated in the upgrade notification email, this issue is due to failure to read and adhere to the advise in the release notes.
The system is in an inconsistent state because the upgrade was interupted. To fix this you need to run the command:
Then proceed with the upgrade by running the
The baruwa-logs command fails to run during the upgrade
This command is written in Perl so during the upgrade you may get compilation errors, this is normal. The command will work after the upgrade.
sshd[xxxx]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
In case you pick up the above error in your logs run the following command to create the key:
service sshd restart
That should create the key for you.
‘ERROR with rpm_check_debug vs depsolve:’, ‘perl(:MODULE_COMPAT_5.10.1) is needed by (installed) perl-xxxx
This happens when you have a perl package installed that is not part of BaruwaOS thus there is no update available for it.
You need to remove the said package using yum:
yum erase perl-xxxx
You can then resume the upgrade.