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

HP-UX Wazuh agent package size increased considerably #19251

Closed
2 tasks done
jnasselle opened this issue Sep 26, 2023 · 4 comments · Fixed by wazuh/wazuh-packages#2864 or wazuh/wazuh-documentation#7107
Closed
2 tasks done
Assignees
Labels
level/task module/agent Issues related to the agent daemon platform/hp-ux qa_known Issues that are already known by the QA team type/question

Comments

@jnasselle
Copy link
Member

jnasselle commented Sep 26, 2023

Wazuh version Component Install type Install method Platform
v4.6.0-beta1 Wazuh agent package Agent Packages HP-UX

Description

During #19212, it was found that HP-UX Wazuh Agent size has the next increase

Size is related to packaging the next libraries

image

DoD

  • Make sure that those libraries are deployed/installed as wanted
  • Research if there's any tweak to improve package size
@sebasfalcone
Copy link
Member

On hold due to issues of higher priority on 4.8.0

@MiguelazoDS
Copy link
Member

MiguelazoDS commented Mar 1, 2024

Findings

Notes

The behavior also occurs with AIX (#19012), but since the package is an RPM the compression does not let us see the difference in size with the addition of libstdc++6.so

image
image

As mentioned in this comment, the library with pthread support is big and was avoided some developments ago.

#18980 (comment)
#16220 (comment)

HP-UX

Coming back to HP-UX, since as explained in the installation guide, we need just to decompress the content in the specified path.

https://documentation.wazuh.com/current/installation-guide/wazuh-agent/wazuh-agent-package-hpux.html

We can compress it with XZ to reduce its size.

image

The decompressor is available for HP-UX.

image

The compilation of the libraries we can see in 4.6.0 was introduced as part of the development #12745 (Add RSync and DBSync to FIM) overridden the previous fix in #7374

On the other hand, the libstdc++ library distribution was implemented as a fix for GCP machines with os-login enabled

#14018 (comment)
#14190

However the distribution of libraries for HP-UX is not related to the GCP issue but a compilation fix as part of the fim development
wazuh/wazuh-packages@943eef9

Proposal here wazuh/wazuh-packages#2864
If accepted, the documentation should be modified to reflect the change

https://documentation.wazuh.com/current/installation-guide/packages-list.html
https://documentation.wazuh.com/current/installation-guide/wazuh-agent/wazuh-agent-package-hpux.html

@sebasfalcone
Copy link
Member

Moved ETA -> Waiting for final review

@jnasselle
Copy link
Member Author

@MiguelazoDS ,

Friendly reminder: if anything release-related is changed, make sure to search it in the whole Wazuh organization

New issue https://github.com/wazuh/wazuh-jenkins/issues/6345

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task module/agent Issues related to the agent daemon platform/hp-ux qa_known Issues that are already known by the QA team type/question
Projects
No open projects
Status: Done
6 participants