delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=1.8 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
Message-id: | <50886CC8.9050704@cygwin.com> |
Date: | Wed, 24 Oct 2012 18:33:44 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-to: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 |
MIME-version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Cygwin 1.7.17 breaks unattended setup |
References: | <CAPiO4ScXcpRZ0MAYAjtDj70g+vkr4=tk8+B39HWZBykpyX-zQA AT mail DOT gmail DOT com> |
In-reply-to: | <CAPiO4ScXcpRZ0MAYAjtDj70g+vkr4=tk8+B39HWZBykpyX-zQA@mail.gmail.com> |
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 |
On 10/24/2012 9:16 AM, Stefan Rusek wrote: > 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 Your problem is not with Cygwin 1.7.17. That package wouldn't come into play until the postinstall scripts. Your log shows you don't get that far. And if it works interactively, then the problem is with 'setup.exe' itself. I can reproduce the problem but don't know why it's happening. There hasn't been a new version of 'setup.exe' in quite a while so I can't explain why you would just start seeing the problem within the last week. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |