delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/23/15:16:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <004101c2028e$179fb7b0$967ba8c0@leopard>
From: "William S Fulton" <wsf AT fultondesigns DOT co DOT uk>
To: <cygwin AT cygwin DOT com>
Subject: Some clues for the init_cygheap::etc_changed problem
Date: Thu, 23 May 2002 20:14:42 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

I am also getting the

     20 [main] bash 249 init_cygheap::etc_changed: Can't open /etc for
checking,
 Win32 error 87

problem when firing up a bash shell. As there doesn't seem to be any
solution in the archives, I thought the setup.exe program developers may
be interested that some 'detective' work shows that it is something to do
with the passwd-grp.bat file failing during setup...

The message seems to appear when I install cygwin on a network drive
rather than a local drive. If I install cygwin using the default
settings onto c:\cygwin, the init_cygheap message does not appear when
firing up a bash shell. If I then uninstall it all and reinstall using
default settings, changing installation directory from local directory
c:\cygwin to network drive i:\cygwin, then the message appears when firing
up a bash shell.

I noticed some message appeared when installing on the i: drive in the
last black dos command box that appears at the end of the installation.
It flashes by too fast to read completely, but saw something to do with
/etc/group. Comparing the installation logs, they look pretty much
identical, except near the end of setup.log.full, passwd-grp.bat has
been run twice on i:\cygwin...


end of c:\cygwin\var\log\setup.log.full:
2002/05/22 14:48:54 running: c:\cygwin\bin\sh.exe -c
/etc/postinstall/gdbm.sh
2002/05/22 14:48:55 running: c:\cygwin\bin\sh.exe -c
/etc/postinstall/readline.sh
2002/05/22 14:48:55 running: cmd.exe /c
c:\cygwin\etc\postinstall\passwd-grp.bat
2002/05/22 14:48:56 mbox note: Installation Complete
2002/05/22 14:49:03 Ending cygwin install

end of i:\cygwin\var\log\setup.log.full:
2002/05/22 14:32:55 running: i:\cygwin\bin\sh.exe -c
/etc/postinstall/gdbm.sh
2002/05/22 14:32:55 running: i:\cygwin\bin\sh.exe -c
/etc/postinstall/readline.sh
2002/05/22 14:32:56 running: cmd.exe /c
i:\cygwin\etc\postinstall\passwd-grp.bat
2002/05/22 14:32:57 running: cmd.exe /c
i:\cygwin\etc\postinstall\passwd-grp.bat
2002/05/22 14:32:57 mbox note: Installation Complete
2002/05/22 14:33:03 Ending cygwin install

I also took a copy of each installation before uninstalling it and did a
complete directory diff. The differences are very minimal, only 3 files
are different and these contain time stamp differences or drive changes:

cygwin.bat
var/log/setup.log
var/log/setup.log.full (plus change mentioned above)

Also
etc/postinstall/passwrd-grp.bat.done is only in c:\cygwin
etc/setup/last-cache is only in i:\cygwin

All this points to the passwrd-grp.bat file not working for networked
drives and having something to do with the init_cygheap error, but I
can't find this .bat file anywhere.

I'm using the cygwin packages and setup.exe from 2 days ago and
installing on an NT4 SP6 machine that has never seen cygwin before.

Any suggestions? I don't mind debugging, given some more info on the
.bat files.

A couple of other little bugs in the setup:
1) Selecting to install the icons at the end of the installation doesn't
update to the correct path if the installation directory has changed.

2) There are loads of error messages in var/log/setup.log after each
.bz2 decompression that look like this:
2002/05/22 14:47:52 compress_bz::error called

Regards
William




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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