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

Add bash dependency to Wazuh agent RPM for AIX #2908

Conversation

lchico
Copy link
Member

@lchico lchico commented Apr 13, 2024

Related issue
#2878

Description

It was found that Wazuh agent RPM package for AIX has a runtime dependency on bash that shows the following error during package installation on a clean AIX 6.1 TL9 requested to SiteOx

# WAZUH_MANAGER="10.0.0.2" rpm -ivh wazuh-agent-4.7.3-1.aix.ppc.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:wazuh-agent-4.7.3-1              ################################# [100%]
/var/tmp/rpm-tmp.teEaab[40]: /var/ossec/tmp/src/init/register_configure_agent.sh:  not found

Logs example

Tests

# rpm -e --nodeps bash
# cd /opt/freeware/src/packages/RPMS/ppc/
# WAZUH_MANAGER="10.0.0.2" rpm -ivh wazuh-agent-4.9.0-1.aix6.1.ppc.rpm
error: failed dependencies:
        bash is needed by wazuh-agent-4.9.0-1
# rpm -Uvh --nodeps http://packages-dev.wazuh.com/deps/aix/bash-4.4-4.aix6.1.ppc.rpm
Retrieving http://packages-dev.wazuh.com/deps/aix/bash-4.4-4.aix6.1.ppc.rpm

# WAZUH_MANAGER="10.0.0.2" rpm -ivh wazuh-agent-4.9.0-1.aix6.1.ppc.rpm 
wazuh-agent                 ##################################################
# WAZUH_MANAGER="10.0.0.2" rpm -ivh wazuh-agent-4.9.0-1.aix6.1.ppc.rpm 
package wazuh-agent-4.9.0-1 is already installed

  • Build the package in any supported platform
    • AIX
  • Package installation
  • Package install/remove/install

@MarcelKemp MarcelKemp merged commit 73e5bdc into 4.9.0 Apr 17, 2024
4 checks passed
@MarcelKemp MarcelKemp deleted the bug/2878-wazuh-agent-rpm-package-for-aix-has-a-runtime-dependency-on-bash branch April 17, 2024 16:31
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.

Wazuh agent RPM package for AIX has a runtime dependency on bash
2 participants