You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EL 9 x86_64, specifically oracle but also tested on centos stream 9
Using cinc-workstation 24.8.1068
Steps To Reproduce
Steps to reproduce the behavior:
Attempt to converge a recipe in a cookbook that depends on postgresql that contains:
postgresql_install 'postgres' do
source 'os'
action %i(install init_server)
end
%w(127.0.0.1/32 ::1/128).each do |h|
postgresql_access "postgresql #{h} host access" do
type 'host'
database 'all'
user 'all'
address h
auth_method 'md5'
end
end
postgresql_service 'postgresql' do
action %i(enable start)
end
postgresql_user user do
unencrypted_password 'one2three'
end
Attempt to converge
See error when the pg gem attempts to build native extensions
π Expected behavior
The pg gem installs successfully.
β Additional context
I tracked it back to the openldap package in el9 building with MD2 support even though it isn't provided by libcrypto.so.3(OPENSSL_3.0.0) anymore and filed RHEL-59715 / MR26 but I guess I'm curious if anyone has any ideas for a workaround while waiting for errata? The pg gem will install in the system ruby but I assume that's due to some of the many, many patches they do to the openssl gem that their ruby comes with.
The text was updated successfully, but these errors were encountered:
ah, I didn't realize chef/cinc shipped its own libcrypto.so.3, which seems to be built without MD2, so this would be more of a chef bug I guess. I'll file a bug there also.
Excellent thanks for that. I was trying to figure out what was going on with it. I had a PR waiting to fix this (I think I have). But it those changes shouldn't be needed.
π£οΈ Foreword
Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.
π» Brief Description
When attempting to use the
postgresql_user
resource, which requires thepg
gem, the gem installation fails while building local extensions:This occurs whether using
repo
oros
as the installation source.π₯ Cookbook version
11.10.3
π©βπ³ Chef-Infra Version
18.5.0
π© Platform details
EL 9 x86_64, specifically oracle but also tested on centos stream 9
Using cinc-workstation 24.8.1068
Steps To Reproduce
Steps to reproduce the behavior:
postgresql
that contains:pg
gem attempts to build native extensionsπ Expected behavior
The
pg
gem installs successfully.β Additional context
I tracked it back to the
openldap
package in el9 building with MD2 support even though it isn't provided bylibcrypto.so.3(OPENSSL_3.0.0)
anymore and filed RHEL-59715 / MR26 but I guess I'm curious if anyone has any ideas for a workaround while waiting for errata? Thepg
gem will install in the system ruby but I assume that's due to some of the many, many patches they do to theopenssl
gem that their ruby comes with.The text was updated successfully, but these errors were encountered: