X-Spam-Check-By: sourceware.org
Message-ID: <abd246bf0703071054t20b17130ma6f5b5c2d2a17007@mail.gmail.com>
Date: Wed, 7 Mar 2007 12:54:02 -0600
From: "Mark Peloquin" <markpeloquin@gmail.com>
To: cygwin-apps <cygwin-apps@cygwin.com>
Subject: Re: installation problem: no /etc/profile
Cc: cygwin@cygwin.com
In-Reply-To: <45EEBBEA.5080202@byu.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <abd246bf0702180147w34af8436m8cc736cf0913b16b@mail.gmail.com> 	 <45EEBBEA.5080202@byu.net>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I'm not sure of the version of setup.exe that I used (it has since
been deleted), but I'm certain it was new.  I downloaded it the same
day that I installed it.  Since I ran the bash setup script a couple
weeks ago, I have noticed no problems.  (Come to think of it, I pretty
much just use the ~600MB of files to run ls, tar, and ssh.)

Mark

On 3/7/07, Eric Blake <ebb9@byu.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Redirecting to cygwin-apps, since this is a setup.exe issue.  And sorry
> for the delayed reply; this arrived back when I was on vacation, and I'm
> still trying to plow through my inbox.
>
> According to Mark Peloquin on 2/18/2007 2:47 AM:
> > I recently installed cygwin with some problems.  This is the fourth
> > installation of Windows where I have installed cygwin, and this has
> > happened with this Windows installation twice now.  I don't think it's
> > a fluke.  My guess is that it is only noticeable for new
> > installations.
>
> Only noticeable for new installations, and dependent on the order in which
> setup.exe runs postinstall scripts; bash's postinstall MUST run before any
> other postinstall that uses /bin/sh.  Which version of setup.exe are you
> using?
>
> I know that older setup.exe were broken, and merely executed all scripts
> in alphabetical order, so older releases of bash provided the postinstall
> as 00bash.sh so it would run first.  But I thought that setup.exe had been
> changed to execute in dependency order (for example, base-files depends on
> bash, so base-files' postinstall scripts should not be attempted until
> after bash), so in bash-3.2.9-11 I renamed the postinstall to plain
> bash.sh (partly because I converted to cygport, and couldn't figure out
> how to make cygport keep the name 00bash.sh).
>
> Maybe what I should do is upload a new package along the lines of
> 00run_me_first belonging to the admin category _PostInstallFirst
> (mirroring the existing admin category of _PostInstallLast that is
> normally hidden from view), and by having bash depend on that, I can
> reinsert a postinstall script that will run early enough in new
> installations to allow installing packages such as aalib, automake, and
> base-files?  But it would really be nice to know first of all whether this
> is fixed in setup.exe; and if the fix is only in a setup.exe snapshot, we
> could really use a release of setup.exe.
>
> Meanwhile, bash official patch 10 came out, so I need to upload
> bash-3.2.10-12 soon anyways; maybe convincing cygport that my postinstall
> really DOES need to be named 00bash.sh is good enough to prevent this issue?
>
> - --
> Don't work too hard, make some time for fun as well!
>
> 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
>
> iD8DBQFF7rvq84KuGfSFAYARAmI8AKDXQ1y6sYWoIWDSZrg9e0kzDqtLgwCeOEBq
> 0zNS/MqlQDtFBs1CSDvMJC8=
> =cMvc
> -----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/

