delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/16/07:37:01

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 16 Dec 2008 13:09:31 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin 1.7 domains and home directories
Message-ID: <20081216120931.GF6830@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <9f3df1acecdb14494f593ecc70fc8f0f DOT squirrel AT mail DOT morrison DOT mine DOT nu> <rrj2k4pvb8esrnuh7q92dbms48mprk9rkk AT 4ax DOT com> <320dd8ef673c228602ed985bbd1fdfd7 DOT squirrel AT mail DOT morrison DOT mine DOT nu> <20081212144130 DOT GC32197 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20081212144130.GC32197@calimero.vinschen.de>
User-Agent: Mutt/1.5.16 (2007-06-09)
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

On Dec 12 15:41, Corinna Vinschen wrote:
> On Dec 12 10:20, John Morrison wrote:
> > On Thu, December 11, 2008 5:42 pm, Andrew Schulman wrote:
> > >> Now, *sometimes* when I
> > >> start cygwin (via the standard batch file) I get ~ to be my
> > >> "c:\Documents
> > >> and Settings\[user]\" and othertimes it all works and ~ is /home/morrijr
> > >> which is mounted to "d:\Wrkfile".  I've not be able to workout when or
> > >> why.
> > >>
> > >> When it doesn't honor the path in my passwd file it also comes up with
> > >> the
> > >>
> > >> "Your group is currently "mkpasswd".  This indicates that
> > >> the /etc/passwd (and possibly /etc/group) files should be rebuilt.
> > >> See the man pages for mkpasswd and mkgroup then, for example, run
> > >> mkpasswd -l [-d] > /etc/passwd
> > >> mkgroup  -l [-d] > /etc/group
> > >> Note that the -d switch is necessary for domain users."
> > >>
> > >> message.
> > > [...]
> > > Here's what I've been able to figure out about it:
> > >
> > > The error happens the first time I open a Cygwin 1.7 console after each
> > > reboot.
> > > On the 2nd and subsequent times after a reboot, bash starts without error
> > > and finds my correct $HOME.  I can log out and log back in, and the next
> > > console will open without error.  Reboot, start a console, and I get the
> > > error again.
> > > [...]
> 
> I don't think that has to do with the size of the /etc/passwd and
> /etc/group files.  Not sure if I can work on that before the christmas
> break, though...

So far I'm not able to reproduce this.  Every time I reboot, the shell
comes up just fine.

For testing purposes I created an /etc/group file of >28000 entries.
I also switched my home directory by adding a fstab entry along the lines
of "D:/home/corinna --> /home/corinna", but to no avail.

I tested this on a Vista machine which is domain member of a 2K8 domain
with a domain admin account with UAC enabled.

I'll try later again on an XP machine.

Is your account an admin account or a normal user account?  I don't
know but maybe that makes some difference.

Maybe that goes without saying, but somebody actually debugging this
who can reproduce this behaviour would be a great help...


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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