From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4599 invoked by alias); 3 Nov 2016 13:01:03 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 4579 invoked by uid 89); 3 Nov 2016 13:01:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*MI:sk:581AD3D, H*RU:!192.168.1.100!, H*r:ip*192.168.1.100, Hx-spam-relays-external:64.59.134.9 X-HELO: smtp-out-no.shaw.ca Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 03 Nov 2016 13:01:00 +0000 Received: from [192.168.1.100] ([174.0.238.184]) by shaw.ca with SMTP id 2HdZcd3qZc4x72Hdac7ziQ; Thu, 03 Nov 2016 07:00:58 -0600 X-Authority-Analysis: v=2.2 cv=WohbCZXv c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=rvpApoki470XKTPZU5cA:9 a=QEXdDO2ut3YA:10 Subject: Re: Windows 10 updates causes fork retry no child processes References: <581A0AA5.5030107@verizon.net> <0d98a082-e270-659f-5b48-b9dfd01fc85f@SystematicSw.ab.ca> <581AD3D3.2020908@verizon.net> To: cygwin@cygwin.com Reply-To: Brian.Inglis@SystematicSw.ab.ca From: Brian Inglis Message-ID: <9619f42f-e8c8-c48c-fd6d-48e8bf33789d@SystematicSw.ab.ca> Date: Thu, 03 Nov 2016 13:01:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <581AD3D3.2020908@verizon.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfEcNljSuWyaXleudIdyFS4b3jMX+22q0wOq7Z72nA+4FkfEY5OyP13Hh2QfYyAkmyyArF7y5ZAgJopvB1TUFqQJz6B43uuOpmzhYiCnh0q1D7MB3OV1p XsuHKCkquisFak243kvzWFrWcTIHO1FUKfo6q5Iu8lBEn8Zcy42FZYDgCrZWfDBwIoT8b/s1u3kp0Q== X-IsSubscribed: yes X-SW-Source: 2016-11/txt/msg00021.txt.bz2 On 2016-11-03 00:06, Gerry Reno wrote: > On 11/03/2016 01:06 AM, Brian Inglis wrote: >> On 2016-11-02 09:47, Gerry Reno wrote: >>> Is there some automated way I can stop Windows 10 updates from >>> continuously causing these fork retry no child process issues after >>> every damn update? >>> We use an application based on Cygwin (2.6.0) on our clients that >>> gets wrecked everytime a Windows 10 update occurs. >>> The users have no idea about Cygwin because it's hidden from them so >>> I cannot ask them to do anything with regard to Cygwin. >>> Any ideas for an automated way to stop these errors would be >>> appreciated. >> Could be caused by changed addresses used by Windows dlls, especially >> if you are using the limited address space of Cygwin32. >> After each update, have you tried shutting down all Cygwin processes >> and either running setup unattended, if you sometimes do that, or a >> full rebase from a cmd script? >> For example: >> c:\cygwin64\bin\dash /bin/rebase-trigger fullrebase >> c:\cygwin64\bin\ash /bin/rebaseall >> You can check if an update has been performed by caching and comparing >> the timestamp and/or name of the last update log saved: >> $ ls -lt --time-style=long-iso \ >> /proc/cygdrive/c/Windows/Logs/WindowsUpdate/WindowsUpdate.20??????.??????.???.?.etl \ >> | head -n 1 >> e.g. >> -rwxr-x---+ 1 SYSTEM SYSTEM 77824 2016-11-02 22:27 >> /proc/cygdrive/c/Windows/Logs/WindowsUpdate/WindowsUpdate.20161102.214528.076.1.etl >> and checking whether a restart has been been performed since to apply >> the update by comparing against the output of: >> $ date -d "now - `cut -d' ' -f1 /proc/uptime` seconds" +'%F %R' >> e.g. >> 2016-10-22 19:44 >> in this case indicating Windows has not been (auto)restarted since >> the update. >> If you don't use mintty, you could do this in an ash or dash script >> at Windows login, which does the rebase-trigger then exec rebaseall, >> so no other process is running using Cygwin. >> If you use Cygwin mintty you would have to do the equivalent from a >> cmd or PowerShell script before launching any Cygwin process. >> If your client systems run Windows Enterprise or Education or use >> SCCM instead of Windows Update, details may need to be changed. > The users cannot do anything with Cygwin. > And the client machines are out in the field and not even connected > to a network. > What is needed is for Cygwin itself to detect and manage the > situation. Myself and others are not seeing these specific problems every update. You may want to try following the problem reporting guidelines for help. You need to see if you can diagnose and fix these problems in the clients' environment by getting access and trying disabling or deinstalling BLODAs or running rebaseall. If you can do that, you can try patching setup, or writing scripts, to provide a fix. Finally, you can try submitting those patches upstream to Cygwin for inclusion in setup, or as a separate package performing the fix. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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