-
-
Notifications
You must be signed in to change notification settings - Fork 758
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
Remote: OpenSSL version mismatch #514
Comments
Later, I've compiled the same version of Borg locally (0.29.0) (using |
The binary made with pyinstaller is expected to contain all libraries it needs, so it should not emit a openssl version mismatch. Strange is that you say that a change on the client fixed the error msg from the server, I can't make sense from that. |
Please also give the openssl version installed as linux dist package on the client. |
ping. see last comment. it's important as the version on the server somehow does not make sense with the error msg. |
Ah, I think I can now make sense from the error message: when doing remote backups, borg forks ssh and establishes a connection to the remote server's ssh and executes "borg serve" there (similar like rsync works via ssh). The error msg comes from the client's ssh binary (/usr/bin/ssh) and is emitted on stderr. "built against" is the version /usr/bin/ssh was built against. So the question now is: how can we avoid that ssh binary grabs the wrong openssl library? |
hmm, do we need to unset LD_LIBRARY_PATH when forking ssh?
Without pyinstaller, this is usually not set at all. |
unset LD_LIBRARY_PATH before invoking ssh, hopefully fixes #514
I'm using the binaries from the GitHub release page on the repository server:
sha256: 5d8362f545aedf71be1893bd0fab30ecd79d40c89671323c804376b53f8886af
https://github.com/borgbackup/borg/releases/download/0.29.0/borg-linux64
Note: borg-linux64 binary built with openssl 1.0.1e (debian wheezy)
Initially, on the client, the same binary was used.
But when running Borg I get:
Does that mean I need to recompile borg? If so, where, on the repository-side or locally?
On the remote repo server, there is openssl 1.0.2d-0ubuntu1.2 installed.
Note: "Remote:" does not always mean that the message to the right of it really came from the remote system. It is just stuff emitted on stderr on our side of the ssh tunnel. It can come from remote stderr, go through the tunnel and appear on our stderr. But it could be also emitted by our ssh client on stderr.
The text was updated successfully, but these errors were encountered: