delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/05/10/15:04:45

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:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=bV8b9bf45FTAVyPDnHFLa/bdWPWyz
So3f3CO9kaTje/JWQ+gJ8iMgF8+AlDlBNt1lpQfot+5/FrwCMorwah5XnFRwohiw
/mPgREf78LYS3DYBGk2hqgeW/mLn1UIjxMrzCEIIV/u40L4cNJ7eAsUloBrop53e
A5TU7vtqmhA4PA=
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:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=2VbJv4BNXz/ZWc5T/LFmpq3W3ec=; b=i0K
q/uGXv7bC9fy185WbrQxM4wqUtHh80dDTpYG1BRxE1tXgNz6NdajE1zATigbTnXV
3XTXZhL3T8IHr0d9A3qagACH9/40yIt2XMTQYLdnOKKhQ0rKX5E2DVWLAbXPMU6d
FWSrhdVqrLKkog1jqjajGPDwc550chCu+lqoflU8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_MK autolearn=ham version=3.3.1
MIME-Version: 1.0
X-Received: by 10.68.198.69 with SMTP id ja5mr18873080pbc.183.1368212667690; Fri, 10 May 2013 12:04:27 -0700 (PDT)
Date: Fri, 10 May 2013 12:04:27 -0700
Message-ID: <CA+7NHMbGcn5jXPk-pTfOkpffxpi6qzo0yCWJVSTz0Qys=F_r_A@mail.gmail.com>
Subject: Re: Clean install, incomplete setup - no home dir, broken PATH
From: Daniel Davis <red DOT sivad AT gmail DOT com>
To: cygwin AT cygwin DOT com

Thanks for the reply Warren.

I think that /etc/passwd is being correctly created because:
   * it exists
   * it has an entry for the user that is me
   * mkpassd -l and mkgroup -l both complete w/o err ($?=0)
   * immediately after install, in the first mintty I create, sourcing
/etc/profile  (ie, . /etc/profile) makes and populates the home dir
specified in /etc/passwd
   * comparing the /etc/passwd and /etc/group files to a box where I
don't have this install problem shows no significant differences and
the only spaces are in the psswd comment fields and group names.
   * again: no spaces in any user login_name

As noted above, I do have spaces in the group names but installations
that work also have spaces in the group names.  And a quick web search
turned up no real problems with spaces in group names except where
folks are trying to parse the output from the groups command.  Am I
missing something here?

Another symptom of the broken install is that even after sourcing
/etc/profile (and having a new home directory provisioned), subsequent
shells still start in /usr/bin with a broken PATH.  In those shells,
sourcing /etc/profile completes quietly, changes dir to the home dir,
and fixes the path.

Is there some way I can find out why /etc/profile isn't being called
when the shell starts?  /var/log is empty but for setup.log* and I
don't see any windows event logs for cygwin.  Maybe that would lead to
better guesses as to why/how the install broke.

Thanks again for your time!

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

- Raw text -


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