delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/26/11:55:45

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <COL102-W51E570990856277D297A8DB5520@phx.gbl>
From: Karl M <karlm30 AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Upgrade to cygwin 1.7 seemed to trash bash profile, path
Date: Tue, 26 May 2009 08:55:27 -0700
In-Reply-To: <4A1C0ACB.1030001@cygwin.com>
References: <bfc52fe00905242054n601cfbbfsca4eb8079b7d08bc AT mail DOT gmail DOT com> <4A1C0ACB DOT 1030001 AT cygwin DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

> Date: Tue, 26 May 2009 11:29:15 -0400
> From: lh
> Subject: Re: Upgrade to cygwin 1.7 seemed to trash bash profile, path
>
> Aaron Humphrey wrote:
>> I've been having some intermittent problems lately with screen
>> hanging, when it hasn't before. This is on my home computer, which
>> was still running 1.5.25, and I've been using screen on 1.7 without
>> event on my work computer, so I decided to upgrade at home. I
>> downloaded setup-1.7, ran it, and went away. When I came back, it
>> seemed to have finished successfully.
>>
>> Just now I tried to run it for the first time, clicking on the cygwin
>> icon to run cygwin.bat as usual. What I get is a window with
>> "bash-3.2$" at the top. This is not my usual prompt. I immediately
>> noticed, too, that PATH was not set, or rather that it didn't include
>> any Cygwin paths, only Windows. A look at my home directory showed no
>> .profile, .bash_profile, .bashrc, or anything.
>>
>> I've been lurking on this list for long enough that I feel like I
>> should know what happened, but I confess I don't. Is it a problem
>> with the new /etc/fstab? Was it something trashing my startup files?
>> I've checked for undone postinstall scripts and found none; I tried
>> rerunning setup-1.7, then rerunning it and reinstalling base-files,
>> but to no avail. Of course, I have no convenient backups of my bash
>> setup files or anything.
>>
>> Cygcheck -svr output attached. Let me know if setup.log.full would
>> come in handy or anything.
>
> You seem to be missing '/usr/bin' and '/usr/lib'. There was talk about
> some of this changing though in my up-to-date installation, I still have
> them so I'm not sure where this stands. In any case, it suggests that
> you may want to try add the following to your '/etc/fstab' file:
>
> c:/cygwin/lib /usr/lib some_fs binary 0 0
> c:/cygwin/bin /usr/bin some_fs binary 0 0
>
> If that doesn't work, maybe just try rerunning 'setup.exe' and select
> "Reinstall" for the "All" category.
>
This may be the same problem that the 2009-05-18 snapahot fixed for me.
=20
For some users, sshing in did not have the above mounts, but other users
sshing in had them. Adding the mounts back to my fstab (as Larry mentioned
above) was also a workaround that worked for me.
=20
:-)
=20
...Karl
_________________________________________________________________
Hotmail=AE has ever-growing storage! Don=92t worry about storage limits.
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=3DTXT_TAGLM_WL_HM_Tuto=
rial_Storage1_052009

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

- Raw text -


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