000-cygwin-post-install.sh script hangs + mkdir and other commands uses 50% cpu ettal

Jeffery Ketner jeffery.ketner@ericsson.com
Tue Apr 22 17:55:00 GMT 2014



Hi,

During an update I ran on 4/21/2014 to update some editors, the 000-cygwin-post-install.sh that runs near the end of the installation process seemed to hang. Investigating I saw that the commands like mkdir.exe, ln.exe, chmod.exe that are un In that file were using 50% of my cpu upwards to 100%. The process never finished even after an hour of waiting.

Most recent install (full install + updates) was about a month ago. No problems then.

Tried the following:
1) fresh install (same results)
2) running file manually through cmd line (same results) using -c option only shows the file being run with no other output
3) changed all permissions of the files and directories to be full control (windows) same results
4) Tried different download sites ,same results

Checked the file manually and looked for where it got stuck and it looks as if it never makes it past the following the file it created is size of 0.
<snip>
# Create fstab file if it doesn't exist.
if [ -e "${FSTAB}" -a ! -f "${FSTAB}" ]
then
  # Try to move
  mv -f "${FSTAB}" "${FSTAB}.orig"
  if [ -e "${FSTAB}" -a ! -f "${FSTAB}" ]
  then
    echo
    echo "${FSTAB} is existant but not a file."
    echo "Since this file is specifying the mount points, this might"
    echo "result in unexpected trouble.  Please fix that manually."
    echo
  fi
fi
if [ ! -e "${FSTAB}" ]
then

  # Create fstab default header
  cat > ${FSTAB} << EOF
# For a description of the file format, see the Users Guide # http://cygwin.com/cygwin-ug-net/using.html#mount-table

# This is default anyway:
none /cygdrive cygdrive binary,posix=0,user 0 0 EOF Fi

Files attached
Post install file and cygcheck.out  (note had to run manually and it never completed. Just showed what is in the attached file)


Regards,
JEFF KETNER
jeffery.ketner@ericsson.com
www.ericsson.com 





-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140422/9909068b/attachment.txt>
-------------- next part --------------
--
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