Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406169 - net-misc/openssh pipe breaks on system shutdown
Summary: net-misc/openssh pipe breaks on system shutdown
Status: RESOLVED DUPLICATE of bug 259183
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-28 15:54 UTC by Richard Yao (RETIRED)
Modified: 2012-03-01 03:59 UTC (History)
2 users (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 Richard Yao (RETIRED) gentoo-dev 2012-02-28 15:54:16 UTC
This bug is at least a few years old. Whenever a Gentoo system on which a user is connected via SSH shuts down, the connection freezes and remains that way until either the pipe breaks or the user kills their ssh client.

The sshd init scripts of FreeBSD and Ubuntu Linux both close the connection upon system shutdown. It would be nice if the Gentoo sshd init script did the same.
Comment 1 Mike Gilbert gentoo-dev 2012-02-28 19:11:46 UTC
Do they do this in a way that does not terminate SSH sessions when you restart the service?

I like being able to upgrade openssh remotely.
Comment 2 Richard Yao (RETIRED) gentoo-dev 2012-02-29 15:51:28 UTC
(In reply to comment #1)
> Do they do this in a way that does not terminate SSH sessions when you
> restart the service?
> 
> I like being able to upgrade openssh remotely.

You can stop the ssh daemon without killing your existing connections on Ubuntu. It has been a while since I have used FreeBSD and I do not have a VM on hand, so I cannot double check, but I assume that FreeBSD is the same.
Comment 3 SpanKY gentoo-dev 2012-03-01 03:59:37 UTC

*** This bug has been marked as a duplicate of bug 259183 ***