The following issue requires your FEEDBACK. ====================================================================== 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:23 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' /> ====================================================================== ---------------------------------------------------------------------- (0010282) yann (manager) - 2013-03-11 17:23 https://www.opencsw.org/mantis/view.php?id=5054#c10282 ---------------------------------------------------------------------- Hi jh, I don't reproduce your problem. openssh is compiled with the "--with-solaris-contracts" option which should avoid the behavior you are describing when the master daemon is killed by smf. I tested with the version available in testing and unstable. Can you give me more information about you reproduce this problem and the versions of Solaris / Openssh you are using ? Thanks in advance. Yann _______________________________________________ bug-notifications mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/bug-notifications
