Re: Cygwin 1.7 domains and home directories

2008-12-19 Thread Corinna Vinschen
On Dec 19 12:25, Andrew Schulman wrote: > > > I tested it, and it fixes the error. Nice hunting. > > > > Sure? Did it occur reliably so far and now it doesn't? I thought > > it only occurs intermittently. Maybe you could test a while longer... > > The error was occurring reliably on the first

Re: Cygwin 1.7 domains and home directories

2008-12-19 Thread Andrew Schulman
> > I tested it, and it fixes the error. Nice hunting. > > Sure? Did it occur reliably so far and now it doesn't? I thought > it only occurs intermittently. Maybe you could test a while longer... The error was occurring reliably on the first, and only the first, login shell after each reboot.

Re: Cygwin 1.7 domains and home directories

2008-12-19 Thread Corinna Vinschen
On Dec 19 12:01, Andrew Schulman wrote: > > Working (strace2): > > > > pwdgrp::load: \etc\passwd curr_lines 20308 > > > > Failing (strace1): > > > > pwdgrp::load: \etc\passwd curr_lines 520 > > > > So Cygwin thinks there are only 520 lines in the file, even though it > > knows that the filesi

Re: Cygwin 1.7 domains and home directories

2008-12-19 Thread Andrew Schulman
> Working (strace2): > > pwdgrp::load: \etc\passwd curr_lines 20308 > > Failing (strace1): > > pwdgrp::load: \etc\passwd curr_lines 520 > > So Cygwin thinks there are only 520 lines in the file, even though it > knows that the filesize is 2490367 bytes. OK, good. Curious that the bad behavi

Re: Cygwin 1.7 domains and home directories

2008-12-19 Thread Corinna Vinschen
On Dec 19 09:38, Andrew Schulman wrote: > > On Dec 17 09:39, Andrew Schulman wrote: > > > After a reboot, I ran > > > > > > strace -o strace.txt c:\cygwin-1.7\bin\bash.exe --login > > > > > > and observed the error in the shell that started. The strace output is at > > > http://home.comcast.net/

Re: Cygwin 1.7 domains and home directories

2008-12-19 Thread Andrew Schulman
> On Dec 17 09:39, Andrew Schulman wrote: > > After a reboot, I ran > > > > strace -o strace.txt c:\cygwin-1.7\bin\bash.exe --login > > > > and observed the error in the shell that started. The strace output is at > > http://home.comcast.net/~aschulman2/cygwin-1.7/strace.txt.bz2 . > > Thanks fo

Re: Cygwin 1.7 domains and home directories

2008-12-18 Thread Christopher Faylor
On Thu, Dec 18, 2008 at 09:44:37PM +0100, Corinna Vinschen wrote: >On Dec 18 14:11, Andrew Schulman wrote: >> > On Dec 17 18:09, Corinna Vinschen wrote: >> > > On Dec 17 09:39, Andrew Schulman wrote: >> > > > After a reboot, I ran >> > > > >> > > > strace -o strace.txt c:\cygwin-1.7\bin\bash.exe -

Re: Cygwin 1.7 domains and home directories

2008-12-18 Thread Corinna Vinschen
On Dec 18 14:11, Andrew Schulman wrote: > > On Dec 17 18:09, Corinna Vinschen wrote: > > > On Dec 17 09:39, Andrew Schulman wrote: > > > > After a reboot, I ran > > > > > > > > strace -o strace.txt c:\cygwin-1.7\bin\bash.exe --login > > > > > > > > and observed the error in the shell that started

Re: Cygwin 1.7 domains and home directories

2008-12-18 Thread Andrew Schulman
> On Dec 17 18:09, Corinna Vinschen wrote: > > On Dec 17 09:39, Andrew Schulman wrote: > > > After a reboot, I ran > > > > > > strace -o strace.txt c:\cygwin-1.7\bin\bash.exe --login > > > > > > and observed the error in the shell that started. The strace output is at > > > http://home.comcast.n

Re: Cygwin 1.7 domains and home directories

2008-12-17 Thread Corinna Vinschen
On Dec 17 18:09, Corinna Vinschen wrote: > On Dec 17 09:39, Andrew Schulman wrote: > > After a reboot, I ran > > > > strace -o strace.txt c:\cygwin-1.7\bin\bash.exe --login > > > > and observed the error in the shell that started. The strace output is at > > http://home.comcast.net/~aschulman2/c

Re: Cygwin 1.7 domains and home directories

2008-12-17 Thread Corinna Vinschen
On Dec 17 09:39, Andrew Schulman wrote: > After a reboot, I ran > > strace -o strace.txt c:\cygwin-1.7\bin\bash.exe --login > > and observed the error in the shell that started. The strace output is at > http://home.comcast.net/~aschulman2/cygwin-1.7/strace.txt.bz2 . Thanks for the strace. It'

Re: Cygwin 1.7 domains and home directories

2008-12-17 Thread Andrew Schulman
After a reboot, I ran strace -o strace.txt c:\cygwin-1.7\bin\bash.exe --login and observed the error in the shell that started. The strace output is at http://home.comcast.net/~aschulman2/cygwin-1.7/strace.txt.bz2 . Andrew. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Pr

Re: Cygwin 1.7 domains and home directories

2008-12-17 Thread Corinna Vinschen
On Dec 17 08:44, John Morrison wrote: > On Tue, December 16, 2008 6:10 pm, Christopher Faylor wrote: > > >>I'm *sure* I've seen it without having to reboot. Are you planning > >>another release of the dll soon(ish)? Does cygwin do anything if/when it > >>detects that the dll has changed? I've t

Re: Cygwin 1.7 domains and home directories

2008-12-17 Thread John Morrison
On Tue, December 16, 2008 6:10 pm, Christopher Faylor wrote: >>I'm *sure* I've seen it without having to reboot. Are you planning >>another release of the dll soon(ish)? Does cygwin do anything if/when it >>detects that the dll has changed? I've tried 'touch'ing it, that didn't >>trigger anythi

Re: Cygwin 1.7 domains and home directories

2008-12-16 Thread Christopher Faylor
On Tue, Dec 16, 2008 at 06:06:06PM -, John Morrison wrote: >On Tue, December 16, 2008 4:06 pm, Corinna Vinschen wrote: >> On Dec 16 12:25, John Morrison wrote: >>> On Tue, December 16, 2008 12:09 pm, Corinna Vinschen wrote: >>> > So far I'm not able to reproduce this. Every time I reboot, the

Re: Cygwin 1.7 domains and home directories

2008-12-16 Thread John Morrison
On Tue, December 16, 2008 4:06 pm, Corinna Vinschen wrote: > On Dec 16 12:25, John Morrison wrote: >> On Tue, December 16, 2008 12:09 pm, Corinna Vinschen wrote: >> > So far I'm not able to reproduce this. Every time I reboot, the shell >> > comes up just fine. >> > >> > For testing purposes I cre

Re: Cygwin 1.7 domains and home directories

2008-12-16 Thread Corinna Vinschen
On Dec 16 12:25, John Morrison wrote: > On Tue, December 16, 2008 12:09 pm, Corinna Vinschen wrote: > > 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

Re: Cygwin 1.7 domains and home directories

2008-12-16 Thread John Morrison
On Tue, December 16, 2008 12:09 pm, Corinna Vinschen wrote: > 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 l

Re: Cygwin 1.7 domains and home directories

2008-12-16 Thread Corinna Vinschen
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 othe

Re: Cygwin 1.7 domains and home directories

2008-12-12 Thread Andrew Schulman
> Did you say that you saw the problem after logging out and logging in again? No, logging out and logging in again doesn't reproduce the problem. Only rebooting, in my eXPerience. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/proble

Re: Cygwin 1.7 domains and home directories

2008-12-12 Thread Christopher Faylor
On Fri, Dec 12, 2008 at 11:42:42AM -0500, Andrew Schulman wrote: >> >$ find /win/c/cygwin-1.7 -newer /tmp/timestamp >> >/win/c/cygwin-1.7/tmp >> >/win/c/cygwin-1.7/var/log/wtmp >> >/win/c/cygwin-1.7/var/run/utmp >> >> I don't think anything should rely on any of those but couldn't you >> backup th

Re: Cygwin 1.7 domains and home directories

2008-12-12 Thread Andrew Schulman
> >$ find /win/c/cygwin-1.7 -newer /tmp/timestamp > >/win/c/cygwin-1.7/tmp > >/win/c/cygwin-1.7/var/log/wtmp > >/win/c/cygwin-1.7/var/run/utmp > > I don't think anything should rely on any of those but couldn't you > backup the files before starting a 1.7 shell and then restore them to > see if yo

Re: Cygwin 1.7 domains and home directories

2008-12-12 Thread Christopher Faylor
On Fri, Dec 12, 2008 at 11:26:03AM -0500, Andrew Schulman wrote: >OK, so for us domain users, the first time we start a login shell after a >reboot, the shell can't set our $HOME correctly and we get an error message. >The >second and subsequent times, there's no error. Other events such as insta

Re: Cygwin 1.7 domains and home directories

2008-12-12 Thread Andrew Schulman
OK, so for us domain users, the first time we start a login shell after a reboot, the shell can't set our $HOME correctly and we get an error message. The second and subsequent times, there's no error. Other events such as installing openssh may also cause the problem one time. The way I figure i

Re: Cygwin 1.7 domains and home directories

2008-12-12 Thread Corinna Vinschen
On Dec 12 15:36, John Morrison wrote: > On Fri, December 12, 2008 3:07 pm, Corinna Vinschen wrote: > > On Dec 12 14:58, John Morrison wrote: > >> On Fri, December 12, 2008 2:41 pm, Corinna Vinschen wrote: > >> > > >> > I don't think that has to do with the size of the /etc/passwd and > >> > /etc/gr

Re: Cygwin 1.7 domains and home directories

2008-12-12 Thread John Morrison
On Fri, December 12, 2008 3:07 pm, Corinna Vinschen wrote: > On Dec 12 14:58, John Morrison wrote: >> On Fri, December 12, 2008 2:41 pm, Corinna Vinschen wrote: >> > >> > 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

Re: Cygwin 1.7 domains and home directories

2008-12-12 Thread Corinna Vinschen
On Dec 12 14:58, John Morrison wrote: > On Fri, December 12, 2008 2:41 pm, Corinna Vinschen wrote: > > > > 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... > > Hi Corinna, > > So you h

Re: Cygwin 1.7 domains and home directories

2008-12-12 Thread John Morrison
On Fri, December 12, 2008 2:41 pm, Corinna Vinschen wrote: > > 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... Hi Corinna, So you have an idea as to the cause? J. -- Unsubscribe info:

Re: Cygwin 1.7 domains and home directories

2008-12-12 Thread Corinna Vinschen
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

Re: Cygwin 1.7 domains and home directories

2008-12-12 Thread John Morrison
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

Re: Cygwin 1.7 domains and home directories

2008-12-11 Thread Andrew Schulman
> 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

Cygwin 1.7 domains and home directories

2008-12-11 Thread John Morrison
Hi All, I've migrated (new install directory; registry remained from the 1.5 install) my work machine to the 1.7 dlls but I'm having a problem which is proving hard to track. My passwd file has... morrijr:unused:278875:10513:Morrison, John,U-EXPERIANUK\morrijr,S-1-5-21-117609710-152049171-180167