Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69771 - emerge sshd without sshd restart locks out remote users
Summary: emerge sshd without sshd restart locks out remote users
Status: RESOLVED DUPLICATE of bug 4780
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High critical
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 75508 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-01 14:16 UTC by Steven Wagner
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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 Steven Wagner 2004-11-01 14:16:35 UTC
I did an emerge -u world in the background on my server using screen. It must have installed a new sshd, though it is possible this could be caused by baselayout. Since the new files were installed, I did not yet have a chance to run etc-update or restart any daemons.  I can't log back into the server because all ssh connections get refused with the message "Connection close by x.x.x.x"  I beleive a /etc/init.d/sshd restart is required, and I would recommend that the service restart be automatically done by the ebuild so that remote server admins do not get locked out of their remote servers in the future.  This has happened to me a couple of times.

Reproducible: Always
Steps to Reproduce:
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-11-01 14:43:18 UTC

*** This bug has been marked as a duplicate of 4780 ***
Comment 2 Steven Wagner 2004-11-02 14:01:01 UTC
I do not see that this is a clear duplicate because the earlier bug mentions nothing about the fact that the running sshd process becomes completely useless after the new sshd is emerged, and that if sshd is not restarted after the latest sshd is emerged that ssh access to the machine will be completely disabled.  The earlier bug only talks about restarting services as a courtesy, and not anything having to do with admins losing remote access to their machines.
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-12-13 10:31:57 UTC
a) it's just a fact that the service has to be restarted after upgrading.
this is clear a dupe.
see any other distro box

b) not really a gentoo bug

*** This bug has been marked as a duplicate of 4780 ***
Comment 4 SpanKY gentoo-dev 2004-12-24 00:07:57 UTC
*** Bug 75508 has been marked as a duplicate of this bug. ***