"/etc/init.d/ssh stop" doesn't stop sshd

Bug #634388 reported by Jesse Michael
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Running "/etc/init.d/ssh stop" gives the following message, but doesn't successfully stop the sshd daemon from running--

jesse@cthulhu:~$ sudo /etc/init.d/ssh stop
 * Stopping OpenBSD Secure Shell server sshd
   ...done.
jesse@cthulhu:~$

I believe this is because sshd was converted over to upstart, but the init script hasn't been fully cleaned up.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: openssh-server 1:5.3p1-3ubuntu4
ProcVersionSignature: Ubuntu 2.6.32-24.42-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Thu Sep 9 12:33:34 2010
InstallationMedia: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386 (20091028.4)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: openssh

Revision history for this message
Jesse Michael (jesse.michael) wrote :
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi Jesse, thanks for taking the time to report this as a bug.

Agreed, this is caused by the init script remaining. It has been kept there for running chroots, and as such, should probably be renamed or patched to print a message so that it is clear that it is for chroots and will not work most of the time. There may be other reasons for it not being renamed though.

Marking Confirmed.

Setting Importance to Low, as this will only affect users running the script directly, if users use 'service ssh stop' it should use the upstart job.

Changed in openssh (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.