Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572998 - net-misc/openssh: disable OpenSSL version downgrade check
Summary: net-misc/openssh: disable OpenSSL version downgrade check
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-26 15:14 UTC by Thomas Deutschmann (RETIRED)
Modified: 2016-01-26 17:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2016-01-26 15:14:56 UTC
Today I downgraded =dev-libs/openssl-1.0.2e to =dev-libs/openssl-1.0.1p for various reasons.

After downgrading I also verified with "revdep-rebuild -ipv" (and revdep-rebuild.sh) that nothing was broken.

Now I rebooted the system and sshd failed to start:

> OpenSSL version mismatch. Built against 1000205f, you have 1000110f
> * ERROR: sshd failed to start


Can we please disable OpenSSH's OpenSSL version check? The SONAME check should be enough. If not we should add OpenSSL's version to dev-libs/openssl subslot so that net-misc/openssh can bind to that subslot. On downgrades this would would trigger a rebuild... so you have at least *one* chance to detect that before you lose SSH access.

Debian is using http://anonscm.debian.org/cgit/pkg-ssh/openssh.git/tree/debian/patches/no-openssl-version-status.patch However this patch looks like only enabling upgrades.
Comment 1 SpanKY gentoo-dev 2016-01-26 17:45:33 UTC
SONAMEs guarantee forward compatibility, not backwards.  i don't want to research every version bump to make sure that downgrades are safe.
Comment 2 SpanKY gentoo-dev 2016-01-26 17:46:55 UTC
(In reply to SpanKY from comment #1)

and by forward compatibility, i mean you can use newer libs built against older ones.  what is normally referred to backwards compatibility.