Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440568 - net-misc/openssh-5.9_p1-r4: some elog messages should only be shown when upgrading from an old enough package.
Summary: net-misc/openssh-5.9_p1-r4: some elog messages should only be shown when upgr...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Blocks: first-time-messages
  Show dependency tree
Reported: 2012-10-31 11:29 UTC by poletti.marco
Modified: 2012-11-19 20:43 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
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