X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:in-reply-to:message-id :references:mime-version:content-type; q=dns; s=default; b=PEk+m 6yrNl/E9cz3xOW66AECz7vQ3S4glNa5pOCnk0xUc43kI6t+xENQ5DLqpwMsHLTb8 2Rj69kIZ8KJLNqpjgrKSHksNaLNdI3swIao3+MhZMvJ0gsuDu5YLOnwCFPxr8P9m Eo6FdHTdhQse9RThCCXLtf7knBeRYmKOq32Wxs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:in-reply-to:message-id :references:mime-version:content-type; s=default; bh=40eMmyuEHpb BSM5Pwo+M3gC1rGM=; b=j9rx8qAAxBFT4ras0YGJRoyw7F4b981D4rJPlEixgtB z2c0e4w4uL1SPxCXnax5g1Uy9roSbCf7E08mqiKEbFg+Z9Gh3GrUwL7AYYT1fjmo cKBEWt/rI+znDO8UV88DrS7bJ6dGSKDbj4FNV5TIlVeC1+gW9Utz0RJrsc8vxJg4 = Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 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 Date: Mon, 8 Jul 2013 09:17:03 -0700 (PDT) From: "Alan W. Irwin" To: cygwin AT cygwin DOT com Subject: Re: Home directory issue In-Reply-To: <51DAD616.7010407@cygwin.com> Message-ID: References: <51DAD616 DOT 7010407 AT cygwin DOT com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Note-from-DJ: This may be spam 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