-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZCS-13984 : Changes for RHEL9 #267
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An alternative solution is to self-sign the same PGP key with SHA-256, this way existing signatures remain valid, and you can continue to use the same key for all supported OS versions.
eg. Elastic search did this: elastic/elasticsearch#85876 (comment), from https://github.com/chrisberkhout/sha1-key-fix/tree/master
Wouldn't it be better to install p7zip on all platforms, not only on RHEL 9? |
I have tried to build 10.0.7 on Rocky Linux 9 thanks to this Dockerfile: https://github.com/maldua/zimbra-foss-builder/blob/07637be07ca826a22f6b132438536191a0dd8448/Dockerfile-manual-rhel-9 which should be equivalent to your latest Centos 9 Docker file: https://github.com/Zimbra/zm-base-os/blob/9c99638d067436c0d65768fbc46ead375b968aa6/Dockerfile-devcore-centos-9. I can confirm on my side that these two issues are present at 10.0.6 tag (as a consequence of this pull request not being merged yet):
. If you have a regular user with docker permissions and the proper Github keys and want to give it a try so that it stops at the
Note: Later on I will try to build with this pull request applied and I will give you feedback. |
Sure please provide your feedback after using this PR. |
This fails with:
. Trying to merge this pull request seemed to work quite nice because most all of the packages have been build. However in the end zmlicensectl is not found and the whole build fails. I have just checked the git log command again (just after the merge) and there are too many old commits from develop branch which should not be there in the first place so that might explain it. Note: Next test it's with manual cherry-picks of this pull request specific commits for 10.0.6 tag. I will make an specific branch if needed. |
@adriangibanelbtactic
|
Applying just the 4 commits of this pull request to 10.0.6 tag seemed to work in order to build the tgz without any problem. Associated instructions below:
|
I will give it a go and confirm you that, at least the build, works as expected and a tgz is returned. |
Your suggestions seemed to work in order to build the tgz without any problem. Associated instructions below:
|
@adriangibanelbtactic Third-party packages not yet available to install this build. We are working on it Zimbra/packages#198 . |
Added an specific note about Third-party packages not being available (and thus there is no point on testing the build yet) attached to the build I've made out of your suggestions. Thank you for the clarification. Note to myself: I'm not sure why I started testing RHEL builds based on RHEL9. I somehow managed to think that Zimbra 10 NE already supported RHEL9 but that's not the case at all (right now at 2024 03 30). Probably centos-9 being the latest available Dockerfile in zm-base-os pointed me onto that direction. |
For zimbra-imapd, zimbra-spell, zimbra-store packages getting below error.
RPM_BUILD_ROOT
is not defined./usr/lib/rpm/redhat/brp-ldconfig
and/usr/lib/rpm/redhat/brp-mangle-shebangs
are changed in the RHEL9.To fix this issue from build side, we need to define
RPM_BUILD_ROOT
.