setup stuck on cygwin.ldif

Shaddy Baddah lithium-cygwin@shaddybaddah.name
Tue Oct 10 07:21:00 GMT 2017


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@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



More information about the Cygwin mailing list