[bug-notifications] [openssh 0005054]: smf service of cswopenssh kills all connections on disbale

Mantis Bug Tracker noreply at opencsw.org
Mon Mar 11 17:27:18 CET 2013


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5054 
====================================================================== 
Reported By:                jh
Assigned To:                yann
====================================================================== 
Project:                    openssh
Issue ID:                   5054
Category:                   regular use
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2013-03-05 09:47 CET
Last Modified:              2013-03-11 17:27 CET
====================================================================== 
Summary:                    smf service of cswopenssh kills all connections on
disbale
Description: 
Post from IRC:
[ 04:01:18 ]   [ bwilson_ ] hmm, even with the csw openssh svc
scripts/manifest, a `svcadm disable openssh`, kills all currently
established processes.

Looking at
http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/openssh/trunk/files/sshd.smf_wrapper
and
http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/openssh/trunk/files/cswopenssh.xml
this seems to be true. As a stop is just a :kill which probably kills all
connections.
The "old" init script is more advanced:
http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/openssh/trunk/files/cswopenssh

even though looking at the solaris ssh it does the same thing.
So maybe I'm wrong here:
       <exec_method
                type='method'
                name='stop'
                exec=':kill'
                timeout_seconds='60' />

====================================================================== 

---------------------------------------------------------------------- 
 (0010283) jh (developer) - 2013-03-11 17:27
 https://www.opencsw.org/mantis/view.php?id=5054#c10283 
---------------------------------------------------------------------- 
Hi,
I can't :) I just picked it up on irc and look at the code for a few
seconds :)
And thought maybe this is a problem. But since you can't reproduce it I
will close the bug. Since the guy is gone on irc so I can't reach him



More information about the bug-notifications mailing list