> From: Igor Pechtchanski > On Wed, 1 Oct 2003, Hannu E K Nevalainen (garbage mail) wrote:
<snip> > FWIW, if you're able to reproduce the hang, I'd be very interested in > seeing the results of the experiments outlined in the above message on > your machine... Maybe you could glean something from the strace output as > well. $ for i in myPostinstall.sh.done myPostinstall2.sh.done myPostinstall3.sh.done; do echo -e "\n---" $i "---";cat $i;done --- myPostinstall.sh.done --- #!/bin/bash -x echo "$(cygpath -w /)" --- myPostinstall2.sh.done --- #!/bin/sh -x bash -c "echo $(cygpath -w /)" --- myPostinstall3.sh.done --- #!/bin/sh -x strace -o postinstall.strace bash -c "echo $(cygpath -w /)" myPostinstall.sh does the "hang". (i.e. the first of your tests). The other two tests works just fine <SIGH> ;-) I've attached /postinstall.strace (name as it actually was created) $ tail -15 /var/log/setup.log.full 2003/10/01 15:58:59 running: C:\Program\cygwin\bin\sh.exe -c /etc/postinstall/myPostinstall.sh ++ cygpath -w / + echo '' 2003/10/01 15:59:15 running: C:\Program\cygwin\bin\sh.exe -c /etc/postinstall/myPostinstall2.sh + cygpath -w / + bash -c echo C:\Program\cygwin C:Programcygwin 2003/10/01 15:59:15 running: C:\Program\cygwin\bin\sh.exe -c /etc/postinstall/myPostinstall3.sh + cygpath -w / + strace -o postinstall.strace bash -c echo C:\Program\cygwin C:Programcygwin 2003/10/01 15:59:16 error: Unable to remove temporary file '/var/log/setup.log.postinstallXa02224' 2003/10/01 15:59:22 mbox note: Nothing needed to be installed 2003/10/01 15:59:23 Ending cygwin install $ cat /var/log/setup.log.postinstallXa02224 + cygpath -w / + strace -o postinstall.strace bash -c echo C:\Program\cygwin C:Programcygwin /Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E -- UTC+01, DST -> UTC+02 -- --END OF MESSAGE--
postinstall.strace
Description: Binary data
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/