From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11406 invoked by alias); 8 Jul 2013 16:17:07 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 11388 invoked by uid 89); 8 Jul 2013 16:17:07 -0000 X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 Received: from smtp-out-02.shaw.ca (HELO smtp-out-02.shaw.ca) (64.59.136.138) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 08 Jul 2013 16:17:06 +0000 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=YS95TUGYX+MRkNY/meip+CxRTyy2F4x7QGJ4HWfgHsg= c=1 sm=1 a=B91VBO2a_qwA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=z7krrshvX4xgmymOX9LeJQ==:17 a=RKT0kQU5AAAA:8 a=2z1OXlWFAAAA:8 a=KDvFEfpbAAAA:8 a=h0A6gGDlbiT46_d8-QcA:9 a=CjuIK1q_8ugA:10 a=ht5lIIhU2jEA:10 a=vyAkTFerXosA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO S01060050bac2b409.gv.shawcable.net) ([24.68.102.247]) by smtp-out-02.shaw.ca with ESMTP; 08 Jul 2013 10:17:04 -0600 Date: Mon, 08 Jul 2013 17:21:00 -0000 From: "Alan W. Irwin" To: cygwin@cygwin.com Subject: Re: Home directory issue In-Reply-To: <51DAD616.7010407@cygwin.com> Message-ID: References: <51DAD616.7010407@cygwin.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-SW-Source: 2013-07/txt/msg00157.txt.bz2 On 2013-07-08 11:09-0400 Larry Hall (Cygwin) wrote: > On 7/2/2013 7:50 PM, L. V. Lammert wrote: >> After installing Cygwin on a new system that is in a domain, there is >> something that is breaking with user setup. >> >> * The user home directory is not getting created >> * /usr/loca/bin & /usr/bin are not prepended to PATH >> * The user home directory is/cygdrive/Users/, >> instead of/home/ >> * The path IS correct in/etc/passwd (/home/) > > > > Is the HOME environment variable set in your Windows environment? If not, > check the postinstall scripts in '/etc/postinstall', paying particular > attention to those that don't end in '.done'. If you have some of these, > run them yourself with 'sh ' and then move the script to > '.done' Run the scripts in the order they appear. Otherwise, > if HOME is defined in the Windows environment, just remove the definition. > You may find you have to rerun some of the postinstall scripts to "recover", > particularly '000-cygwin-post-install.sh'. Or you can try wiping the > installation and starting over. > I experienced all the same symptoms reported by the OP with my setup.exe on Wine attempt. So you have given me hope that some of the errors I saw were due to not setting HOME. Could you be more specific about exactly how HOME should be set "in your Windows environment". Under Wine I can get into a cmd environment. From there the top-level directory of the Cygwin installation directory that I usually create with setup.exe is designated as z:\home\wine\newstart\cygwin That same directory is designated as /z/home/wine/newstart/cygwin from the bash/wine environment. What exact cmd command should I use to set HOME for user "wine" before I run a setup.exe from cmd to establish a Cygwin installation tree from scratch whose top-level is given above? Would it be set HOME=z:\home\wine\newstart\cygwin\home\wine or something else? I prefer the bash environment so if I set the HOME environment variable from there would setup.exe (run from bash) pick that up and use it? If so, would it be set by export HOME=/z/home/wine/newstart/cygwin/home/wine or something else? (As you can probably tell, I am having some difficulty in sorting out the differences in the way directories and environment variables are specified, at the bash/linux, bash/wine, cmd/wine, and cygwin/wine levels.) Are there any other environment variables that should be set as well before running setup.exe for a fresh install? Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple