Skip to content
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-11514 : Getting log4j dependency errors while upgrading from Zimbra 9 Patch24.1 to Patch25 #98

Merged
merged 2 commits into from
Jun 10, 2022

Conversation

umagmrit
Copy link
Contributor

Problem:

zimbra-common-core-libs package deploys log4j-2.17.1 jar's.

while we installing zimlets, post install script of zimlets trying to execute zmmailboxdctl status and it's giving error .

zmmailboxdctl zmlocalconfig commands trying find old log4j-1.2.16 jar's because old zmlocalconfig file has old log4j-1.2.16 jar's PATH in that.

See https://github.com/Zimbra/zm-core-utils/blob/9.0.0.p24/src/bin/zmlocalconfig#L57

Fix:

We have to copy updated zmlocalconfig file after zimbra-common-core-libs package has been installed. So post-install script has been added to update zmlocalconfig file (which has PATH of log4j-2.17.1 jar's)

@umagmrit umagmrit merged commit f1ae029 into develop Jun 10, 2022
@umagmrit umagmrit deleted the ZCS-11514 branch June 10, 2022 06:15
umagmrit added a commit that referenced this pull request Jun 10, 2022
ZCS-11514 : Getting log4j dependency errors while upgrading from Zimbra 9 Patch24.1 to Patch25
umagmrit added a commit that referenced this pull request Jun 10, 2022
ZCS-11514 : Getting log4j dependency errors while upgrading from Zimbra 9 Patch24.1 to Patch25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants