← Back to team overview

aims team mailing list archive

Re: [Bug 1390012] Re: "/etc/init.d/ssh stop" does not stop ssh server processes

 

Server and desktop 14.04:

0 root@kontiki:~#ps auxw|grep sshd:
root      7361  0.0  0.1 111844  4072 ?        Ss   Nov03   0:00 sshd: jan
[priv]
jan       7537  0.0  0.0 111844  2076 ?        S    Nov03   0:00 sshd:
jan@pts/9
root     32177  0.0  0.0   8864   652 pts/9    S+   18:37   0:00 grep
--color=auto sshd:
0 root@kontiki:~#/etc/init.d/ssh restart
1 root@kontiki:~#ps auxw|grep sshd:
root      7361  0.0  0.1 111844  4072 ?        Ss   Nov03   0:00 sshd: jan
[priv]
jan       7537  0.0  0.0 111844  2076 ?        S    Nov03   0:00 sshd:
jan@pts/9
root     32186  0.0  0.0   8864   652 pts/9    S+   18:37   0:00 grep
--color=auto sshd:
0 root@kontiki:~#date
Thu Nov  6 18:37:17 SAST 2014
0 root@kontiki:~#/etc/init.d/ssh stop
0 root@kontiki:~#ps axuw|grep sshd
root      1513  0.0  0.0  61364  2796 ?        Ss   Nov02   0:00
/usr/sbin/sshd -D
root      7361  0.0  0.1 111844  4072 ?        Ss   Nov03   0:00 sshd: jan
[priv]
jan       7537  0.0  0.0 111844  2076 ?        S    Nov03   0:00 sshd:
jan@pts/9
root     32198  0.0  0.0   8868   652 pts/9    R+   18:37   0:00 grep
--color=auto sshd
0 root@kontiki:~#lsb_release -d
Description:    Ubuntu 14.04.1 LTS
0 root@kontiki:~#


On 6 November 2014 18:36, Jan Groenewald <jan@xxxxxxxxxx> wrote:

> 14.04 server installs.
>
>
> On 6 November 2014 18:27, Brian Murray <brian@xxxxxxxxxx> wrote:
>
>> What release did you notice this on? It worked fine for me on Vivid.
>>
>> [  8:26AM ]  [ bdmurray@impulse:~ ]
>>  $ sudo /etc/init.d/ssh stop
>> ssh stop/waiting
>> [  8:27AM ]  [ bdmurray@impulse:~ ]
>>  $ ssh localhost
>> ssh: connect to host localhost port 22: Connection refused
>>
>>
>> ** Changed in: openssh (Ubuntu)
>>        Status: Confirmed => Incomplete
>>
>> --
>> You received this bug notification because you are a member of AIMS,
>> which is subscribed to the bug report.
>> https://bugs.launchpad.net/bugs/1390012
>>
>> Title:
>>   "/etc/init.d/ssh stop" does not stop ssh server processes
>>
>> Status in “openssh” package in Ubuntu:
>>   Incomplete
>>
>> Bug description:
>>   Running "/etc/init.d/ssh stop" does not result in ssh server being
>>   stopped. Running "service ssh stop" works fine.
>>
>>   As a result, running "/etc/init.d/ssh restart" does not restart sshd
>>   so new settings from sshd_config won't be loaded.
>>
>>   Using "service ssh restart" works fine, but ideally using the init
>>   script should still work as long as it's still there.
>>
>> To manage notifications about this bug go to:
>>
>> https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1390012/+subscriptions
>>
>> --
>> Mailing list: https://launchpad.net/~aims
>> Post to     : aims@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~aims
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
>
> --
>   .~.
>   /V\     Jan Groenewald
>  /( )\    www.aims.ac.za
>  ^^-^^
>


-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^

-- 
You received this bug notification because you are a member of AIMS,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1390012

Title:
  "/etc/init.d/ssh stop" does not stop ssh server processes on 14.04

Status in “openssh” package in Ubuntu:
  Confirmed

Bug description:
  Running "/etc/init.d/ssh stop" does not result in ssh server being
  stopped. Running "service ssh stop" works fine.

  As a result, running "/etc/init.d/ssh restart" does not restart sshd
  so new settings from sshd_config won't be loaded.

  Using "service ssh restart" works fine, but ideally using the init
  script should still work as long as it's still there.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1390012/+subscriptions


Follow ups

References