This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: echo hi|egrep -v ho #no output


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Brian Dessent on 12/1/2006 4:57 PM:
> 
>> setup.exe did not complain though.  I know I have to update my 
> 
> It wouldn't, because it does not handle replacement of sh.exe directly. 
> That is done in the postinstall step.

The postinstall step cannot replace /bin/sh if it is already in use
(perhaps you left a cron job running when you ran setup.exe?).


>  I'm still not clear how the
> events transpire that cause this postinstall to fail.  And even if the
> postinstall failed it's designed to run anyway the next time bash runs,
> so I'm stymied.  Maybe based on the ls -l information in your message
> someone can figure out why sh.exe was not replaced.

Maybe that's a key as well - the ls information showed that the old
/bin/sh was owned by a different user than the new bash; perhaps there
were permissions problems preventing the postinstall script from
overwriting the old file.  Maybe I should revisit the postinstall script
to forcefully remove the old file rather than trying to write over it
(writing over it preserves the inode, but that doesn't buy much if it
means /bin/sh is left out-of-date on failure).

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
volunteer cygwin bash maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFcMTF84KuGfSFAYARAhHTAJ9j+zYQgRsah3nO4vbwXRjdOrohDwCgjPF8
J/hcoE4rGz6I0Kfo6HaPLps=
=vBHX
-----END PGP SIGNATURE-----

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]