Project

General

Profile

Actions

Bug #16740

closed

Deployment issues on Ubuntu 16 servers (Open SSL)

Added by Samuel Chesnel almost 5 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Server components
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

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.

Actions #1

Updated by François ARMAND almost 5 years ago

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" ?

Actions #2

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 6.0.3 to 6.0.4
Actions #3

Updated by Samuel Chesnel almost 5 years ago

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"'

Actions #4

Updated by Alexis Mousset almost 5 years ago

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
Actions #5

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 6.0.4 to 6.0.5
Actions #6

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.5 to 6.0.6
Actions #7

Updated by Alexis Mousset over 4 years ago

  • Status changed from New to Rejected

Closing due to lack of information, please reopen if the problem still exists.

Actions

Also available in: Atom PDF