Bug 18722
Summary: | sshd restarts fail when user doing restart is logged in by ssh | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | jonathan |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED ERRATA | QA Contact: | David Lawrence <dkl> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.0 | CC: | dr, jonathan, pekkas, rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-10-09 22:22:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
jonathan
2000-10-09 15:51:10 UTC
I think this is a serious problem. Changing Priority to "high". My workaround: Build a script... #!/bin/bash #/root/restart-sshd.sh sleep 1m #Sleep for 1 minute to allow time for user to log off. service sshd restart #now restart, no sshd processes should be running This was fixed, among other things, in errata OpenSSH 2.2.0p1-5. Also, from the initscripts point of view, I don't think there's much better way of checking whether a daemon is running. _Some_ sort of method should be in initscripts -- if some daemon needs special attention, it should probably be done there then. |