delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/24/09:17:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=BAYES_40,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :x-gm-message-state; bh=GIYo9x4/qSqoOzxF2AZ7G5WZOjxk3XMUPJ/+TXLkvZA=; b=pVG7heF/tNEfLlqI4dj/lwgRXCBbk4mQTZhfUgQENz+iITFHYRjpCSqQUY0QBWizFb uKosw6CpREiDGQAzJH5vKt/M4cvvrle9G9P5w2gnAbSO1mQ/FugfC2f0MoAxBzyiFoNj 64fqCtTxLw+iZuQK+wSxl0f3C3e63Yl+vdoscEBfecq7WXHMg+/RzuNSONk1pzCmeJID MhLAW3by/3q5pprVUhNenTSvEfL629wOdh8CSTDI8UHpIWXYJvXV4kl2EJDv2lBv7NNu BLdITp3iKIns0npCucBHUJ82bqte2jpB0zhB3Rk//u6EEpnrJ6FfhPKe0aTM2EN165Ml KhRw==
MIME-Version: 1.0
From: Stefan Rusek <stefan AT cheezburger DOT com>
Date: Wed, 24 Oct 2012 09:16:29 -0400
Message-ID: <CAPiO4ScXcpRZ0MAYAjtDj70g+vkr4=tk8+B39HWZBykpyX-zQA@mail.gmail.com>
Subject: Cygwin 1.7.17 breaks unattended setup
To: cygwin <cygwin AT cygwin DOT com>
X-Gm-Message-State: ALoCoQkgJyllsAL5L/sw8zaReFDS2MC4dxA3kKdEjaPU684fY8lFAdnmYAtv4a7mAUWCLJMwbL2q
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I have a script automates installing and setting up sshd using cygwin.
It first downloads the latest setup.exe then runs the following:

> setup.exe  -q -s ftp://mirror.cs.vt.edu/pub/cygwin/cygwin/ --no-verify -R c:\cygwin
> c:\cygwin\bin\bash --login -c "/bin/mkpasswd | sed 's/Administrator:unused:500:513/root:unused:0:544/g' | sed 's/:513:/:545:/' > /etc/passwd"
> c:\cygwin\bin\bash --login -c "/bin/mkgroup -l > /etc/group"
> setup.exe  -q -s ftp://mirror.cs.vt.edu/pub/cygwin/cygwin/ --no-verify -R c:\cygwin -P cygrunsrv
> setup.exe  -q -s ftp://mirror.cs.vt.edu/pub/cygwin/cygwin/ --no-verify -R c:\cygwin -P openssh
> c:\cygwin\bin\bash.exe --login -c "/bin/ssh-host-config -y --pwd ***"
> sc.exe failure sshd reset=0 actions=restart/0/restart/0/restart/0
> net start sshd

This was working great last week, but on the 20th it stopped working.

It fails on the line installing cygrunsrv, if I run setup.exe in
interactive mode, I can install cygrunsrv just fine. Then the script
fails to install openssh in the same way. Again a manual install works
fine. I've tried different mirrors to no avail.

The contents of /var/log/setup.log.full https://gist.github.com/3945977

--Stefan Rusek
stefan AT cheezburger DOT com

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019