Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440568

Summary: net-misc/openssh-5.9_p1-r4: some elog messages should only be shown when upgrading from an old enough package.
Product: Gentoo Linux Reporter: poletti.marco
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

Description poletti.marco 2012-10-31 11:29:30 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package net-misc/openssh-5.9_p1-r4, the following elog messages are displayed:

 * Starting with openssh-5.8p1, the server will default to a newer key
 * algorithm (ECDSA).  You are encouraged to manually update your stored
 * keys list as servers update theirs.  See ssh-keyscan(1) for more info.
 * Remember to merge your config files in /etc/ssh/ and then
 * reload sshd: '/etc/init.d/sshd reload'.

Such messages should only be displayed when the package is upgraded from an old enough package (and possibly for new installs).
These situations can be checked in the ebuild as follows:

if has_version '<net-misc/openssh-1.0'; then

Or, if the message should also be displayed for new installs:

if !has_version 'net-misc/openssh' || has_version '<net-misc/openssh-1.0'; then

Remember to replace 1.0 with the right version number.

See the tracker bug 440214 for more details.
Comment 1 SpanKY gentoo-dev 2012-11-19 20:43:41 UTC
should be all set now in the tree; thanks for the report!

Commit message: Only show ecdsa key message when upgrading from older versions, and drop USE=pam warning wrt valid shells as people should know this
http://sources.gentoo.org/net-misc/openssh/openssh-6.1_p1.ebuild?r1=1.7&r2=1.8