X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=hhaKhmi9xWTe/5g5 YNkKySfp6pkrNnZMm2zoYn/tl6hRuckQ/0wk3zso/Y97liPCuCKswC3Dt09+qHHy nIXrrL1vJy82ylHwDktkxWUjdSl+FX80HEnudNy2EnfAVtpN/o71dxHS5Artgn0h j+Fief7De4XNAu52QOIXFJuuyfI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=YSB26GkPfurdZ7YFsY5R/d gahQg=; b=fwVhwUlOggOdcqegc1BCZ0+aoFtS7IMWVyUIDETj8CVog1poBFFTJO +u97QWUgI/+1bnUUP30YMBUWiWqEsg3v+QDByJjUkZqcO6VzbCGXUzJNj968Z0wb n23YPIHHSkxM0im9xkJJnQxBg6lX/6eMifs2rOJwLT3izmFZ/9M2M= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=pki, gif, fear, explorer X-HELO: mail14.tpgi.com.au X-TPG-Junk-Status: Message not scanned X-TPG-Abuse: host=220-245-251-204.static.tpgi.com.au; ip=220.245.251.204; date=Tue, 10 Oct 2017 18:21:24 +1100 Subject: Re: setup stuck on cygwin.ldif To: cygwin AT cygwin DOT com References: From: Shaddy Baddah Message-ID: <6317b102-2540-edf6-d6f0-6c52d341dee9@shaddybaddah.name> Date: Tue, 10 Oct 2017 18:21:21 +1100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Hi, On 10/10/17 17:59, Shaddy Baddah wrote: > Hi, > > On 09/10/17 04:16, Brian Inglis wrote: >> On 2017-10-08 07:46, Shaddy Baddah wrote: >>> I have a weird problem happening... so I have tried to update a 64-bit >>> Cygwin installation on Windows 10 Pro. I closed all Cygwin processes, >>> and a ps -ef is showing only the ps process itself. >>> In anycase, during the install I was prompted that the file >>> /usr/share/cygwin/cygwin.ldif was busy. >>> I ran Process Explorer and searched for what might have the file open. >>> I couldn't find anything. I clicked retry a number of times, but it >>> wouldn't yield. Finally, I clicked continue. And now I'm stuck in this >>> endless loop on the file: >>> https://imgur.com/Nj35Y3T >>> It's a animated gif, so you may have to select play in your browser. Not >>> much to see, except the constant attempt to install the cygwin.ldif >>> file. >>> Any ideas here? I guess I'll have to kill setup... but I fear that it >>> will play havoc with my install :-( >> >> Have you tried Windows cmd OPENFILES /Query ? >> > > So I tried to "Reinstall" all, and now the problem has shifted. Every > attempt to reinstall stops with "Unable to extract > /etc/defaults/etc/pki/ca-trust/ca-legacy.conf". "The file is in use or > some other error occurred.". > > Retry doesn't help. openfiles doesn't reveal anything: > > https://imgur.com/a/XV1YQ > > Having enhanced setup.exe at one point, and accordingly debugged it, > I'll try and see if I can turn up the logging, see what is going on > exactly. I actually don't know where setup.log/setup.log.full is going > to at the moment. OK, I understand the logging only gets written when setup exits. So here is what I am seeing: Installing file cygfile:///etc/defaults/etc/pki/ca-trust/ca-legacy.conf 2017/10/10 18:09:58 io_stream_cygfile: fopen(/etc/defaults/etc/pki/ca-trust/ca-legacy.conf) failed 13 Permission denied 2017/10/10 18:09:58 Failed to open cygfile:///etc/defaults/etc/pki/ca-trust/ca-legacy.conf for writing. There is nothing in the target folder. icacls of ca-trust shows: portapps AT AVANT-W10 F:\portapps-sw\cygwin\etc\defaults\etc\pki > icacls ca-trust ca-trust AVANT-W10\portapps:(F) AVANT-W10\None:(RX) Everyone:(RX) CREATOR OWNER:(OI)(CI)(IO)(F) CREATOR GROUP:(OI)(CI)(IO)(RX) Everyone:(OI)(CI)(IO)(RX) Successfully processed 1 files; Failed processing 0 files A retry, just repeats of course: 2017/10/10 18:13:08 io_stream_cygfile: fopen(/etc/defaults/etc/pki/ca-trust/ca-legacy.conf) failed 13 Permission denied 2017/10/10 18:13:08 Failed to open cygfile:///etc/defaults/etc/pki/ca-trust/ca-legacy.conf for writing. Then if you click continue, you get an endless loop that takes up all your CPU: 2017/10/10 18:13:11 io_stream_cygfile: fopen(/etc/defaults/etc/pki/ca-trust/ca-legacy.conf.new) failed 13 Permission denied 2017/10/10 18:13:11 Failed to open cygfile:///etc/defaults/etc/pki/ca-trust/ca-legacy.conf.new for writing. 2017/10/10 18:13:11 Unable to install file cygfile:///etc/defaults/etc/pki/ca-trust/ca-legacy.conf.new Installing file cygfile:///etc/defaults/etc/pki/ca-trust/ca-legacy.conf 2017/10/10 18:13:11 io_stream_cygfile: fopen(/etc/defaults/etc/pki/ca-trust/ca-legacy.conf) failed 13 Permission denied 2017/10/10 18:13:11 Failed to open cygfile:///etc/defaults/etc/pki/ca-trust/ca-legacy.conf for writing. 2017/10/10 18:13:11 io_stream_cygfile: fopen(/etc/defaults/etc/pki/ca-trust/ca-legacy.conf.new) failed 13 Permission denied 2017/10/10 18:13:11 Failed to open cygfile:///etc/defaults/etc/pki/ca-trust/ca-legacy.conf.new for writing. 2017/10/10 18:13:11 Unable to install file cygfile:///etc/defaults/etc/pki/ca-trust/ca-legacy.conf.new Installing file cygfile:///etc/defaults/etc/pki/ca-trust/ca-legacy.conf With regards to the permission problem... I am almost certain this is going to be an issue related to recent Cygwin acl changes... but I am in no position to verify this at the moment. -- Regards, Shaddy > -- 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