Bug #16740
closed
Deployment issues on Ubuntu 16 servers (Open SSL)
Added by Samuel Chesnel over 4 years ago.
Updated over 4 years ago.
Category:
Server components
Description
Hello,
I am currently deploying Rudder but after applying the SSH Key deployment technique on Ubuntu 16 servers.
In fact, due to some unknown factor, the openssl directory changes from "/usr/lib/ssl" to "/opt/rudder/openssl" which leads to various errors like the impossibility to restart the webserver / postfix etc.
This issue doesn't exist on Ubuntu 18 servers.
Is there a way around it ?
Thank you.
Hello, thanks for reporting.
Just to understand your problem: you used rudder technique 'SSH authorised keys' and I'm not sure I understand where the openssl directory changed from "/usr/lib/ssl" to "/opt/rudder/openssl" ?
- Target version changed from 6.0.3 to 6.0.4
Yes that was by deploying the default directive 'SSH authorised keys'. I added the SSH keys to be deployed and chose not to delete the existing ones.
I don't get by how mean it was done, but when I checked doing openssl version -d
I got the following output 'OPENSSLDIR: "/opt/rudder/ssl"' instead of 'OPENSSLDIR: "/usr/lib/ssl"'
Do you have a /etc/ld.so.conf.d/rudder.conf
file (or a /opt/rudder/lib
line in /etc/ld.so.conf
)?
If so it could explain the problem (it is probably a leftover from a previous Rudder version, it may happen when upgrade script failed, and is actually fixed in 6.0.3).
You can fix it by removing the configuration and running ldconfig
:
if [ -f /etc/ld.so.conf.d/rudder.conf ]; then
rm -f /etc/ld.so.conf.d/rudder.conf
type ldconfig > /dev/null 2>&1 && ldconfig
fi
if [ -e /etc/ld.so.conf ] && grep -q "/opt/rudder/lib" /etc/ld.so.conf; then
sed -i '/\/opt\/rudder\/lib/d' /etc/ld.so.conf
type ldconfig > /dev/null 2>&1 && ldconfig
fi
- Target version changed from 6.0.4 to 6.0.5
- Target version changed from 6.0.5 to 6.0.6
- Status changed from New to Rejected
Closing due to lack of information, please reopen if the problem still exists.
Also available in: Atom
PDF