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

Mantis Bug Tracker noreply at opencsw.org
Tue Mar 5 09:47:03 CET 2013


The following issue has been SUBMITTED. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5054 
====================================================================== 
Reported By:                jh
Assigned To:                
====================================================================== 
Project:                    openssh
Issue ID:                   5054
Category:                   regular use
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-03-05 09:47 CET
Last Modified:              2013-03-05 09:47 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' />

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



More information about the bug-notifications mailing list