Hello guys.

Requesting a sponsor for bug # 6365813
My contributer's agreement is OS0144

Bug Details:
ssh corrects confusion with more confusion
network/ssh's refresh method is "/lib/svc/method/sshd restart", which seems
uncouth, since refresh methods should not stop the daemon.  But, in
fact, /lib/svc/method/sshd restart just runs
"/usr/bin/kill -HUP `/usr/bin/cat $PIDFILE`", which doesn't stop the daemon
at all.  The argument should be changed to "refresh".


changes in the file usr/src/cmd/ssh/etc/ssh.xml
The argument to /lib/svc/method/sshd should be refresh instead of restart

Patch:

--- ssh.xml.orig        Thu Dec 13 14:38:32 2007
+++ ssh.xml     Thu Dec 13 14:38:59 2007
@@ -117,7 +117,7 @@
        <exec_method
                type='method'
                name='refresh'
-               exec='/lib/svc/method/sshd restart'
+               exec='/lib/svc/method/sshd refresh'
                timeout_seconds='60' />

        <property_group name='startd'



---
Regards
Ashwin Bhat K S
3 year information technology
NATIONAL INSTITUTE OF TECHNOLOGY KARNATAKA Surathkal
Sun campus ambassador
99644 98351
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diffssh
Type: application/octet-stream
Size: 287 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/request-sponsor/attachments/20071213/a213ef90/attachment.obj>

Reply via email to