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

adding this lib as a safe dependency to solve the error on an aix build #1105

Conversation

sean-simmons-progress
Copy link
Contributor

Description

The error we are getting on our build AIX machines:

<html>
<body>
<!--StartFragment-->

--> /opt/chef/embedded/lib/libssl.so.1.0.0
--
  |  
  | [HealthCheck] E \| 2023-02-16T18:34:45-06:00 \| The following binaries have unsafe or unmet dependencies:
  |  
  | [HealthCheck] E \| 2023-02-16T18:34:45-06:00 \| The following libraries cannot be guaranteed to be on target systems:
  | --> /usr/lib/libcrypto.so
  |  
  | [HealthCheck] E \| 2023-02-16T18:34:45-06:00 \| The precise failures were:
  | --> /opt/chef/embedded/lib/engines/lib4758cca.so
  | DEPENDS ON: /usr/lib/libcrypto.so
  | COUNT: 1
  | PROVIDED BY: /usr/lib/libcrypto.so
  | FAILED BECAUSE: Unsafe dependency
  | --> /opt/chef/embedded/lib/engines/libaep.so
  | DEPENDS ON: /usr/lib/libcrypto.so
  | COUNT: 1
  | PROVIDED BY: /usr/lib/libcrypto.so
  | FAILED BECAUSE: Unsafe dependency
  | --> /opt/chef/embedded/lib/engines/libatalla.so
  | DEPENDS ON: /usr/lib/libcrypto.so
  | COUNT: 1
  | PROVIDED BY: /usr/lib/libcrypto.so
  | FAILED BECAUSE: Unsafe dependency
  | --> /opt/chef/embedded/lib/engines/libcapi.so
  | DEPENDS ON: /usr/lib/libcrypto.so
  | COUNT: 1
  | PROVIDED BY: /usr/lib/libcrypto.so
  | FAILED BECAUSE: Unsafe dependency
  | --> /opt/chef/embedded/lib/engines/libchil.so
  | DEPENDS ON: /usr/lib/libcrypto.so
  | COUNT: 1
  | PROVIDED BY: /usr/lib/libcrypto.so
  | FAILED BECAUSE: Unsafe dependency
  | --> /opt/chef/embedded/lib/engines/libcswift.so
  | DEPENDS ON: /usr/lib/libcrypto.so
  | COUNT: 1
  | PROVIDED BY: /usr/lib/libcrypto.so
  | FAILED BECAUSE: Unsafe dependency
  | --> /opt/chef/embedded/lib/engines/libgmp.so
  | DEPENDS ON: /usr/lib/libcrypto.so
  | COUNT: 1
  | PROVIDED BY: /usr/lib/libcrypto.so
  | FAILED BECAUSE: Unsafe dependency
  | --> /opt/chef/embedded/lib/engines/libgost.so
  | DEPENDS ON: /usr/lib/libcrypto.so
  | COUNT: 1
  | PROVIDED BY: /usr/lib/libcrypto.so
  | FAILED BECAUSE: Unsafe dependency
  | --> /opt/chef/embedded/lib/engines/libnuron.so
  | DEPENDS ON: /usr/lib/libcrypto.so
  | COUNT: 1
  | PROVIDED BY: /usr/lib/libcrypto.so
  | FAILED BECAUSE: Unsafe dependency
  | --> /opt/chef/embedded/lib/engines/libpadlock.so
  | DEPENDS ON: /usr/lib/libcrypto.so
  | COUNT: 1
  | PROVIDED BY: /usr/lib/libcrypto.so
  | FAILED BECAUSE: Unsafe dependency
  | --> /opt/chef/embedded/lib/engines/libsureware.so
  | DEPENDS ON: /usr/lib/libcrypto.so
  | COUNT: 1
  | PROVIDED BY: /usr/lib/libcrypto.so
  | FAILED BECAUSE: Unsafe dependency
  | --> /opt/chef/embedded/lib/engines/libubsec.so
  | DEPENDS ON: /usr/lib/libcrypto.so
  | COUNT: 1
  | PROVIDED BY: /usr/lib/libcrypto.so
  | FAILED BECAUSE: Unsafe dependency
  | --> /opt/chef/embedded/lib/libssl.so.1.0.0
  | DEPENDS ON: /usr/lib/libcrypto.so
  | COUNT: 1
  | PROVIDED BY: /usr/lib/libcrypto.so
  | FAILED BECAUSE: Unsafe dependency
  |  
  | [HealthCheck] I \| 2023-02-16T18:34:45-06:00 \| Health check time: 22.9879s

<!--EndFragment-->
</body>
</html>

This should address the error and produce a valid build.


Maintainers

Please ensure that you check for:

  • If this change impacts git cache validity, it bumps the git cache
    serial number
  • If this change impacts compatibility with omnibus-software, the
    corresponding change is reviewed and there is a release plan
  • If this change impacts compatibility with the omnibus cookbook, the
    corresponding change is reviewed and there is a release plan

Signed-off-by: Sean Simmons <ssimmons@progress.com>
Copy link
Contributor

@tpowell-progress tpowell-progress left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

escape the period to match explicitly instead . regex wildcard

lib/omnibus/whitelist.rb Outdated Show resolved Hide resolved
Signed-off-by: Sean Simmons <ssimmons@progress.com>
@sonarcloud
Copy link

sonarcloud bot commented Feb 17, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@jesseprieur jesseprieur merged commit d24dd34 into main Feb 17, 2023
@jesseprieur jesseprieur deleted the sean-simmons-progress/CHEF-769-add-libcrypto-a-into-aix-allowed-binaries branch February 17, 2023 20:57
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.

None yet

3 participants