X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew Schulman Subject: Re: Cygwin 1.7 domains and home directories Date: Thu, 11 Dec 2008 12:42:54 -0500 Lines: 40 Message-ID: References: <9f3df1acecdb14494f593ecc70fc8f0f DOT squirrel AT mail DOT morrison DOT mine DOT nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive: encrypt X-IsSubscribed: yes 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 > 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. John, thanks for reporting this. I also have this problem in Cygwin 1.7, ever since I installed it. The problem does not occur in Cygwin 1.5. > Note that the group file is *very* big (IMO) 6505 entries! There's only > local users and my domain account in my passwd file (16 entries). I am also in a domain. There are 20,300 entries in /etc/passwd, and 22,269 in /etc/group. > Can anyone suggest anything I can try either to fix or more reliably > reproduce the problem? 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. Does that also happen to you? A clue for sure, though I have no idea where it's pointing. Andrew. -- 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/