[ 
https://issues.apache.org/jira/browse/VCL-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17105482#comment-17105482
 ] 

ASF subversion and git services commented on VCL-1127:
------------------------------------------------------

Commit b3ef160148b8cb8c50c67dbdd7c3abc3c15d4fb8 in vcl's branch 
refs/heads/develop from Josh Thompson
[ https://gitbox.apache.org/repos/asf?p=vcl.git;h=b3ef160 ]

VCL-1127 - Make changes to handle Cygwin's change of sshd service name to 
cygsshd

Windows.pm:
-modified pre_capture: attempt calling set_service_startup_mode for cygsshd if 
call for sshd fails
-modified post_load: attempt calling set_service_startup_mode for cygsshd if 
call for sshd fails
-modified set_password: set @services array to include both sshd and cygsshd, 
use variable to see if setting one of them was successful, give warning message 
if neither one worked
-modified reboot: attempt calling set_service_startup_mode for cygsshd if call 
for sshd fails

8.pm: modified pre_capture: attempt calling set_service_startup_mode for 
cygsshd if call for sshd fails

cygwin-sshd-config.sh:
-attempt to parse sshd service name from "sc queryex type=service state=all" 
into a variable ($sshdservice) and default to sshd if cannot
-changed references to "sshd" service name to $sshdservice
-added call to delete registry key based on $sshdservice, left hard coded 
registry delete for sshd to clean up old data if cygwin gets upgraded on an 
image
-added $sshdservice to echoed statement "Starting Cygwin SSHD service"

gen-node-key.sh: added code after case block where SSHSTART and SSHSTOP are set 
that checks for the name of the sshd service and sets SSHSTART and SSHSTOP to 
have cygsshd if needed

update_cygwin.cmd: added code to set %sshdservice% variable from service name 
and use it when manging sshd service


> Make changes to handle Cygwin's change of sshd service name to cygsshd
> ----------------------------------------------------------------------
>
>                 Key: VCL-1127
>                 URL: https://issues.apache.org/jira/browse/VCL-1127
>             Project: VCL
>          Issue Type: Improvement
>          Components: vcld (backend)
>            Reporter: Josh Thompson
>            Priority: Major
>             Fix For: 2.6
>
>
> Due to Microsoft making openssh available on Windows with a service name of 
> sshd, the Cygwin project had to rename their service name to cygsshd. There 
> are a number of places in the vcld code that need to be updated to handle the 
> name change.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to