Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <01a901c32a6a$ce2224f0$8de586d9@ellixia> From: "Elfyn McBratney" To: "cygwin" , References: <9843A649BAD7FB4686F6FCBC840D600E08036A22 AT mucse001 DOT eu DOT infineon DOT com> Subject: Re: setup does not create /etc/profile Date: Wed, 4 Jun 2003 08:27:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 [ Please keep replies on list ] > >> After running setup to download and install the core > >package, I expected > >> /etc to contain an initial profile. At least the FAQ says that setup > >should > >> create one. This is not the case. My /etc contains only > >> > >> defaults postinstall setup skel termcap > > > >Re-install the 'base-files' package. > > I have run the setup program again, but still no /etc/profile. Am I required > to uninstall it first? > Note that the setup worked without any apparent errors. What does /var/log/{setup.log,setup.log.full} say? Anything? Run setup.exe and go through until the package chooser dialogue, and click on the the 'base-files' package until is says "Reinstall". Click next, finish etc, and you *should* now have a `/etc/profile' file. > There is another strange things: When I start bash (by clicking on the icon > on my Windows desktop), by $HOME/.bashrc is not executed (but when I invoke > a subshell, .bashrc is sourced). Further, my $HOME/.bash_profile is not > sourced. Should I post this > as separate bug on the mailing list? How are you invoking `bash'? If you want your shell to be a login shell you have to pass the '--login' option to `bash'. Elfyn -- 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/