public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* update trouble 1.7.35
@ 2015-03-23 18:56 Lemke, Michael  ST/HZA-ZSW
  2015-03-23 19:39 ` Corinna Vinschen
  0 siblings, 1 reply; 26+ messages in thread
From: Lemke, Michael  ST/HZA-ZSW @ 2015-03-23 18:56 UTC (permalink / raw)
  To: cygwin

I just upgraded my cygwin installation to 1.7.35 or what the latest is.
After that I got an awful bash shell instead of my standard tcsh.  So 
I read up on that very long https://cygwin.com/cygwin-ug-net/ntsec.html 
manual (needs an executive version) and came up with 

$ cat /etc/nswitch.conf
passwd: files
group: files

Now I can't start cygwin at all:

This account is currently not available.
/sbin/nologin: Exit 1


So how do I get my shell back without messing with the AD?  That's
off limits here.

Thanks,
Michael

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

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-23 18:56 update trouble 1.7.35 Lemke, Michael  ST/HZA-ZSW
@ 2015-03-23 19:39 ` Corinna Vinschen
  2015-03-24 14:00   ` Steve Johnson
  2015-03-24 14:03   ` Habermann, David (D)
  0 siblings, 2 replies; 26+ messages in thread
From: Corinna Vinschen @ 2015-03-23 19:39 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1998 bytes --]

On Mar 23 16:39, Lemke, Michael  ST/HZA-ZSW wrote:
> I just upgraded my cygwin installation to 1.7.35 or what the latest is.
> After that I got an awful bash shell instead of my standard tcsh.  So 
> I read up on that very long https://cygwin.com/cygwin-ug-net/ntsec.html 
> manual (needs an executive version)

Feel free to contribute one.  My major concern was to get a complete
description in the documentation.  It's hard (for me) to condense this
to a shorter versions without knowing at all what people need and not
need.  Ultimatly there won't be a condensed version which matches
everybody's needs anyway.

> and came up with 
> 
> $ cat /etc/nswitch.conf
> passwd: files
> group: files

Try this instead:

  passwd: db
  group: db
  db_shell: /bin/tcsh

This should work for you without any passwd and group files, provided
you're the only user of your machine anyway.

> Now I can't start cygwin at all:
> 
> This account is currently not available.
> /sbin/nologin: Exit 1

As outlined in https://cygwin.com/ml/cygwin/2015-03/msg00380.html
this is certainly not a desired result, so I'd like to see how
this occurs and how we can avoid this in the next Cygwin version.

So, *before* you make the above suggested change, can you please provide
the following information:

- In a CMD shell, cd to C:\cygwin{64}\bin, call the following two
  commands, and paste the output into your reply:

    getent passwd %USERNAME%
    id

- Please provide your /etc/passwd file content, or at least the
  passwd entry of your account. 

> So how do I get my shell back without messing with the AD?  That's
> off limits here.

The https://cygwin.com/cygwin-ug-net/ntsec.html document explains
how not to mess with AD, if that's not desired.  See the above
suggestion.


Thanks and HTH,
Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-23 19:39 ` Corinna Vinschen
@ 2015-03-24 14:00   ` Steve Johnson
  2015-03-24 14:05     ` Corinna Vinschen
  2015-03-24 14:03   ` Habermann, David (D)
  1 sibling, 1 reply; 26+ messages in thread
From: Steve Johnson @ 2015-03-24 14:00 UTC (permalink / raw)
  To: cygwin

Hi Corinna,

I am having the same issue, but from a fresh install of cygwin64.

I also tried you recommendation, but it did not work. I tried with
just files instead of db as well, with the same results. There are no
passwd or group files in the etc folder, so I don't know if this is
any relevant information either.

I would rather not post the results of the 'id' command publicly, so if 
possible, I would gladly provide them if you contact me directly or give me 
another mean to provide them.

Thanks,
Steve Johnson




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

^ permalink raw reply	[flat|nested] 26+ messages in thread

* RE: update trouble 1.7.35
  2015-03-23 19:39 ` Corinna Vinschen
  2015-03-24 14:00   ` Steve Johnson
@ 2015-03-24 14:03   ` Habermann, David (D)
  2015-03-24 14:11     ` Corinna Vinschen
                       ` (2 more replies)
  1 sibling, 3 replies; 26+ messages in thread
From: Habermann, David (D) @ 2015-03-24 14:03 UTC (permalink / raw)
  To: cygwin


> - In a CMD shell, cd to C:\cygwin{64}\bin, call the following two
> commands, and paste the output into your reply:

>    getent passwd %USERNAME%
>    id

I am able to produce the failure again (by reverting to cygserver starting immediately as a service upon bootup).  I would be happy to provide the information above to a particular person or persons, but I'd rather not post it to the internet.  If you want it, please let me know where to send it.  If you don't want you email posted, please free to send directly to 
h a b e r m a n n atsymbal dow periadcharacter com



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-24 14:00   ` Steve Johnson
@ 2015-03-24 14:05     ` Corinna Vinschen
  2015-03-24 15:50       ` Lemke, Michael  ST/HZA-ZSW
  0 siblings, 1 reply; 26+ messages in thread
From: Corinna Vinschen @ 2015-03-24 14:05 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2199 bytes --]

On Mar 24 13:28, Steve Johnson wrote:
> Hi Corinna,
> 
> I am having the same issue, but from a fresh install of cygwin64.
> 
> I also tried you recommendation, but it did not work. I tried with
> just files instead of db as well, with the same results. There are no
> passwd or group files in the etc folder, so I don't know if this is
> any relevant information either.

The problem is this:  I can't reproduce this.  I need a means to
reproduce this to be able to fix it.  I'm totally stumped by this weird
problem because it seems LookupAccountSid fails and I never saw that
before and don't see this on my machines and in my environment.

I don't know anything about your environment, for instance.  I don't
know what you mean when you say "I tried with just files instead",
because you didn't say if you also created /etc/passwd and /etc/group
files and then stopped all Cygwin processes and opened the shell again.
Or, FWIW, when you changed nsswitch.conf to "db" only, if you stopped
the processes and started them again, which would be important, per the
documentation.

Details.  I need details.  Or ideally somebody with the problem
willing to debug the stuff.

For a start, the output of cygcheck -svr as outlined in
https://cygwin.com/problems.html would be helpful.  As well as the
output of getent and id as outlined in my other mail.  And ideally
the strace output generated by

  strace -o getent.trace getent passwd $USERNAME

> I would rather not post the results of the 'id' command publicly, so if 
> possible, I would gladly provide them if you contact me directly or give me 
> another mean to provide them.

I don't care for the company name.  I don't care for the actual group
names.  Just redact the output and call the (non-well-known) groups X1,
X2, etc, and the domain names D1, D2, etc.  The posix offset, the gid's
and well-known group names (like Users, Domain Admins, etc) don't contain
any confidential information so you can simply leave them as is.


Thanks,
Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-24 14:03   ` Habermann, David (D)
@ 2015-03-24 14:11     ` Corinna Vinschen
  2015-03-24 14:20       ` Corinna Vinschen
  2015-03-24 14:29     ` Corinna Vinschen
  2015-03-24 15:11     ` Achim Gratz
  2 siblings, 1 reply; 26+ messages in thread
From: Corinna Vinschen @ 2015-03-24 14:11 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 940 bytes --]

On Mar 24 14:00, Habermann, David (D) wrote:
> 
> > - In a CMD shell, cd to C:\cygwin{64}\bin, call the following two
> > commands, and paste the output into your reply:
> 
> >    getent passwd %USERNAME%
> >    id
> 
> I am able to produce the failure again (by reverting to cygserver
> starting immediately as a service upon bootup).  I would be happy to
> provide the information above to a particular person or persons, but
> I'd rather not post it to the internet.  If you want it, please let me
> know where to send it.  If you don't want you email posted, please
> free to send directly to 
> h a b e r m a n n atsymbal dow periadcharacter com

Guys, please.  Just redact the output.  Names are irrelevant, just
call them X1, X2, D1, D2, etc.


Thanks,
Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-24 14:11     ` Corinna Vinschen
@ 2015-03-24 14:20       ` Corinna Vinschen
  0 siblings, 0 replies; 26+ messages in thread
From: Corinna Vinschen @ 2015-03-24 14:20 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1240 bytes --]

On Mar 24 15:05, Corinna Vinschen wrote:
> On Mar 24 14:00, Habermann, David (D) wrote:
> > 
> > > - In a CMD shell, cd to C:\cygwin{64}\bin, call the following two
> > > commands, and paste the output into your reply:
> > 
> > >    getent passwd %USERNAME%
> > >    id
> > 
> > I am able to produce the failure again (by reverting to cygserver
> > starting immediately as a service upon bootup).  I would be happy to
> > provide the information above to a particular person or persons, but
> > I'd rather not post it to the internet.  If you want it, please let me
> > know where to send it.  If you don't want you email posted, please
> > free to send directly to 
> > h a b e r m a n n atsymbal dow periadcharacter com
> 
> Guys, please.  Just redact the output.  Names are irrelevant, just
> call them X1, X2, D1, D2, etc.

Oh well, ok.  If all else fails, send the stuff via gpg-encrypted mail
using my public gpg key to my company address vinschen AT redhat DOT
com.  But only if you promise to send an strace of the getent call as
well!


Thanks,
Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-24 14:03   ` Habermann, David (D)
  2015-03-24 14:11     ` Corinna Vinschen
@ 2015-03-24 14:29     ` Corinna Vinschen
  2015-03-24 14:33       ` Corinna Vinschen
  2015-03-24 14:57       ` Habermann, David (D)
  2015-03-24 15:11     ` Achim Gratz
  2 siblings, 2 replies; 26+ messages in thread
From: Corinna Vinschen @ 2015-03-24 14:29 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 635 bytes --]

On Mar 24 14:00, Habermann, David (D) wrote:
> 
> > - In a CMD shell, cd to C:\cygwin{64}\bin, call the following two
> > commands, and paste the output into your reply:
> 
> >    getent passwd %USERNAME%
> >    id
> 
> I am able to produce the failure again (by reverting to cygserver
> starting immediately as a service upon bootup).

What account is cygserver as service running under?  Your own, or
something like LocalSystem, or NetworkService?


Thanks,
Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-24 14:29     ` Corinna Vinschen
@ 2015-03-24 14:33       ` Corinna Vinschen
  2015-03-24 14:57       ` Habermann, David (D)
  1 sibling, 0 replies; 26+ messages in thread
From: Corinna Vinschen @ 2015-03-24 14:33 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

On Mar 24 15:20, Corinna Vinschen wrote:
> On Mar 24 14:00, Habermann, David (D) wrote:
> > 
> > > - In a CMD shell, cd to C:\cygwin{64}\bin, call the following two
> > > commands, and paste the output into your reply:
> > 
> > >    getent passwd %USERNAME%
> > >    id
> > 
> > I am able to produce the failure again (by reverting to cygserver
> > starting immediately as a service upon bootup).
> 
> What account is cygserver as service running under?  Your own, or
> something like LocalSystem, or NetworkService?

I tried both with no visible effect.  It just works for me.  Sigh.


Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* RE: update trouble 1.7.35
  2015-03-24 14:29     ` Corinna Vinschen
  2015-03-24 14:33       ` Corinna Vinschen
@ 2015-03-24 14:57       ` Habermann, David (D)
  1 sibling, 0 replies; 26+ messages in thread
From: Habermann, David (D) @ 2015-03-24 14:57 UTC (permalink / raw)
  To: cygwin

> What account is cygserver as service running under?  Your own, or something like LocalSystem, or 
> NetworkService?

In my case it is running under SYSTEM.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-24 14:03   ` Habermann, David (D)
  2015-03-24 14:11     ` Corinna Vinschen
  2015-03-24 14:29     ` Corinna Vinschen
@ 2015-03-24 15:11     ` Achim Gratz
  2015-03-24 16:37       ` Habermann, David (D)
  2 siblings, 1 reply; 26+ messages in thread
From: Achim Gratz @ 2015-03-24 15:11 UTC (permalink / raw)
  To: cygwin

Habermann, David (D <DAHabermann <at> dow.com> writes:
> I am able to produce the failure again (by reverting to
> cygserver starting immediately as a service upon
> bootup).

You don't have a setup per chance that doesn't yet have network connectivity
when cygserver starts up?  Firewall opened only when a user logs in?  VPN
needs time to establish connection?  Is cygserver dependent on the tcpip
service?


Regards,
Achim.



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

^ permalink raw reply	[flat|nested] 26+ messages in thread

* RE: update trouble 1.7.35
  2015-03-24 14:05     ` Corinna Vinschen
@ 2015-03-24 15:50       ` Lemke, Michael  ST/HZA-ZSW
  2015-03-24 16:22         ` Corinna Vinschen
  0 siblings, 1 reply; 26+ messages in thread
From: Lemke, Michael  ST/HZA-ZSW @ 2015-03-24 15:50 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1084 bytes --]

On Tuesday, March 24, 2015 3:04 PM Corinna Vinschen wrote:
>On Mar 24 13:28, Steve Johnson wrote:
>> 
>> I am having the same issue, but from a fresh install of cygwin64.
>> 
>
>The problem is this:  I can't reproduce this.  I need a means to
>reproduce this to be able to fix it.  I'm totally stumped by this weird
>problem because it seems LookupAccountSid fails and I never saw that
>before and don't see this on my machines and in my environment.

Ok, let's see what I can come up with.  For the test I cut
down passwd to just a single line and removed /etc/group - the problem 
still occurs.  From a cmd window:

C:\NCygwin\bin>cat ..\etc\nsswitch.conf
passwd: files
group: files

C:\NCygwin\bin>getent passwd %USERNAME%
lemkemch:unused:12729:10513:U-INA-DE01\lemkemch,S-1-5-21-1373454394-1654746546-1
846952604-2729:/home/lemkemch:/bin/tcsh

C:\NCygwin\bin>id
uid=4294967295(Unknown+User) gid=4294967295(Unknown+Group) groups=545(Users),555
(Remote Desktop Users)


strace output (hopefully) attached.

Anything else you'd like me try?

Michael

[-- Attachment #2: getent_trace.txt --]
[-- Type: text/plain, Size: 32068 bytes --]

    1       1 [main] getent (9260) **********************************************
  143     144 [main] getent (9260) Program name: C:\NCygwin\bin\getent.exe (windows pid 9260)
   46     190 [main] getent (9260) OS version:   Windows NT-6.1
   77     267 [main] getent (9260) **********************************************
  119     386 [main] getent (9260) sigprocmask: 0 = sigprocmask (0, 0x0, 0x61293748)
  323     709 [main] getent 9260 open_shared: name shared.5, n 5, shared 0x60FF0000 (wanted 0x60FF0000), h 0x74, *m 6
   64     773 [main] getent 9260 user_heap_info::init: heap base 0x80000000, heap top 0x80000000, heap size 0x18000000 (402653184)
  103     876 [main] getent 9260 open_shared: name S-1-5-21-435809281-806517502-2525237208-127212.1, n 1, shared 0x60FE0000 (wanted 0x60FE0000), h 0x70, *m 6
   42     918 [main] getent 9260 user_info::create: opening user shared for 'S-1-5-21-435809281-806517502-2525237208-127212' at 0x60FE0000
   22     940 [main] getent 9260 user_info::create: user shared version AB1FCCE8
   38     978 [main] getent 9260 fhandler_pipe::create: name \\.\pipe\cygwin-c0a8879476f177eb-9260-sigwait, size 5412, mode PIPE_TYPE_MESSAGE
   48    1026 [main] getent 9260 fhandler_pipe::create: pipe read handle 0x88
   19    1045 [main] getent 9260 fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-c0a8879476f177eb-9260-sigwait
   36    1081 [main] getent 9260 fhandler_pipe::create: pipe write handle 0x90
   23    1104 [main] getent 9260 dll_crt0_0: finished dll_crt0_0 initialization
  911    2015 [sig] getent 9260 wait_sig: entering ReadFile loop, my_readsig 0x88, my_sendsig 0x90
   74    2089 [main] getent 9260 time: 1427208969 = time(0x0)
   61    2150 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (C:\NCygwin\bin, no-keep-rel, no-add-slash)
   32    2182 [main] getent 9260 normalize_win32_path: C:\NCygwin\bin = normalize_win32_path (C:\NCygwin\bin)
   23    2205 [main] getent 9260 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\NCygwin\bin)
   36    2241 [main] getent 9260 sigprocmask: 0 = sigprocmask (0, 0x0, 0x800180A8)
  177    2418 [main] getent 9260 _cygwin_istext_for_stdio: fd 0: not open
   33    2451 [main] getent 9260 _cygwin_istext_for_stdio: fd 1: not open
   32    2483 [main] getent 9260 _cygwin_istext_for_stdio: fd 2: not open
  104    2587 [main] getent (9260) open_shared: name cygpid.9260, n 9260, shared 0x60FD0000 (wanted 0x60FD0000), h 0xD0, *m 2
   25    2612 [main] ? (9260) time: 1427208969 = time(0x0)
   21    2633 [main] getent 9260 pinfo::thisproc: myself dwProcessId 9260
   63    2696 [main] getent 9260 environ_init: GetEnvironmentStrings returned 0x756E08
   34    2730 [main] getent 9260 environ_init: 0x80028290: !::=::\
   32    2762 [main] getent 9260 environ_init: 0x800282A0: !C:=C:\NCygwin\bin
   30    2792 [main] getent 9260 environ_init: 0x800282C0: !ExitCode=00000000
   31    2823 [main] getent 9260 environ_init: 0x800282D8: ALLUSERSPROFILE=C:\ProgramData
   31    2854 [main] getent 9260 environ_init: 0x80028300: APPDATA=C:\Users\lemkemch\AppData\Roaming
   34    2888 [main] getent 9260 environ_init: 0x80028330: COMMONPROGRAMFILES=C:\Program Files (x86)\Common Files
   33    2921 [main] getent 9260 environ_init: 0x80028370: CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
   32    2953 [main] getent 9260 environ_init: 0x800283B8: CommonProgramW6432=C:\Program Files\Common Files
   31    2984 [main] getent 9260 environ_init: 0x800283F0: COMPUTERNAME=P01104393
   32    3016 [main] getent 9260 environ_init: 0x80028410: COMSPEC=C:\Windows\system32\cmd.exe
   33    3049 [main] getent 9260 parse_options: glob (called func)
   31    3080 [main] getent 9260 parse_options: returning
   16    3096 [main] getent 9260 environ_init: 0x80028440: CYGWIN=noglob
   31    3127 [main] getent 9260 environ_init: 0x80028468: DEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection
   31    3158 [main] getent 9260 environ_init: 0x800284A0: FP_NO_HOST_CHECK=NO
   31    3189 [main] getent 9260 environ_init: 0x800284C0: HOMEDRIVE=U:
   53    3242 [main] getent 9260 environ_init: 0x800284D8: HOMEPATH=\
   34    3276 [main] getent 9260 environ_init: 0x800284E8: HOMESHARE=\\XXXXXX\UUUUUUUU\lemkemch
   32    3308 [main] getent 9260 environ_init: 0x80028518: LOCALAPPDATA=C:\Users\lemkemch\AppData\Local
   31    3339 [main] getent 9260 environ_init: 0x80028550: LOGONSERVER=\\ZZZZZZZ
   30    3369 [main] getent 9260 environ_init: 0x80028570: NUMBER_OF_PROCESSORS=8
   31    3400 [main] getent 9260 environ_init: 0x80028590: OS=Windows_NT
   39    3439 [main] getent 9260 getwinenv: can't set native for PATH= since no environ yet
   37    3476 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\system32, keep-rel, no-add-slash)
   18    3494 [main] getent 9260 normalize_win32_path: C:\Windows\system32 = normalize_win32_path (C:\Windows\system32)
   19    3513 [main] getent 9260 mount_info::conv_to_posix_path: /c/Windows/system32 = conv_to_posix_path (C:\Windows\system32)
   19    3532 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows, keep-rel, no-add-slash)
   17    3549 [main] getent 9260 normalize_win32_path: C:\Windows = normalize_win32_path (C:\Windows)
   17    3566 [main] getent 9260 mount_info::conv_to_posix_path: /c/Windows = conv_to_posix_path (C:\Windows)
   17    3583 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\Wbem, keep-rel, no-add-slash)
   18    3601 [main] getent 9260 normalize_win32_path: C:\Windows\System32\Wbem = normalize_win32_path (C:\Windows\System32\Wbem)
   17    3618 [main] getent 9260 mount_info::conv_to_posix_path: /c/Windows/System32/Wbem = conv_to_posix_path (C:\Windows\System32\Wbem)
   19    3637 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Autodesk Shared, keep-rel, no-add-slash)
   17    3654 [main] getent 9260 normalize_win32_path: C:\Program Files (x86)\Common Files\Autodesk Shared = normalize_win32_path (C:\Program Files (x86)\Common Files\Autodesk Shared)
   18    3672 [main] getent 9260 mount_info::conv_to_posix_path: /c/Program Files (x86)/Common Files/Autodesk Shared = conv_to_posix_path (C:\Program Files (x86)\Common Files\Autodesk Shared)
   18    3690 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (C:\PROGRA~1\IBM\CLIENT~1, keep-rel, no-add-slash)
   17    3707 [main] getent 9260 normalize_win32_path: C:\PROGRA~1\IBM\CLIENT~1 = normalize_win32_path (C:\PROGRA~1\IBM\CLIENT~1)
   17    3724 [main] getent 9260 mount_info::conv_to_posix_path: /c/PROGRA~1/IBM/CLIENT~1 = conv_to_posix_path (C:\PROGRA~1\IBM\CLIENT~1)
   18    3742 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (C:\PROGRA~1\IBM\CLIENT~1\Shared, keep-rel, no-add-slash)
   17    3759 [main] getent 9260 normalize_win32_path: C:\PROGRA~1\IBM\CLIENT~1\Shared = normalize_win32_path (C:\PROGRA~1\IBM\CLIENT~1\Shared)
   18    3777 [main] getent 9260 mount_info::conv_to_posix_path: /c/PROGRA~1/IBM/CLIENT~1/Shared = conv_to_posix_path (C:\PROGRA~1\IBM\CLIENT~1\Shared)
   17    3794 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (C:\PROGRA~1\IBM\CLIENT~1\Emulator, keep-rel, no-add-slash)
   17    3811 [main] getent 9260 normalize_win32_path: C:\PROGRA~1\IBM\CLIENT~1\Emulator = normalize_win32_path (C:\PROGRA~1\IBM\CLIENT~1\Emulator)
   18    3829 [main] getent 9260 mount_info::conv_to_posix_path: /c/PROGRA~1/IBM/CLIENT~1/Emulator = conv_to_posix_path (C:\PROGRA~1\IBM\CLIENT~1\Emulator)
   18    3847 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\ActivIdentity\ActivClient, keep-rel, no-add-slash)
   17    3864 [main] getent 9260 normalize_win32_path: C:\Program Files\ActivIdentity\ActivClient = normalize_win32_path (C:\Program Files\ActivIdentity\ActivClient)
   18    3882 [main] getent 9260 mount_info::conv_to_posix_path: /c/Program Files/ActivIdentity/ActivClient = conv_to_posix_path (C:\Program Files\ActivIdentity\ActivClient)
   17    3899 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\ActivIdentity\ActivClient, keep-rel, no-add-slash)
   35    3934 [main] getent 9260 normalize_win32_path: C:\Program Files (x86)\ActivIdentity\ActivClient = normalize_win32_path (C:\Program Files (x86)\ActivIdentity\ActivClient)
   20    3954 [main] getent 9260 mount_info::conv_to_posix_path: /c/Program Files (x86)/ActivIdentity/ActivClient = conv_to_posix_path (C:\Program Files (x86)\ActivIdentity\ActivClient)
   18    3972 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Enterprise Vault\EVClient, keep-rel, no-add-slash)
   17    3989 [main] getent 9260 normalize_win32_path: C:\Program Files (x86)\Enterprise Vault\EVClient = normalize_win32_path (C:\Program Files (x86)\Enterprise Vault\EVClient)
   18    4007 [main] getent 9260 mount_info::conv_to_posix_path: /c/Program Files (x86)/Enterprise Vault/EVClient = conv_to_posix_path (C:\Program Files (x86)\Enterprise Vault\EVClient)
   17    4024 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn, keep-rel, no-add-slash)
   18    4042 [main] getent 9260 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn = normalize_win32_path (c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn)
   17    4059 [main] getent 9260 mount_info::conv_to_posix_path: /c/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn = conv_to_posix_path (c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn)
   18    4077 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (c:\Program Files\Microsoft SQL Server\100\Tools\Binn, keep-rel, no-add-slash)
   18    4095 [main] getent 9260 normalize_win32_path: C:\Program Files\Microsoft SQL Server\100\Tools\Binn = normalize_win32_path (c:\Program Files\Microsoft SQL Server\100\Tools\Binn)
   17    4112 [main] getent 9260 mount_info::conv_to_posix_path: /c/Program Files/Microsoft SQL Server/100/Tools/Binn = conv_to_posix_path (c:\Program Files\Microsoft SQL Server\100\Tools\Binn)
   18    4130 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (c:\Program Files\Microsoft SQL Server\100\DTS\Binn, keep-rel, no-add-slash)
   17    4147 [main] getent 9260 normalize_win32_path: C:\Program Files\Microsoft SQL Server\100\DTS\Binn = normalize_win32_path (c:\Program Files\Microsoft SQL Server\100\DTS\Binn)
   18    4165 [main] getent 9260 mount_info::conv_to_posix_path: /c/Program Files/Microsoft SQL Server/100/DTS/Binn = conv_to_posix_path (c:\Program Files\Microsoft SQL Server\100\DTS\Binn)
   18    4183 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0, keep-rel, no-add-slash)
   17    4200 [main] getent 9260 normalize_win32_path: C:\Windows\System32\WindowsPowerShell\v1.0 = normalize_win32_path (C:\Windows\System32\WindowsPowerShell\v1.0)
   17    4217 [main] getent 9260 mount_info::conv_to_posix_path: /c/Windows/System32/WindowsPowerShell/v1.0 = conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0)
   45    4262 [main] getent 9260 win_env::add_cache: posix /c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Program Files (x86)/Common Files/Autodesk Shared:/c/PROGRA~1/IBM/CLIENT~1:/c/PROGRA~1/IBM/CLIENT~1/Shared:/c/PROGRA~1/IBM/CLIENT~1/Emulator:/c/Program Files/ActivIdentity/ActivClient:/c/Program Files (x86)/ActivIdentity/ActivClient:/c/Program Files (x86)/Enterprise Vault/EVClient:/c/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn:/c/Program Files/Microsoft SQL Server/100/Tools/Binn:/c/Program Files/Microsoft SQL Server/100/DTS/Binn:/c/Windows/System32/WindowsPowerShell/v1.0
   22    4284 [main] getent 9260 win_env::add_cache: native PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Common Files\Autodesk Shared\;C:\PROGRA~1\IBM\CLIENT~1;C:\PROGRA~1\IBM\CLIENT~1\Shared;C:\PROGRA~1\IBM\CLIENT~1\Emulator;C:\Program Files\ActivIdentity\ActivClient\;C:\Program Files (x86)\ActivIdentity\ActivClient\;C:\Program Files (x86)\Enterprise Vault\EVClient\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Windows\System32\WindowsPowerShell\v1.0\
   21    4305 [main] getent 9260 posify_maybe: env var converted to PATH=/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Program Files (x86)/Common Files/Autodesk Shared:/c/PROGRA~1/IBM/CLIENT~1:/c/PROGRA~1/IBM/CLIENT~1/Shared:/c/PROGRA~1/IBM/CLIENT~1/Emulator:/c/Program Files/ActivIdentity/ActivClient:/c/Program Files (x86)/ActivIdentity/ActivClient:/c/Program Files (x86)/Enterprise Vault/EVClient:/c/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn:/c/Program Files/Microsoft SQL Server/100/Tools/Binn:/c/Program Files/Microsoft SQL Server/100/DTS/Binn:/c/Windows/System32/WindowsPowerShell/v1.0
   47    4352 [main] getent 9260 environ_init: 0x80038C48: PATH=/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Program Files (x86)/Common Files/Autodesk Shared:/c/PROGRA~1/IBM/CLIENT~1:/c/PROGRA~1/IBM/CLIENT~1/Shared:/c/PROGRA~1/IBM/CLIENT~1/Emulator:/c/Program Files/ActivIdentity/ActivClient:/c/Program Files (x86)/ActivIdentity/ActivClient:/c/Program Files (x86)/Enterprise Vault/EVClient:/c/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn:/c/Program Files/Microsoft SQL Server/100/Tools/Binn:/c/Program Files/Microsoft SQL Server/100/DTS/Binn:/c/Windows/System32/WindowsPowerShell/v1.0
   35    4387 [main] getent 9260 environ_init: 0x800285A8: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
   33    4420 [main] getent 9260 environ_init: 0x800285F0: PLMVIS_82_LIBPATH=C:\Program Files (x86)\SAP\FrontEnd\SAPgui\Program
   31    4451 [main] getent 9260 environ_init: 0x80028640: PROCESSOR_ARCHITECTURE=x86
   31    4482 [main] getent 9260 environ_init: 0x80028660: PROCESSOR_ARCHITEW6432=AMD64
   32    4514 [main] getent 9260 environ_init: 0x80028688: PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
   31    4545 [main] getent 9260 environ_init: 0x800286D8: PROCESSOR_LEVEL=6
   32    4577 [main] getent 9260 environ_init: 0x800286F0: PROCESSOR_REVISION=2a07
   31    4608 [main] getent 9260 environ_init: 0x80028710: ProgramData=C:\ProgramData
   31    4639 [main] getent 9260 environ_init: 0x80028730: PROGRAMFILES=C:\Program Files (x86)
   32    4671 [main] getent 9260 environ_init: 0x80028760: ProgramFiles(x86)=C:\Program Files (x86)
   31    4702 [main] getent 9260 environ_init: 0x80028790: ProgramW6432=C:\Program Files
   31    4733 [main] getent 9260 environ_init: 0x800287B8: PROMPT=$P$G
   32    4765 [main] getent 9260 environ_init: 0x80038E78: PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
   31    4796 [main] getent 9260 environ_init: 0x80038EC0: PUBLIC=C:\Users\Public
   32    4828 [main] getent 9260 environ_init: 0x80038EE0: SAPLOGON_INI_FILE=C:\SG_SAPCONF\SAPLogon.ini
   31    4859 [main] getent 9260 environ_init: 0x80038F18: SecSpecialMode=710916
   32    4891 [main] getent 9260 environ_init: 0x80038F38: SESSIONNAME=Console
   31    4954 [main] getent 9260 environ_init: 0x80038FB8: SYSTEMDRIVE=C:
   31    4985 [main] getent 9260 environ_init: 0x80038FD0: SYSTEMROOT=C:\Windows
   32    5017 [main] getent 9260 environ_init: 0x80038FF0: TCVIS_ENABLE_AERO=True
   32    5049 [main] getent 9260 getwinenv: can't set native for TEMP= since no environ yet
   17    5066 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\lemkemch\AppData\Local\Temp, no-keep-rel, no-add-slash)
   18    5084 [main] getent 9260 normalize_win32_path: C:\Users\lemkemch\AppData\Local\Temp = normalize_win32_path (C:\Users\lemkemch\AppData\Local\Temp)
   18    5102 [main] getent 9260 mount_info::conv_to_posix_path: /c/Users/lemkemch/AppData/Local/Temp = conv_to_posix_path (C:\Users\lemkemch\AppData\Local\Temp)
   43    5145 [main] getent 9260 win_env::add_cache: posix /c/Users/lemkemch/AppData/Local/Temp
   34    5179 [main] getent 9260 win_env::add_cache: native TEMP=C:\Users\lemkemch\AppData\Local\Temp
   20    5199 [main] getent 9260 posify_maybe: env var converted to TEMP=/c/Users/lemkemch/AppData/Local/Temp
   43    5242 [main] getent 9260 environ_init: 0x800390A0: TEMP=/c/Users/lemkemch/AppData/Local/Temp
   32    5274 [main] getent 9260 getwinenv: can't set native for TMP= since no environ yet
   30    5304 [main] getent 9260 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\lemkemch\AppData\Local\Temp, no-keep-rel, no-add-slash)
   23    5327 [main] getent 9260 normalize_win32_path: C:\Users\lemkemch\AppData\Local\Temp = normalize_win32_path (C:\Users\lemkemch\AppData\Local\Temp)
   54    5381 [main] getent 9260 mount_info::conv_to_posix_path: /c/Users/lemkemch/AppData/Local/Temp = conv_to_posix_path (C:\Users\lemkemch\AppData\Local\Temp)
  109    5490 [main] getent 9260 win_env::add_cache: posix /c/Users/lemkemch/AppData/Local/Temp
   28    5518 [main] getent 9260 win_env::add_cache: native TMP=C:\Users\lemkemch\AppData\Local\Temp
   19    5537 [main] getent 9260 posify_maybe: env var converted to TMP=/c/Users/lemkemch/AppData/Local/Temp
   44    5581 [main] getent 9260 environ_init: 0x80039130: TMP=/c/Users/lemkemch/AppData/Local/Temp
   32    5613 [main] getent 9260 environ_init: 0x80039010: USERDNSDOMAIN=SCHAEFFLER.COM
   30    5643 [main] getent 9260 environ_init: 0x80039160: USERDOMAIN=SCHAEFFLER
   31    5674 [main] getent 9260 environ_init: 0x80039180: USERDOMAIN_ROAMINGPROFILE=SCHAEFFLER
   30    5704 [main] getent 9260 environ_init: 0x800391B0: USERNAME=lemkemch
   31    5735 [main] getent 9260 environ_init: 0x800391C8: USERPROFILE=C:\Users\lemkemch
   31    5766 [main] getent 9260 environ_init: 0x800391F0: VS100COMNTOOLS=c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
   32    5798 [main] getent 9260 environ_init: 0x80039248: VSEDEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection
   30    5828 [main] getent 9260 environ_init: 0x80039288: WINDIR=C:\Windows
   38    5866 [main] getent 9260 pinfo_init: Set nice to 0
   17    5883 [main] getent 9260 pinfo_init: pid 9260, pgid 9260, process_state 0x41
   17    5900 [main] getent 9260 App version:  1007.33, api: 0.280
   17    5917 [main] getent 9260 DLL version:  1007.35, api: 0.287
   17    5934 [main] getent 9260 DLL build:    2015-03-04 12:07
   20    5954 [main] getent 9260 dtable::extend: size 32, fds 0x612CE9D8
  189    6143 [main] getent 9260 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-c0a8879476f177eb-lpc
   33    6176 [main] getent 9260 transport_layer_pipes::connect: Error opening the pipe (2)
   32    6208 [main] getent 9260 client_request::make_request: cygserver un-available
95299  101507 [main] getent 9260 internal_getlogin: user not found in passwd DB
   93  101600 [main] getent 9260 cygheap_user::ontherange: what 2, pw 0x0
   68  101668 [main] getent 9260 cygheap_user::ontherange: Set HOME to default /home/USER
  270  101938 [main] getent 9260 normalize_posix_path: src /home/lemkemch
   66  102004 [main] getent 9260 normalize_posix_path: /home/lemkemch = normalize_posix_path (/home/lemkemch)
   43  102047 [main] getent 9260 mount_info::conv_to_win32_path: conv_to_win32_path (/home/lemkemch)
   45  102092 [main] getent 9260 mount_info::cygdrive_win32_path: src '/home/lemkemch', dst ''
   40  102132 [main] getent 9260 set_flags: flags: binary (0x2)
   21  102153 [main] getent 9260 mount_info::conv_to_win32_path: src_path /home/lemkemch, dst C:\NCygwin\home\lemkemch, flags 0x3000A, rc 0
   62  102215 [main] getent 9260 symlink_info::check: 0x0 = NtCreateFile (\??\C:\NCygwin\home\lemkemch)
   41  102256 [main] getent 9260 symlink_info::check: not a symlink
   38  102294 [main] getent 9260 symlink_info::check: 0 = symlink.check(C:\NCygwin\home\lemkemch, 0x28AE38) (0x83000A)
   24  102318 [main] getent 9260 path_conv::check: this->path(C:\NCygwin\home\lemkemch), has_acls(1)
   41  102359 [main] getent 9260 win_env::add_cache: posix /home/lemkemch
   21  102380 [main] getent 9260 win_env::add_cache: native HOME=C:\NCygwin\home\lemkemch
   33  102413 [main] getent 9260 normalize_posix_path: src /home/lemkemch
   18  102431 [main] getent 9260 normalize_posix_path: /home/lemkemch = normalize_posix_path (/home/lemkemch)
   18  102449 [main] getent 9260 mount_info::conv_to_win32_path: conv_to_win32_path (/home/lemkemch)
   18  102467 [main] getent 9260 mount_info::cygdrive_win32_path: src '/home/lemkemch', dst ''
   19  102486 [main] getent 9260 set_flags: flags: binary (0x2)
   18  102504 [main] getent 9260 mount_info::conv_to_win32_path: src_path /home/lemkemch, dst C:\NCygwin\home\lemkemch, flags 0x3000A, rc 0
   51  102555 [main] getent 9260 symlink_info::check: 0x0 = NtCreateFile (\??\C:\NCygwin\home\lemkemch)
   29  102584 [main] getent 9260 symlink_info::check: not a symlink
   35  102619 [main] getent 9260 symlink_info::check: 0 = symlink.check(C:\NCygwin\home\lemkemch, 0x28AE88) (0x83000A)
   21  102640 [main] getent 9260 path_conv::check: this->path(C:\NCygwin\home\lemkemch), has_acls(1)
   35  102675 [main] getent 9260 win_env::add_cache: posix /home/lemkemch
   18  102693 [main] getent 9260 win_env::add_cache: native HOME=C:\NCygwin\home\lemkemch
   59  102752 [main] getent 9260 build_argv: argv[0] = 'getent'
   19  102771 [main] getent 9260 build_argv: argv[1] = 'passwd'
   18  102789 [main] getent 9260 build_argv: argv[2] = 'lemkemch'
   17  102806 [main] getent 9260 build_argv: argc 3
  142  102948 [main] getent 9260 open_shared: name c0a8879476f177eb-cons0x258186E.0, n 0, shared 0x60FC0000 (wanted 0x60FC0000), h 0x138, *m 3
171432  274380 [main] getent 9260 build_fh_pc: created an archetype (0x612CF310) for /dev/cons0(3/0)
  103  274483 [main] getent 9260 build_fh_pc: fh 0x612CF0C0, dev 00030000
  490  274973 [main] getent 9260 fhandler_console::open: opened conin$ 0x3, conout$ 0xF
   77  275050 [main] getent 9260 fhandler_base::open_with_arch: line 476:  /dev/cons0<0x612CF310> usecount + 1 = 1
   36  275086 [main] getent 9260 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   42  275128 [main] getent 9260 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   20  275148 [main] getent 9260 fhandler_base::set_flags: filemode set to binary
   19  275167 [main] getent 9260 _pinfo::set_ctty: old no ctty, ctty device number 0xFFFFFFFF, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   21  275188 [main] getent 9260 _pinfo::set_ctty: cygheap->ctty 0x0, archetype 0x612CF310
   21  275209 [main] getent 9260 _pinfo::set_ctty: ctty was NULL
   18  275227 [main] getent 9260 _pinfo::set_ctty: line 482:  /dev/cons0<0x612CF310> usecount + 1 = 2
   18  275245 [main] getent 9260 _pinfo::set_ctty: /dev/cons0 ctty, usecount 2
   20  275265 [main] getent 9260 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 9260, pid 9260, pgid 9260, tty->pgid 9260, tty->sid 0
   19  275284 [main] getent 9260 _pinfo::set_ctty: cygheap->ctty now 0x612CF310, archetype 0x612CF310
   36  275320 [main] getent 9260 fhandler_console::output_tcsetattr: 0 = tcsetattr(,0x60FC001C) (ENABLE FLAGS 0x3) (lflag 0x107 oflag 0x9)
   31  275351 [main] getent 9260 fhandler_console::input_tcsetattr: this 0x612CF0C0, get_ttyp () 0x60FC0000, t 0x60FC001C
   21  275372 [main] getent 9260 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   18  275390 [main] getent 9260 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   18  275408 [main] getent 9260 fhandler_base::set_flags: filemode set to binary
   18  275426 [main] getent 9260 _pinfo::set_ctty: old ctty /dev/cons0, ctty device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   19  275445 [main] getent 9260 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 9260, pid 9260, pgid 9260, tty->pgid 9260, tty->sid 9260
   19  275464 [main] getent 9260 _pinfo::set_ctty: cygheap->ctty now 0x612CF310, archetype 0x612CF310
   63  275527 [main] getent 9260 build_fh_pc: found an archetype for (null)(3/0) io_handle 0x3
   23  275550 [main] getent 9260 build_fh_pc: fh 0x612CF558, dev 00030000
   24  275574 [main] getent 9260 fhandler_base::open_with_arch: line 496:  /dev/cons0<0x612CF310> usecount + 1 = 3
   18  275592 [main] getent 9260 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   18  275610 [main] getent 9260 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   18  275628 [main] getent 9260 fhandler_base::set_flags: filemode set to binary
   17  275645 [main] getent 9260 _pinfo::set_ctty: old ctty /dev/cons0, ctty device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   20  275665 [main] getent 9260 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 9260, pid 9260, pgid 9260, tty->pgid 9260, tty->sid 9260
   18  275683 [main] getent 9260 _pinfo::set_ctty: cygheap->ctty now 0x612CF310, archetype 0x612CF310
   31  275714 [main] getent 9260 fhandler_console::output_tcsetattr: 0 = tcsetattr(,0x60FC001C) (ENABLE FLAGS 0x3) (lflag 0x107 oflag 0x9)
   31  275745 [main] getent 9260 fhandler_console::input_tcsetattr: this 0x612CF558, get_ttyp () 0x60FC0000, t 0x60FC001C
   20  275765 [main] getent 9260 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   17  275782 [main] getent 9260 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   18  275800 [main] getent 9260 fhandler_base::set_flags: filemode set to binary
   18  275818 [main] getent 9260 _pinfo::set_ctty: old ctty /dev/cons0, ctty device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   19  275837 [main] getent 9260 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 9260, pid 9260, pgid 9260, tty->pgid 9260, tty->sid 9260
   19  275856 [main] getent 9260 _pinfo::set_ctty: cygheap->ctty now 0x612CF310, archetype 0x612CF310
   57  275913 [main] getent 9260 build_fh_pc: found an archetype for (null)(3/0) io_handle 0x3
   19  275932 [main] getent 9260 build_fh_pc: fh 0x612CF7A8, dev 00030000
   20  275952 [main] getent 9260 fhandler_base::open_with_arch: line 496:  /dev/cons0<0x612CF310> usecount + 1 = 4
   19  275971 [main] getent 9260 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   18  275989 [main] getent 9260 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   17  276006 [main] getent 9260 fhandler_base::set_flags: filemode set to binary
   18  276024 [main] getent 9260 _pinfo::set_ctty: old ctty /dev/cons0, ctty device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   19  276043 [main] getent 9260 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 9260, pid 9260, pgid 9260, tty->pgid 9260, tty->sid 9260
   19  276062 [main] getent 9260 _pinfo::set_ctty: cygheap->ctty now 0x612CF310, archetype 0x612CF310
   30  276092 [main] getent 9260 fhandler_console::output_tcsetattr: 0 = tcsetattr(,0x60FC001C) (ENABLE FLAGS 0x3) (lflag 0x107 oflag 0x9)
   30  276122 [main] getent 9260 fhandler_console::input_tcsetattr: this 0x612CF7A8, get_ttyp () 0x60FC0000, t 0x60FC001C
   19  276141 [main] getent 9260 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   18  276159 [main] getent 9260 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   18  276177 [main] getent 9260 fhandler_base::set_flags: filemode set to binary
   18  276195 [main] getent 9260 _pinfo::set_ctty: old ctty /dev/cons0, ctty device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   18  276213 [main] getent 9260 _pinfo::set_ctty: attaching ctty /dev/cons0 sid 9260, pid 9260, pgid 9260, tty->pgid 9260, tty->sid 9260
   19  276232 [main] getent 9260 _pinfo::set_ctty: cygheap->ctty now 0x612CF310, archetype 0x612CF310
   53  276285 [main] getent 9260 __set_errno: void dll_crt0_1(void*):999 setting errno 0
  251  276536 [main] getent 9260 __get_lcid_from_locale: LCID=0x0000
   49  276585 [main] getent 9260 __get_lcid_from_locale: LCID=0x0000
   48  276633 [main] getent 9260 __get_lcid_from_locale: LCID=0x0000
   47  276680 [main] getent 9260 __get_lcid_from_locale: LCID=0x0000
   47  276727 [main] getent 9260 __get_lcid_from_locale: LCID=0x0000
  338  277065 [main] getent 9260 time: 1427208969 = time(0x0)
   20  277085 [main] getent 9260 stat64: entering
   18  277103 [main] getent 9260 normalize_posix_path: src /dev
   20  277123 [main] getent 9260 normalize_posix_path: /dev = normalize_posix_path (/dev)
   18  277141 [main] getent 9260 mount_info::conv_to_win32_path: conv_to_win32_path (/dev)
   19  277160 [main] getent 9260 mount_info::cygdrive_win32_path: src '/dev', dst ''
   19  277179 [main] getent 9260 set_flags: flags: binary (0x2)
   18  277197 [main] getent 9260 mount_info::conv_to_win32_path: src_path /dev, dst C:\NCygwin\dev, flags 0x3000A, rc 0
   59  277256 [main] getent 9260 symlink_info::check: 0x0 = NtCreateFile (\??\C:\NCygwin\dev)
   47  277303 [main] getent 9260 symlink_info::check: not a symlink
   29  277332 [main] getent 9260 symlink_info::check: 0 = symlink.check(C:\NCygwin\dev, 0x28B608) (0x43000A)
   50  277382 [main] getent 9260 build_fh_pc: fh 0x612D00D8, dev 000000C1
   23  277405 [main] getent 9260 stat_worker: (\??\C:\NCygwin\dev, 0x61293640, 0x612D00D8), file_attributes 16
   66  277471 [main] getent 9260 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-32-544
   20  277491 [main] getent 9260 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-1373454394-1654746546-1846952604-513
  321  277812 [main] getent 9260 get_info_from_sd: ACL 0x41FD, uid 4294967295, gid 10513
   41  277853 [main] getent 9260 fhandler_base::fstat_helper: 0 = fstat (\??\C:\NCygwin\dev, 0x61293640) st_size=0, st_mode=040775, st_ino=281474976947685st_atim=5114B37B.1C5D183C st_ctim=54B3DB1D.11920688 st_mtim=5114B37B.1C5D183C st_birthtim=5114B37B.1109A284
   24  277877 [main] getent 9260 stat_worker: 0 = (\??\C:\NCygwin\dev,0x61293640)
   36  277913 [main] getent 9260 fstat64: 0 = fstat(1, 0x28C830)
   36  277949 [main] getent 9260 isatty: 1 = isatty(1)
  102  278051 [main] getent 9260 fhandler_console::write: 0x800413A8, 120
 1506  279557 [main] getent 9260 fhandler_console::write: 120 = fhandler_console::write(...)
   40  279597 [main] getent 9260 write: 120 = write(1, 0x800413A8, 120)
  203  279800 [main] getent 9260 do_exit: do_exit (0), exit_state 1
   20  279820 [main] getent 9260 void: 0x0 = signal (20, 0x1)
   18  279838 [main] getent 9260 void: 0x0 = signal (1, 0x1)
   18  279856 [main] getent 9260 void: 0x0 = signal (2, 0x1)
   17  279873 [main] getent 9260 void: 0x0 = signal (3, 0x1)
   19  279892 [main] getent 9260 fhandler_base::close_with_arch: line 1142:  /dev/cons0<0x612CF310> usecount + -1 = 3
   19  279911 [main] getent 9260 fhandler_base::close_with_arch: not closing archetype
   18  279929 [main] getent 9260 fhandler_base::close_with_arch: line 1142:  /dev/cons0<0x612CF310> usecount + -1 = 2
   18  279947 [main] getent 9260 fhandler_base::close_with_arch: not closing archetype
   40  279987 [main] getent 9260 fhandler_base::close_with_arch: line 1142:  /dev/cons0<0x612CF310> usecount + -1 = 1
   19  280006 [main] getent 9260 fhandler_base::close_with_arch: not closing archetype
   18  280024 [main] getent 9260 init_cygheap::close_ctty: closing cygheap->ctty 0x612CF310
   18  280042 [main] getent 9260 fhandler_base::close_with_arch: closing passed in archetype 0x0, usecount 0
   93  280135 [main] getent 9260 fhandler_console::free_console: freed console, res 1
   34  280169 [main] getent 9260 dtable::delete_archetype: deleting element 0 for /dev/cons0(3/0)
   25  280194 [main] getent 9260 getpid: 9260 = getpid()
   19  280213 [main] getent 9260 proc_terminate: nprocs 0
   21  280234 [main] getent 9260 proc_terminate: leaving
   32  280266 [main] getent 9260 pinfo::exit: Calling ExitProcess n 0x0, exitcode 0x0

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

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

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-24 15:50       ` Lemke, Michael  ST/HZA-ZSW
@ 2015-03-24 16:22         ` Corinna Vinschen
  2015-03-24 16:33           ` Lemke, Michael  ST/HZA-ZSW
  0 siblings, 1 reply; 26+ messages in thread
From: Corinna Vinschen @ 2015-03-24 16:22 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2337 bytes --]

On Mar 24 15:19, Lemke, Michael  ST/HZA-ZSW wrote:
> On Tuesday, March 24, 2015 3:04 PM Corinna Vinschen wrote:
> >On Mar 24 13:28, Steve Johnson wrote:
> >> 
> >> I am having the same issue, but from a fresh install of cygwin64.
> >> 
> >
> >The problem is this:  I can't reproduce this.  I need a means to
> >reproduce this to be able to fix it.  I'm totally stumped by this weird
> >problem because it seems LookupAccountSid fails and I never saw that
> >before and don't see this on my machines and in my environment.
> 
> Ok, let's see what I can come up with.

Thanks, but I'm even more puzzled than before.

> For the test I cut
> down passwd to just a single line and removed /etc/group - the problem 
> still occurs.  From a cmd window:
> 
> C:\NCygwin\bin>cat ..\etc\nsswitch.conf
> passwd: files
> group: files
> 
> C:\NCygwin\bin>getent passwd %USERNAME%
> lemkemch:unused:12729:10513:U-INA-DE01\lemkemch,S-1-5-21-1373454394-1654746546-1
> 846952604-2729:/home/lemkemch:/bin/tcsh

Is that what you have in /etc/passwd?

> C:\NCygwin\bin>id
> uid=4294967295(Unknown+User) gid=4294967295(Unknown+Group) groups=545(Users),555
> (Remote Desktop Users)

what does `mkpasswd -d | grep -i lemkemch' print?  The unknown user is
totally weird.  It should only occur if your SID doesn't show up in your
/etc/passwd file.  Also, if /etc/nsswitch.conf is "files" only, and
you don't have a group file, there should be only one group in your `id'
output, the primary group 10513.  Here's how it looks like for me:

  $ getent passwd corinna
  corinna:unused:11001:11125:U-VINSCHEN\corinna,S-1-5-21-2913048732-1697188782-3448811101-1001:/home/corinna:/bin/tcsh
  $ id
  uid=11001(corinna) gid=11125 groups=11125

Did you stop all cygwin processes after doing all the settings,
including any service?

> strace output (hopefully) attached.
> 
> Anything else you'd like me try?

Can you change /etc/nsswitch.conf to "db" only, stop all cygwin
processes and restart a shell?  What does `getent passwd %USERNAME%'
and `id' print now?  How does an strace of this getent call look like?

I'm grabbing for straws...


Thanks,
Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* RE: update trouble 1.7.35
  2015-03-24 16:22         ` Corinna Vinschen
@ 2015-03-24 16:33           ` Lemke, Michael  ST/HZA-ZSW
  2015-03-24 17:03             ` Corinna Vinschen
  0 siblings, 1 reply; 26+ messages in thread
From: Lemke, Michael  ST/HZA-ZSW @ 2015-03-24 16:33 UTC (permalink / raw)
  To: cygwin

On March 24, 2015 4:50 PM Corinna Vinschen wrote:
>On Mar 24 15:19, Lemke, Michael  ST/HZA-ZSW wrote:
>> On Tuesday, March 24, 2015 3:04 PM Corinna Vinschen wrote:
>> >On Mar 24 13:28, Steve Johnson wrote:
>> >> 
>> >> I am having the same issue, but from a fresh install of cygwin64.
>> >> 
>> >
>> >The problem is this:  I can't reproduce this.  I need a means to
>> >reproduce this to be able to fix it.  I'm totally stumped by this weird
>> >problem because it seems LookupAccountSid fails and I never saw that
>> >before and don't see this on my machines and in my environment.
>> 
>> Ok, let's see what I can come up with.
>
>Thanks, but I'm even more puzzled than before.
>
>> For the test I cut
>> down passwd to just a single line and removed /etc/group - the problem 
>> still occurs.  From a cmd window:
>> 
>> C:\NCygwin\bin>cat ..\etc\nsswitch.conf
>> passwd: files
>> group: files
>> 
>> C:\NCygwin\bin>getent passwd %USERNAME%
>> lemkemch:unused:12729:10513:U-INA-DE01\lemkemch,S-1-5-21-1373454394-1654746546-1
>> 846952604-2729:/home/lemkemch:/bin/tcsh
>
>Is that what you have in /etc/passwd?

Oops, thought I also showed passwd:

C:\NCygwin\bin>cat ..\etc\passwd
lemkemch:unused:12729:10513:U-INA-DE01\lemkemch,S-1-5-21-1373454394-1654746546-1846952604-2729:/home/lemkemch:/bin/tcsh

>
>> C:\NCygwin\bin>id
>> uid=4294967295(Unknown+User) gid=4294967295(Unknown+Group) groups=545(Users),555
>> (Remote Desktop Users)
>
>what does `mkpasswd -d | grep -i lemkemch' print?

C:\NCygwin\bin>mkpasswd -d | grep -i lemkemch
lemkemch:*:1175788:1049089:XXXXXXXX\lemkemch,S-1-5-21-435809281-806517502-2525237208-127212:/home/lemkemch:/bin/bash

Note that "they" did a domain switch here at some point.  My installation 
is really old and the passwd certainly is from before that domain change.

>The unknown user is
>totally weird.  It should only occur if your SID doesn't show up in your
>/etc/passwd file.  Also, if /etc/nsswitch.conf is "files" only, and
>you don't have a group file, there should be only one group in your `id'
>output, the primary group 10513.  
>Here's how it looks like for me:
>
>  $ getent passwd corinna
>  corinna:unused:11001:11125:U-VINSCHEN\corinna,S-1-5-21-2913048732-1697188782-3448811101-1001:/home/corinna:/bin/tcsh
>  $ id
>  uid=11001(corinna) gid=11125 groups=11125
>
>Did you stop all cygwin processes after doing all the settings,
>including any service?

yep.

>
>> strace output (hopefully) attached.
>> 
>> Anything else you'd like me try?
>
>Can you change /etc/nsswitch.conf to "db" only, stop all cygwin
>processes and restart a shell?  What does `getent passwd %USERNAME%'
>and `id' print now?  How does an strace of this getent call look like?

C:\NCygwin\bin>vi ..\etc\nsswitch.conf

C:\NCygwin\bin>cat ..\etc\nsswitch.conf
passwd: db
group: db

C:\NCygwin\bin>getent passwd %USERNAME%
lemkemch:*:1175788:1049089:XXXXXXX\lemkemch,S-1-5-21-435809281-806517502-25
25237208-127212:/home/lemkemch:/bin/bash

C:\NCygwin\bin>id
uid=1175788(lemkemch) gid=1049089(Domain Users) groups=1049089(Domain Users),...
many many groups I don't like to post here.

> I'm grabbing for straws...

I noticed something else: With nsswitch.conf db:

> ls -l
...
-rw-rwxr--+ 1 lemkemch OLDDOMAIN+Domain Users      10057 Oct 21  2013 testresults.xml
drwxr-xr-x+ 1 lemkemch OLDDOMAIN+Domain Users          0 Nov  9  2010 tidy4aug00
drwxrwxr-x+ 1 lemkemch Domain Users                   0 May 14  2014 tinymce
drwxr-xr-x+ 1 lemkemch OLDDOMAIN+Domain Users          0 Jan 13  2012 tomahawk-1.1.11
...
> ls -ln
...
-rw-rwxr--+ 1 1051305 1073742337      10057 Oct 21  2013 testresults.xml
drwxr-xr-x+ 1 1051305 1073742337          0 Nov  9  2010 tidy4aug00
drwxrwxr-x+ 1 1175788    1049089          0 May 14  2014 tinymce
drwxr-xr-x+ 1 1051305 1073742337          0 Jan 13  2012 tomahawk-1.1.11
...

Note the different numerical id's that translate to the same username.
Don't know if it means anything.  I just find it weird.

Michael

^ permalink raw reply	[flat|nested] 26+ messages in thread

* RE: update trouble 1.7.35
  2015-03-24 15:11     ` Achim Gratz
@ 2015-03-24 16:37       ` Habermann, David (D)
  0 siblings, 0 replies; 26+ messages in thread
From: Habermann, David (D) @ 2015-03-24 16:37 UTC (permalink / raw)
  To: cygwin

>You don't have a setup per chance that doesn't yet have network connectivity when cygserver starts up?  Firewall >opened only when a user logs in?  VPN needs time to establish connection?  Is cygserver dependent on the tcpip >service?

No (at least not today and recently).  I'm hardwired (Ethernet) in my office for the last several days.  No firewall on outbound connections.  No VPN (while physically in the office).  Confirmed that the cygserver service has dependencies set on "Ancillary Function Driver for Winsock" and "TCP/IP Protocol Driver".

Dave


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

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-24 16:33           ` Lemke, Michael  ST/HZA-ZSW
@ 2015-03-24 17:03             ` Corinna Vinschen
  2015-03-24 18:40               ` Lemke, Michael  ST/HZA-ZSW
  0 siblings, 1 reply; 26+ messages in thread
From: Corinna Vinschen @ 2015-03-24 17:03 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 4368 bytes --]

On Mar 24 16:25, Lemke, Michael  ST/HZA-ZSW wrote:
> On March 24, 2015 4:50 PM Corinna Vinschen wrote:
> >On Mar 24 15:19, Lemke, Michael  ST/HZA-ZSW wrote:
> >> C:\NCygwin\bin>cat ..\etc\nsswitch.conf
> >> passwd: files
> >> group: files
> >> 
> >> C:\NCygwin\bin>getent passwd %USERNAME%
> >> lemkemch:unused:12729:10513:U-INA-DE01\lemkemch,S-1-5-21-1373454394-1654746546-1
> >> 846952604-2729:/home/lemkemch:/bin/tcsh
> >
> >Is that what you have in /etc/passwd?
> 
> Oops, thought I also showed passwd:
> 
> C:\NCygwin\bin>cat ..\etc\passwd
> lemkemch:unused:12729:10513:U-INA-DE01\lemkemch,S-1-5-21-1373454394-1654746546-1846952604-2729:/home/lemkemch:/bin/tcsh
> 
> >
> >> C:\NCygwin\bin>id
> >> uid=4294967295(Unknown+User) gid=4294967295(Unknown+Group) groups=545(Users),555
> >> (Remote Desktop Users)
> >
> >what does `mkpasswd -d | grep -i lemkemch' print?
> 
> C:\NCygwin\bin>mkpasswd -d | grep -i lemkemch
> lemkemch:*:1175788:1049089:XXXXXXXX\lemkemch,S-1-5-21-435809281-806517502-2525237208-127212:/home/lemkemch:/bin/bash

Ouch.  Your user SID from AD is different to the one in /etc/passwd.

> Note that "they" did a domain switch here at some point.  My installation 
> is really old and the passwd certainly is from before that domain change.

That explains it.  Please recreate your /etc/passwd and /etc/group
files with mkpasswd and mkgroup, or, even better, just discard them.

The problem is the domain switch which also changed the SID of your user
account.  The old SID, which you also have in your passwd, is not
returned by the server anymore.  But it's stored in your SID history in
AD and when asking for it you get an answer.

> >> Anything else you'd like me try?
> >
> >Can you change /etc/nsswitch.conf to "db" only, stop all cygwin
> >processes and restart a shell?  What does `getent passwd %USERNAME%'
> >and `id' print now?  How does an strace of this getent call look like?
> 
> C:\NCygwin\bin>vi ..\etc\nsswitch.conf
> 
> C:\NCygwin\bin>cat ..\etc\nsswitch.conf
> passwd: db
> group: db
> 
> C:\NCygwin\bin>getent passwd %USERNAME%
> lemkemch:*:1175788:1049089:XXXXXXX\lemkemch,S-1-5-21-435809281-806517502-25
> 25237208-127212:/home/lemkemch:/bin/bash
> 
> C:\NCygwin\bin>id
> uid=1175788(lemkemch) gid=1049089(Domain Users) groups=1049089(Domain Users),...
> many many groups I don't like to post here.

So it works.  That's cool.  I'd suggest to throw away your passwd and
group files and live happily ever after.

> > I'm grabbing for straws...
> 
> I noticed something else: With nsswitch.conf db:
> 
> > ls -l
> ...
> -rw-rwxr--+ 1 lemkemch OLDDOMAIN+Domain Users      10057 Oct 21  2013 testresults.xml
> drwxr-xr-x+ 1 lemkemch OLDDOMAIN+Domain Users          0 Nov  9  2010 tidy4aug00
> drwxrwxr-x+ 1 lemkemch Domain Users                   0 May 14  2014 tinymce
> drwxr-xr-x+ 1 lemkemch OLDDOMAIN+Domain Users          0 Jan 13  2012 tomahawk-1.1.11
> ...
> > ls -ln
> ...
> -rw-rwxr--+ 1 1051305 1073742337      10057 Oct 21  2013 testresults.xml
> drwxr-xr-x+ 1 1051305 1073742337          0 Nov  9  2010 tidy4aug00
> drwxrwxr-x+ 1 1175788    1049089          0 May 14  2014 tinymce
> drwxr-xr-x+ 1 1051305 1073742337          0 Jan 13  2012 tomahawk-1.1.11
> ...
> 
> Note the different numerical id's that translate to the same username.
> Don't know if it means anything.  I just find it weird.

That's due to your SID history.  It's a bit hard to explain, but that
occurs when "they" switch to a new domain with different SIDs.  When
asking for the new and the old SID, the same username is returned since
both are your SIDs, one old, one new.

I strongly recommend not to use the old SID anymore.  The reason is that
Cygwin will create all these files with the old SIDs.  However, your
actual user token has the new SID.  Uh, as I wrote, hard to explain and
a weird situation.

Downside: Cygwin can't handle the old SIDs from your SID history quite
correctly.  Trying to support them as well would slow down the user and
group lookups a lot.  If you can live with what we just found out and
the solution I suggested, I'd be rather happy :}


Thanks,
Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* RE: update trouble 1.7.35
  2015-03-24 17:03             ` Corinna Vinschen
@ 2015-03-24 18:40               ` Lemke, Michael  ST/HZA-ZSW
  2015-03-24 18:59                 ` Andrey Repin
  2015-03-24 20:42                 ` Corinna Vinschen
  0 siblings, 2 replies; 26+ messages in thread
From: Lemke, Michael  ST/HZA-ZSW @ 2015-03-24 18:40 UTC (permalink / raw)
  To: cygwin

On Tuesday, March 24, 2015 5:49 PM Corinna Vinschen wrote:
>On Mar 24 16:25, Lemke, Michael  ST/HZA-ZSW wrote:
>> On March 24, 2015 4:50 PM Corinna Vinschen wrote:
>> >On Mar 24 15:19, Lemke, Michael  ST/HZA-ZSW wrote:
>> >> C:\NCygwin\bin>cat ..\etc\nsswitch.conf
>> >> passwd: files
>> >> group: files
>> >> 
>> >> C:\NCygwin\bin>getent passwd %USERNAME%
>> >> lemkemch:unused:12729:10513:U-INA-DE01\lemkemch,S-1-5-21-1373454394-1654746546-1
>> >> 846952604-2729:/home/lemkemch:/bin/tcsh
>> >
>> >Is that what you have in /etc/passwd?
>> 
>> Oops, thought I also showed passwd:
>> 
>> C:\NCygwin\bin>cat ..\etc\passwd
>> lemkemch:unused:12729:10513:U-INA-DE01\lemkemch,S-1-5-21-1373454394-1654746546-1846952604-2729:/home/lemkemch:/bin/tcsh
>> 
>> >
>> >> C:\NCygwin\bin>id
>> >> uid=4294967295(Unknown+User) gid=4294967295(Unknown+Group) groups=545(Users),555
>> >> (Remote Desktop Users)
>> >
>> >what does `mkpasswd -d | grep -i lemkemch' print?
>> 
>> C:\NCygwin\bin>mkpasswd -d | grep -i lemkemch
>> lemkemch:*:1175788:1049089:XXXXXXXX\lemkemch,S-1-5-21-435809281-806517502-2525237208-127212:/home/lemkemch:/bin/bash
>
>Ouch.  Your user SID from AD is different to the one in /etc/passwd.
>
>> Note that "they" did a domain switch here at some point.  My installation 
>> is really old and the passwd certainly is from before that domain change.
>
>That explains it.  Please recreate your /etc/passwd and /etc/group
>files with mkpasswd and mkgroup, or, even better, just discard them.
>

I just created new ones.  I like passwd/group much better than AD, sorry.  
Just like real unix before the invention of yellow pages and nis.  This 
way I can easily give different shells to different users (not that it is
really important at the moment).

In nsswitch.conf I put 
passwd: files db
group: files db

and ls listings seem to look fine.  Login is also possible again
with correct tcsh shell.

>The problem is the domain switch which also changed the SID of your user
>account.  The old SID, which you also have in your passwd, is not
>returned by the server anymore.  But it's stored in your SID history in
>AD and when asking for it you get an answer.

So, to sort of sum this up: the new cygwin doesn't deal well with 
contradicting entries in passwd and AD.  Or something like that.  Maybe 
you can at least make the login process generate an error message.  I just
realize there is one (which started this whole thread) but if you start 
cygwin from a minty shortcut (as I do and as it is the default I think) all 
you get is a flashing window.  I added "-h always" to the mintty options
to actually see the message.

>> 
>> I noticed something else: With nsswitch.conf db:
>> 
>> > ls -l
>> ...
>> -rw-rwxr--+ 1 lemkemch OLDDOMAIN+Domain Users      10057 Oct 21  2013 testresults.xml
>> drwxr-xr-x+ 1 lemkemch OLDDOMAIN+Domain Users          0 Nov  9  2010 tidy4aug00
>> drwxrwxr-x+ 1 lemkemch Domain Users                   0 May 14  2014 tinymce
>> drwxr-xr-x+ 1 lemkemch OLDDOMAIN+Domain Users          0 Jan 13  2012 tomahawk-1.1.11
>> ...
>> > ls -ln
>> ...
>> -rw-rwxr--+ 1 1051305 1073742337      10057 Oct 21  2013 testresults.xml
>> drwxr-xr-x+ 1 1051305 1073742337          0 Nov  9  2010 tidy4aug00
>> drwxrwxr-x+ 1 1175788    1049089          0 May 14  2014 tinymce
>> drwxr-xr-x+ 1 1051305 1073742337          0 Jan 13  2012 tomahawk-1.1.11
>> ...
>> 
>> Note the different numerical id's that translate to the same username.
>> Don't know if it means anything.  I just find it weird.
>
>That's due to your SID history.  It's a bit hard to explain, but that
>occurs when "they" switch to a new domain with different SIDs.  When
>asking for the new and the old SID, the same username is returned since
>both are your SIDs, one old, one new.
>
>I strongly recommend not to use the old SID anymore.  The reason is that
>Cygwin will create all these files with the old SIDs.  However, your
>actual user token has the new SID.  Uh, as I wrote, hard to explain and
>a weird situation.

Ok, I think I get it.

>
>Downside: Cygwin can't handle the old SIDs from your SID history quite
>correctly.  

Actually, with "files db" it seems to handle it quite well.  I get the same
username for both kind of files.  There are still lots of files in my
home I created before the domain switch.

>Trying to support them as well would slow down the user and
>group lookups a lot.  If you can live with what we just found out and
>the solution I suggested, I'd be rather happy :}
>

Yes, I am happy now.


Thanks,
Michael

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-24 18:40               ` Lemke, Michael  ST/HZA-ZSW
@ 2015-03-24 18:59                 ` Andrey Repin
  2015-03-24 20:42                 ` Corinna Vinschen
  1 sibling, 0 replies; 26+ messages in thread
From: Andrey Repin @ 2015-03-24 18:59 UTC (permalink / raw)
  To: Lemke, Michael  ST/HZA-ZSW, cygwin

Greetings, Lemke, Michael  ST/HZA-ZSW!

> I just created new ones.  I like passwd/group much better than AD, sorry.
> Just like real unix before the invention of yellow pages and nis.  This 
> way I can easily give different shells to different users

You can give them in AD the same way. And they will persist through your
system reinstalls and hardware changes.
Having millions of separate file "databases" you have to maintain was never a
good idea, and people were always looking for ways to simplify the management
overhead.

> (not that it is really important at the moment).

> In nsswitch.conf I put 
> passwd: files db
> group: files db

> and ls listings seem to look fine.  Login is also possible again
> with correct tcsh shell.

>>The problem is the domain switch which also changed the SID of your user
>>account.  The old SID, which you also have in your passwd, is not
>>returned by the server anymore.  But it's stored in your SID history in
>>AD and when asking for it you get an answer.

> So, to sort of sum this up: the new cygwin doesn't deal well with 
> contradicting entries in passwd and AD.

It doesn't deal with them at all. It works with what it is given.

> Or something like that.  Maybe you can at least make the login process
> generate an error message.

What kind of error message?

> I just
> realize there is one (which started this whole thread) but if you start 
> cygwin from a minty shortcut (as I do and as it is the default I think) all 
> you get is a flashing window.  I added "-h always" to the mintty options
> to actually see the message.

Weird local setups, like yours, is what was the primary reason to rewrite the
user handling in Cygwin in first place. To have more transparent link to the
underlying system calls.

>>> 
>>> I noticed something else: With nsswitch.conf db:
>>> 
>>> > ls -l
>>> ...
>>> -rw-rwxr--+ 1 lemkemch OLDDOMAIN+Domain Users      10057 Oct 21  2013 testresults.xml
>>> drwxr-xr-x+ 1 lemkemch OLDDOMAIN+Domain Users          0 Nov  9  2010 tidy4aug00
>>> drwxrwxr-x+ 1 lemkemch Domain Users                   0 May 14  2014 tinymce
>>> drwxr-xr-x+ 1 lemkemch OLDDOMAIN+Domain Users          0 Jan 13  2012 tomahawk-1.1.11
>>> ...
>>> > ls -ln
>>> ...
>>> -rw-rwxr--+ 1 1051305 1073742337      10057 Oct 21  2013 testresults.xml
>>> drwxr-xr-x+ 1 1051305 1073742337          0 Nov  9  2010 tidy4aug00
>>> drwxrwxr-x+ 1 1175788    1049089          0 May 14  2014 tinymce
>>> drwxr-xr-x+ 1 1051305 1073742337          0 Jan 13  2012 tomahawk-1.1.11
>>> ...
>>> 
>>> Note the different numerical id's that translate to the same username.
>>> Don't know if it means anything.  I just find it weird.
>>
>>That's due to your SID history.  It's a bit hard to explain, but that
>>occurs when "they" switch to a new domain with different SIDs.  When
>>asking for the new and the old SID, the same username is returned since
>>both are your SIDs, one old, one new.
>>
>>I strongly recommend not to use the old SID anymore.  The reason is that
>>Cygwin will create all these files with the old SIDs.  However, your
>>actual user token has the new SID.  Uh, as I wrote, hard to explain and
>>a weird situation.

> Ok, I think I get it.

>>
>>Downside: Cygwin can't handle the old SIDs from your SID history quite
>>correctly.  

> Actually, with "files db" it seems to handle it quite well.  I get the same
> username for both kind of files.  There are still lots of files in my
> home I created before the domain switch.

That's because Cygwin ask system "who is that man with this face(SID)?" and
get the answer, that it is you, because that SID is in your history.
Nothing is changed, really. And nothing should, in this regard.

>>Trying to support them as well would slow down the user and
>>group lookups a lot.  If you can live with what we just found out and
>>the solution I suggested, I'd be rather happy :}
>>

> Yes, I am happy now.

You can get better results, if you define default shell in nsswitch.conf,
rather than hose Cygwin back into 20'st century with your files db.
I assume, you're the only one who's using this system, right?
So, the change wouldn't affect anyone else.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 24.03.2015, <21:37>

Sorry for my terrible english...


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

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-24 18:40               ` Lemke, Michael  ST/HZA-ZSW
  2015-03-24 18:59                 ` Andrey Repin
@ 2015-03-24 20:42                 ` Corinna Vinschen
  1 sibling, 0 replies; 26+ messages in thread
From: Corinna Vinschen @ 2015-03-24 20:42 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2717 bytes --]

On Mar 24 17:56, Lemke, Michael  ST/HZA-ZSW wrote:
> On Tuesday, March 24, 2015 5:49 PM Corinna Vinschen wrote:
> >> Note that "they" did a domain switch here at some point.  My installation 
> >> is really old and the passwd certainly is from before that domain change.
> >
> >That explains it.  Please recreate your /etc/passwd and /etc/group
> >files with mkpasswd and mkgroup, or, even better, just discard them.
> >
> 
> I just created new ones.  I like passwd/group much better than AD, sorry.  
> Just like real unix before the invention of yellow pages and nis.

Yeah, but real unix these days is NIS+ or FreeIPA, or... even AD :)

> This 
> way I can easily give different shells to different users (not that it is
> really important at the moment).

You can do that in AD as well.  Or, as long as all users want the same
shell, you can simply use `db_shell: /bin/tcsh'.

> In nsswitch.conf I put 
> passwd: files db
> group: files db

That's the default setting.  You can simply remove nsswitch.conf in this
case, which should result in a slightly faster startup because Cygwin
doesn't have to scan YA file.

> and ls listings seem to look fine.  Login is also possible again
> with correct tcsh shell.

I'm glad to read that.

> >The problem is the domain switch which also changed the SID of your user
> >account.  The old SID, which you also have in your passwd, is not
> >returned by the server anymore.  But it's stored in your SID history in
> >AD and when asking for it you get an answer.
> 
> So, to sort of sum this up: the new cygwin doesn't deal well with 
> contradicting entries in passwd and AD. 

Basically, yes.  More to the point, your user token and your passwd
file contradict each other.  The user and owner entry in your
user token is your new SID.  The old SID only shows up in the token's
group list, afaik.

> >Downside: Cygwin can't handle the old SIDs from your SID history quite
> >correctly.  
> 
> Actually, with "files db" it seems to handle it quite well.  I get the same
> username for both kind of files.  There are still lots of files in my
> home I created before the domain switch.

Ok, I just can't guarantee that it always works.  The SID history stuff
is a weird solution for a weird problem.

> >Trying to support them as well would slow down the user and
> >group lookups a lot.  If you can live with what we just found out and
> >the solution I suggested, I'd be rather happy :}
> >
> 
> Yes, I am happy now.

Then I am, too :)


Thanks,
Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-25  9:25         ` Corinna Vinschen
@ 2015-03-25 14:39           ` Steve Johnson
  0 siblings, 0 replies; 26+ messages in thread
From: Steve Johnson @ 2015-03-25 14:39 UTC (permalink / raw)
  To: cygwin

Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> After exiting all Cygwin processes, including any running cygserver
> service and starting a fresh, new shell?

Indeed, I do not have any cygwin processes running, nor any cygserver (from 
processes from all users + service, with admin rights)

> If so, this is an strace output from getent or id I'm interested in!

Added both to the mail

> Also, can I see your nsswitch.conf file, just to be sure it doesn't
> have a layout problem (i.e. the colons)?  Do you still have your
> /etc/passwd and /etc/group files and are they still in /etc?

I added the nsswitch.conf file. However, as mentioned previously, no 
/etc/passwd or /etc/group files were ever created

> Can you resend or generate a new one as excitedly outlined above?  Your
> mail somehow didn't make it (Typo in my name?  You wouldn't be the first
> one...)

I have just resent it, copy-pasted from the key, so hopefully all should be 
good. It was the first time I used Mailvelope and I think I forgot one step. 
Please let me know if you haven't received it.

Thanks!




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

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-25  6:19       ` Steve Johnson
@ 2015-03-25  9:25         ` Corinna Vinschen
  2015-03-25 14:39           ` Steve Johnson
  0 siblings, 1 reply; 26+ messages in thread
From: Corinna Vinschen @ 2015-03-25  9:25 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1367 bytes --]

On Mar 25 02:01, Steve Johnson wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> 
> > 
> > 
> > from the keyserver hkp://keys.gnupg.net.  However, what about my
> > questions about setting "db" only in nsswitch.conf?  Does it help?
> > Do you have a SID history, too, by any chance?
> > 
> 
> The last test that I did was with "db" only in nsswitch.conf and
> unfortunately no, it did not help.

After exiting all Cygwin processes, including any running cygserver
service and starting a fresh, new shell?

If so, this is an strace output from getent or id I'm interested in!

Also, can I see your nsswitch.conf file, just to be sure it doesn't
have a layout problem (i.e. the colons)?  Do you still have your
/etc/passwd and /etc/group files and are they still in /etc?

> I have also checked and I do not
> have an SID history. I hightly doubted as this is a new account, but
> double checked and all OK.
> 
> I have sent trace file and cygcheck -srv to your other specified email address.

Can you resend or generate a new one as excitedly outlined above?  Your
mail somehow didn't make it (Typo in my name?  You wouldn't be the first
one...)


Thanks,
Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-24 21:28     ` Corinna Vinschen
@ 2015-03-25  6:19       ` Steve Johnson
  2015-03-25  9:25         ` Corinna Vinschen
  0 siblings, 1 reply; 26+ messages in thread
From: Steve Johnson @ 2015-03-25  6:19 UTC (permalink / raw)
  To: cygwin

Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:

> 
> 
> from the keyserver hkp://keys.gnupg.net.  However, what about my
> questions about setting "db" only in nsswitch.conf?  Does it help?
> Do you have a SID history, too, by any chance?
> 

The last test that I did was with "db" only in nsswitch.conf and unfortunately 
no, it did not help. I have also checked and I do not have an SID history. I 
hightly doubted as this is a new account, but double checked and all OK.

I have sent trace file and cygcheck -srv to your other specified email address.

Thanks again,
Steve Johnson





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

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-24 19:53   ` Steve Johnson
@ 2015-03-24 21:28     ` Corinna Vinschen
  2015-03-25  6:19       ` Steve Johnson
  0 siblings, 1 reply; 26+ messages in thread
From: Corinna Vinschen @ 2015-03-24 21:28 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 964 bytes --]

On Mar 24 19:43, Steve Johnson wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> 
> > 
> > This "uid=4294967295(Unknown+User) gid=4294967295(Unknown+Group)"
> > should only happen if you have /etc/nsswitch.conf is set to "files"
> > only, and there's no entry in /etc/passwd with a matching SID.
> > That's the only way I can reproduce this behaviour.
> > 
> > Corinna
> > 
> 
> 
> Hi Corinna,
> 
> Where could I get the gpg key to send, as you had suggested earlier? I've tried 
> posting replies with the requested information many times, but they all have 
> seemed to fail...

from the keyserver hkp://keys.gnupg.net.  However, what about my
questions about setting "db" only in nsswitch.conf?  Does it help?
Do you have a SID history, too, by any chance?


Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-24 16:48 ` Corinna Vinschen
@ 2015-03-24 19:53   ` Steve Johnson
  2015-03-24 21:28     ` Corinna Vinschen
  0 siblings, 1 reply; 26+ messages in thread
From: Steve Johnson @ 2015-03-24 19:53 UTC (permalink / raw)
  To: cygwin

Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:

> 
> This "uid=4294967295(Unknown+User) gid=4294967295(Unknown+Group)"
> should only happen if you have /etc/nsswitch.conf is set to "files"
> only, and there's no entry in /etc/passwd with a matching SID.
> That's the only way I can reproduce this behaviour.
> 
> Corinna
> 


Hi Corinna,

Where could I get the gpg key to send, as you had suggested earlier? I've tried 
posting replies with the requested information many times, but they all have 
seemed to fail...

Sorry for the added complexity.

Thanks,
Steve Johnson


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

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
  2015-03-24 16:25 Steve Johnson
@ 2015-03-24 16:48 ` Corinna Vinschen
  2015-03-24 19:53   ` Steve Johnson
  0 siblings, 1 reply; 26+ messages in thread
From: Corinna Vinschen @ 2015-03-24 16:48 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2954 bytes --]

On Mar 24 12:22, Steve Johnson wrote:
> Unfortunately, that is one piece of information that I forgot to mention
> after I had removed stripped out the output of the commands. I get no output
> whatsoever from getent. Here is the output of the commands, when I had run
> them this morning:
> 
> C:\cygwin64\bin>getent passwd %USERNAME%
> 
> C:\cygwin64\bin>id
> uid=4294967295(Unknown+User) gid=4294967295(Unknown+Group)
> groups=545(Users),544(Admins),4(A1),66049(A2),11(Auth users),15(This
> org),4095(CurrentSession),66048(LOCAL),1056170(A3),1057070(A4),1051115(A5),1
> 051005(A6),1056095(A7),1056192(A8),1051509(A9),1054768(A10),1057114(A11),104
> 9887(A12),1068445(A13),1051461(A14),1057115(A15),1056098(A16),1068744(A17),1
> 050912(A18),1068708(A19),1052088(A20),1053844(A21),1057175(A22),1053843(A23)
> ,1051713(A24),1054212(A25),1057536(A26),1050984(A28),1054460(A29),1057071(A3
> 0),1055832(A31),1055117(A32),1051006(A33),1057060(A34),1068699(A35),1054464(
> A36),1054462(A37),1054195(A38),1053997(A39),1054461(A40),1051464(A41),105172
> 5(A42),1057094(A43),1049914(A44),1050873(A44),1051719(A45),1055144(A46),1051
> 617(A47),1056091(A48),1055831(A49),1051093(A50),1068698(A51),1050648(A52),10
> 51842(A53),1051159(A54),1051187(A55),405504(A56)
> 
> I ran id again, before writing this reply, and only got the following:
> 
> C:\cygwin64\bin>id
> uid=4294967295(Unknown+User) gid=4294967295(Unknown+Group)

So it create a different output the second time?!?

What does your /etc/nsswitch.conf look like?

If you set /etc/nsswitch.conf to

  passwd: db
  group: db

stop all Cygwin processes, start a shell and call `id' again, what
does it look like?  Can you provide an strace of `id' with this
setting?


Thanks,
Corinna

>   206    8281 [main] getent 4532 transport_layer_pipes::connect: Try to
> connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
>    53    8334 [main] getent 4532 transport_layer_pipes::connect: Error
> opening the pipe (2)
>    46    8380 [main] getent 4532 client_request::make_request: cygserver un-
> available
> 10223   18603 [main] getent 4532 internal_getlogin: user not found in passwd
> DB

This looks strange.  When connecting cygserver fails, Cygwin is supposed
to fall back to reading /etc/passwd (if "files" is given) and if that
fails as well, fall back to "db" (if "db" is given).  And the latter
should produce additional output, which just doesn't show up.  I don't
see why, unless your /etc/nsswitch.conf forbids "db".

This "uid=4294967295(Unknown+User) gid=4294967295(Unknown+Group)"
should only happen if you have /etc/nsswitch.conf is set to "files"
only, and there's no entry in /etc/passwd with a matching SID.
That's the only way I can reproduce this behaviour.


Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: update trouble 1.7.35
@ 2015-03-24 16:25 Steve Johnson
  2015-03-24 16:48 ` Corinna Vinschen
  0 siblings, 1 reply; 26+ messages in thread
From: Steve Johnson @ 2015-03-24 16:25 UTC (permalink / raw)
  To: cygwin

Unfortunately, that is one piece of information that I forgot to mention
after I had removed stripped out the output of the commands. I get no output
whatsoever from getent. Here is the output of the commands, when I had run
them this morning:

C:\cygwin64\bin>getent passwd %USERNAME%

C:\cygwin64\bin>id
uid=4294967295(Unknown+User) gid=4294967295(Unknown+Group)
groups=545(Users),544(Admins),4(A1),66049(A2),11(Auth users),15(This
org),4095(CurrentSession),66048(LOCAL),1056170(A3),1057070(A4),1051115(A5),1
051005(A6),1056095(A7),1056192(A8),1051509(A9),1054768(A10),1057114(A11),104
9887(A12),1068445(A13),1051461(A14),1057115(A15),1056098(A16),1068744(A17),1
050912(A18),1068708(A19),1052088(A20),1053844(A21),1057175(A22),1053843(A23)
,1051713(A24),1054212(A25),1057536(A26),1050984(A28),1054460(A29),1057071(A3
0),1055832(A31),1055117(A32),1051006(A33),1057060(A34),1068699(A35),1054464(
A36),1054462(A37),1054195(A38),1053997(A39),1054461(A40),1051464(A41),105172
5(A42),1057094(A43),1049914(A44),1050873(A44),1051719(A45),1055144(A46),1051
617(A47),1056091(A48),1055831(A49),1051093(A50),1068698(A51),1050648(A52),10
51842(A53),1051159(A54),1051187(A55),405504(A56)

I ran id again, before writing this reply, and only got the following:

C:\cygwin64\bin>id
uid=4294967295(Unknown+User) gid=4294967295(Unknown+Group)


Below is the output from strace of getent command:
    2       2 [main] getent (4532)
**********************************************
  182     184 [main] getent (4532) Program name: C:\cygwin64\bin\getent.exe
(windows pid 4532)
   57     241 [main] getent (4532) OS version:   Windows NT-6.1
   28     269 [main] getent (4532)
**********************************************
  163     432 [main] getent (4532) sigprocmask: 0 = sigprocmask (0, 0x0,
0x1802D1CA8)
  395     827 [main] getent 4532 open_shared: name shared.5, n 5, shared
0x180030000 (wanted 0x180030000), h 0x60, *m 6
   55     882 [main] getent 4532 user_heap_info::init: heap base
0x600000000, heap top 0x600000000, heap size 0x20000000 (536870912)
  112     994 [main] getent 4532 open_shared: name S-1-5-21-1155469006-
580272788-1541874228-59418.1, n 1, shared 0x180020000 (wanted 0x180020000),
h 0x5C, *m 6
   58    1052 [main] getent 4532 user_info::create: opening user shared for
'S-1-5-21-1155469006-580272788-1541874228-59418' at 0x180020000
   87    1139 [main] getent 4532 user_info::create: user shared version
AB1FCCE8
  114    1253 [main] getent 4532 fhandler_pipe::create: name
\\.\pipe\cygwin-e022582115c10879-4532-sigwait, size 11440, mode
PIPE_TYPE_MESSAGE
   84    1337 [main] getent 4532 fhandler_pipe::create: pipe read handle
0x78
   30    1367 [main] getent 4532 fhandler_pipe::create: CreateFile: name
\\.\pipe\cygwin-e022582115c10879-4532-sigwait
   55    1422 [main] getent 4532 fhandler_pipe::create: pipe write handle
0x7C
   82    1504 [main] getent 4532 dll_crt0_0: finished dll_crt0_0
initialization
 1287    2791 [sig] getent 4532 wait_sig: entering ReadFile loop, my_readsig
0x78, my_sendsig 0x7C
  275    3066 [main] getent 4532 time: 1427207219 = time(0x0)
  104    3170 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\cygwin64\bin, no-keep-rel, no-add-slash)
   48    3218 [main] getent 4532 normalize_win32_path: C:\cygwin64\bin =
normalize_win32_path (C:\cygwin64\bin)
   33    3251 [main] getent 4532 mount_info::conv_to_posix_path: /usr/bin =
conv_to_posix_path (C:\cygwin64\bin)
   54    3305 [main] getent 4532 sigprocmask: 0 = sigprocmask (0, 0x0,
0x600018128)
  211    3516 [main] getent 4532 _cygwin_istext_for_stdio: fd 0: not open
   39    3555 [main] getent 4532 _cygwin_istext_for_stdio: fd 1: not open
   25    3580 [main] getent 4532 _cygwin_istext_for_stdio: fd 2: not open
   94    3674 [main] getent (4532) open_shared: name cygpid.4532, n 4532,
shared 0x180010000 (wanted 0x180010000), h 0xB8, *m 2
   36    3710 [main] ? (4532) time: 1427207219 = time(0x0)
   28    3738 [main] getent 4532 pinfo::thisproc: myself dwProcessId 4532
  110    3848 [main] getent 4532 environ_init: GetEnvironmentStrings
returned 0x408020
   77    3925 [main] getent 4532 environ_init: 0x6000284F0:
!C:=C:\cygwin64\bin
   52    3977 [main] getent 4532 environ_init: 0x600028510:
!ExitCode=00000002
   72    4049 [main] getent 4532 environ_init: 0x600028530:
ALLUSERSPROFILE=C:\ProgramData
   59    4108 [main] getent 4532 environ_init: 0x600028560:
APPDATA=C:\Users\johndoe\AppData\Roaming
   65    4173 [main] getent 4532 environ_init: 0x600028590:
CLASSPATH=.;C:\Program Files (x86)\Java\jre1.8.0_31\lib\ext\QTJava.zip
   45    4218 [main] getent 4532 environ_init: 0x6000285E0:
COMMONPROGRAMFILES=C:\Program Files\Common Files
   42    4260 [main] getent 4532 environ_init: 0x600028620:
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
   42    4302 [main] getent 4532 environ_init: 0x600028670:
CommonProgramW6432=C:\Program Files\Common Files
   53    4355 [main] getent 4532 environ_init: 0x6000286B0:
COMPUTERNAME=LAPTOPA
   55    4410 [main] getent 4532 environ_init: 0x6000286D0:
COMSPEC=C:\WINDOWS\system32\cmd.exe
   72    4482 [main] getent 4532 parse_options: glob (called func)
   62    4544 [main] getent 4532 parse_options: returning
   32    4576 [main] getent 4532 environ_init: 0x600028700: CYGWIN=noglob
   55    4631 [main] getent 4532 environ_init: 0x600028740:
FP_NO_HOST_CHECK=NO
   57    4688 [main] getent 4532 environ_init: 0x600028760: HOMEDRIVE=C:
   51    4739 [main] getent 4532 environ_init: 0x600028780:
HOMEPATH=\Users\johndoe
  149    4888 [main] getent 4532 environ_init: 0x6000287A0:
LOCALAPPDATA=C:\Users\johndoe\AppData\Local
   62    4950 [main] getent 4532 environ_init: 0x6000287E0:
LOGONSERVER=\\BVI212U
   40    4990 [main] getent 4532 environ_init: 0x600028800:
NUMBER_OF_PROCESSORS=4
   39    5029 [main] getent 4532 environ_init: 0x600028820: OS=Windows_NT
   50    5079 [main] getent 4532 getwinenv: can't set native for PATH= since
no environ yet
   50    5129 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\ProgramData\Oracle\Java\javapath, keep-rel, no-add-
slash)
   24    5153 [main] getent 4532 normalize_win32_path:
C:\ProgramData\Oracle\Java\javapath = normalize_win32_path
(C:\ProgramData\Oracle\Java\javapath)
   28    5181 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/ProgramData/Oracle/Java/javapath = conv_to_posix_path
(C:\ProgramData\Oracle\Java\javapath)
   26    5207 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\WINDOWS\system32, keep-rel, no-add-slash)
   23    5230 [main] getent 4532 normalize_win32_path: C:\WINDOWS\system32 =
normalize_win32_path (C:\WINDOWS\system32)
   24    5254 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/WINDOWS/system32 = conv_to_posix_path (C:\WINDOWS\system32)
   25    5279 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\WINDOWS, keep-rel, no-add-slash)
   23    5302 [main] getent 4532 normalize_win32_path: C:\WINDOWS =
normalize_win32_path (C:\WINDOWS)
   24    5326 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/WINDOWS = conv_to_posix_path (C:\WINDOWS)
   25    5351 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\WINDOWS\System32\Wbem, keep-rel, no-add-slash)
   23    5374 [main] getent 4532 normalize_win32_path:
C:\WINDOWS\System32\Wbem = normalize_win32_path (C:\WINDOWS\System32\Wbem)
   25    5399 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/WINDOWS/System32/Wbem = conv_to_posix_path
(C:\WINDOWS\System32\Wbem)
   24    5423 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\WINDOWS\System32\WindowsPowerShell\v1.0, keep-rel,
no-add-slash)
   24    5447 [main] getent 4532 normalize_win32_path:
C:\WINDOWS\System32\WindowsPowerShell\v1.0 = normalize_win32_path
(C:\WINDOWS\System32\WindowsPowerShell\v1.0)
   24    5471 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0 = conv_to_posix_path
(C:\WINDOWS\System32\WindowsPowerShell\v1.0)
   25    5496 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\WINDOWS\System32\WindowsPowerShell\v1.0, keep-rel,
no-add-slash)
   24    5520 [main] getent 4532 normalize_win32_path:
C:\WINDOWS\System32\WindowsPowerShell\v1.0 = normalize_win32_path
(C:\WINDOWS\System32\WindowsPowerShell\v1.0)
   23    5543 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0 = conv_to_posix_path
(C:\WINDOWS\System32\WindowsPowerShell\v1.0)
   25    5568 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\Windows\CCM, keep-rel, no-add-slash)
   23    5591 [main] getent 4532 normalize_win32_path: C:\Windows\CCM =
normalize_win32_path (C:\Windows\CCM)
   24    5615 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/Windows/CCM = conv_to_posix_path (C:\Windows\CCM)
   24    5639 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (c:\outils, keep-rel, no-add-slash)
   23    5662 [main] getent 4532 normalize_win32_path: C:\outils =
normalize_win32_path (c:\outils)
   24    5686 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/outils = conv_to_posix_path (c:\outils)
   24    5710 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\Program Files (x86)\IBM\Client Access\Emulator, keep-
rel, no-add-slash)
   24    5734 [main] getent 4532 normalize_win32_path: C:\Program Files
(x86)\IBM\Client Access\Emulator = normalize_win32_path (C:\Program Files
(x86)\IBM\Client Access\Emulator)
   34    5768 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/Program Files (x86)/IBM/Client Access/Emulator =
conv_to_posix_path (C:\Program Files (x86)\IBM\Client Access\Emulator)
   29    5797 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\Program Files (x86)\IBM\Client Access\Shared, keep-
rel, no-add-slash)
   24    5821 [main] getent 4532 normalize_win32_path: C:\Program Files
(x86)\IBM\Client Access\Shared = normalize_win32_path (C:\Program Files
(x86)\IBM\Client Access\Shared)
   24    5845 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/Program Files (x86)/IBM/Client Access/Shared =
conv_to_posix_path (C:\Program Files (x86)\IBM\Client Access\Shared)
   25    5870 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\Program Files (x86)\IBM\Client Access, keep-rel, no-
add-slash)
   24    5894 [main] getent 4532 normalize_win32_path: C:\Program Files
(x86)\IBM\Client Access = normalize_win32_path (C:\Program Files
(x86)\IBM\Client Access)
   24    5918 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/Program Files (x86)/IBM/Client Access = conv_to_posix_path
(C:\Program Files (x86)\IBM\Client Access)
   24    5942 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\Program Files (x86)\QuickTime\QTSystem, keep-rel, no-
add-slash)
   24    5966 [main] getent 4532 normalize_win32_path: C:\Program Files
(x86)\QuickTime\QTSystem = normalize_win32_path (C:\Program Files
(x86)\QuickTime\QTSystem)
   24    5990 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/Program Files (x86)/QuickTime/QTSystem = conv_to_posix_path
(C:\Program Files (x86)\QuickTime\QTSystem)
   24    6014 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\Program Files (x86)\Enterprise Vault\EVClient, keep-
rel, no-add-slash)
   24    6038 [main] getent 4532 normalize_win32_path: C:\Program Files
(x86)\Enterprise Vault\EVClient = normalize_win32_path (C:\Program Files
(x86)\Enterprise Vault\EVClient)
   24    6062 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/Program Files (x86)/Enterprise Vault/EVClient =
conv_to_posix_path (C:\Program Files (x86)\Enterprise Vault\EVClient)
   25    6087 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\Program Files\Microsoft Network Monitor 3, keep-rel,
no-add-slash)
   23    6110 [main] getent 4532 normalize_win32_path: C:\Program
Files\Microsoft Network Monitor 3 = normalize_win32_path (C:\Program
Files\Microsoft Network Monitor 3)
   25    6135 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/Program Files/Microsoft Network Monitor 3 = conv_to_posix_path
(C:\Program Files\Microsoft Network Monitor 3)
   60    6195 [main] getent 4532 win_env::add_cache: posix
/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/c
ygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/Syst
em32/WindowsPowerShell/v1.0:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v
1.0:/cygdrive/c/Windows/CCM:/cygdrive/c/outils:/cygdrive/c/Program Files
(x86)/IBM/Client Access/Emulator:/cygdrive/c/Program Files (x86)/IBM/Client
Access/Shared:/cygdrive/c/Program Files (x86)/IBM/Client
Access:/cygdrive/c/Program Files
(x86)/QuickTime/QTSystem:/cygdrive/c/Program Files (x86)/Enterprise
Vault/EVClient:/cygdrive/c/Program Files/Microsoft Network Monitor 3
   28    6223 [main] getent 4532 win_env::add_cache: native
PATH=C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\W
INDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\
System32\WindowsPowerShell\v1.0\;C:\Windows\CCM;c:\outils;C:\Program Files
(x86)\IBM\Client Access\Emulator;C:\Program Files (x86)\IBM\Client
Access\Shared;C:\Program Files (x86)\IBM\Client Access\;C:\Program Files
(x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Enterprise
Vault\EVClient\;C:\Program Files\Microsoft Network Monitor 3\
   28    6251 [main] getent 4532 posify_maybe: env var converted to
PATH=/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system
32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS
/System32/WindowsPowerShell/v1.0:/cygdrive/c/WINDOWS/System32/WindowsPowerSh
ell/v1.0:/cygdrive/c/Windows/CCM:/cygdrive/c/outils:/cygdrive/c/Program
Files (x86)/IBM/Client Access/Emulator:/cygdrive/c/Program Files
(x86)/IBM/Client Access/Shared:/cygdrive/c/Program Files (x86)/IBM/Client
Access:/cygdrive/c/Program Files
(x86)/QuickTime/QTSystem:/cygdrive/c/Program Files (x86)/Enterprise
Vault/EVClient:/cygdrive/c/Program Files/Microsoft Network Monitor 3
   63    6314 [main] getent 4532 environ_init: 0x600038EC0:
PATH=/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system
32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS
/System32/WindowsPowerShell/v1.0:/cygdrive/c/WINDOWS/System32/WindowsPowerSh
ell/v1.0:/cygdrive/c/Windows/CCM:/cygdrive/c/outils:/cygdrive/c/Program
Files (x86)/IBM/Client Access/Emulator:/cygdrive/c/Program Files
(x86)/IBM/Client Access/Shared:/cygdrive/c/Program Files (x86)/IBM/Client
Access:/cygdrive/c/Program Files
(x86)/QuickTime/QTSystem:/cygdrive/c/Program Files (x86)/Enterprise
Vault/EVClient:/cygdrive/c/Program Files/Microsoft Network Monitor 3
   49    6363 [main] getent 4532 environ_init: 0x600028840:
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
   41    6404 [main] getent 4532 environ_init: 0x600028890:
PROCESSOR_ARCHITECTURE=AMD64
   41    6445 [main] getent 4532 environ_init: 0x6000288C0:
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
   41    6486 [main] getent 4532 environ_init: 0x600028920:
PROCESSOR_LEVEL=6
   40    6526 [main] getent 4532 environ_init: 0x600028940:
PROCESSOR_REVISION=3c03
   40    6566 [main] getent 4532 environ_init: 0x600028970:
ProgramData=C:\ProgramData
   45    6611 [main] getent 4532 environ_init: 0x6000289A0:
PROGRAMFILES=C:\Program Files
   42    6653 [main] getent 4532 environ_init: 0x6000289D0:
ProgramFiles(x86)=C:\Program Files (x86)
   40    6693 [main] getent 4532 environ_init: 0x600028A10:
ProgramW6432=C:\Program Files
   40    6733 [main] getent 4532 environ_init: 0x600039130: PROMPT=$P$G
   42    6775 [main] getent 4532 environ_init: 0x600039150:
PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\;C:\Program
Files\Microsoft Message Analyzer\PowerShell\
   40    6815 [main] getent 4532 environ_init: 0x6000391E0:
PUBLIC=C:\Users\Public
   40    6855 [main] getent 4532 environ_init: 0x600039200:
QTJAVA=C:\Program Files (x86)\Java\jre1.8.0_31\lib\ext\QTJava.zip
   41    6896 [main] getent 4532 environ_init: 0x600039250:
SESSIONNAME=Console
   39    6935 [main] getent 4532 environ_init: 0x600039270: SYSTEMDRIVE=C:
   41    6976 [main] getent 4532 environ_init: 0x600039290:
SYSTEMROOT=C:\WINDOWS
   40    7016 [main] getent 4532 getwinenv: can't set native for TEMP= since
no environ yet
   23    7039 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\Users\johndoe\AppData\Local\Temp, no-keep-rel, no-
add-slash)
   24    7063 [main] getent 4532 normalize_win32_path:
C:\Users\johndoe\AppData\Local\Temp = normalize_win32_path
(C:\Users\johndoe\AppData\Local\Temp)
   25    7088 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/Users/johndoe/AppData/Local/Temp = conv_to_posix_path
(C:\Users\johndoe\AppData\Local\Temp)
   55    7143 [main] getent 4532 win_env::add_cache: posix
/cygdrive/c/Users/johndoe/AppData/Local/Temp
   22    7165 [main] getent 4532 win_env::add_cache: native
TEMP=C:\Users\johndoe\AppData\Local\Temp
   23    7188 [main] getent 4532 posify_maybe: env var converted to
TEMP=/cygdrive/c/Users/johndoe/AppData/Local/Temp
   54    7242 [main] getent 4532 environ_init: 0x600039350:
TEMP=/cygdrive/c/Users/johndoe/AppData/Local/Temp
   41    7283 [main] getent 4532 getwinenv: can't set native for TMP= since
no environ yet
   23    7306 [main] getent 4532 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\Users\johndoe\AppData\Local\Temp, no-keep-rel, no-
add-slash)
   24    7330 [main] getent 4532 normalize_win32_path:
C:\Users\johndoe\AppData\Local\Temp = normalize_win32_path
(C:\Users\johndoe\AppData\Local\Temp)
   51    7381 [main] getent 4532 mount_info::conv_to_posix_path:
/cygdrive/c/Users/johndoe/AppData/Local/Temp = conv_to_posix_path
(C:\Users\johndoe\AppData\Local\Temp)
   62    7443 [main] getent 4532 win_env::add_cache: posix
/cygdrive/c/Users/johndoe/AppData/Local/Temp
   23    7466 [main] getent 4532 win_env::add_cache: native
TMP=C:\Users\johndoe\AppData\Local\Temp
   23    7489 [main] getent 4532 posify_maybe: env var converted to
TMP=/cygdrive/c/Users/johndoe/AppData/Local/Temp
   54    7543 [main] getent 4532 environ_init: 0x600039400:
TMP=/cygdrive/c/Users/johndoe/AppData/Local/Temp
   41    7584 [main] getent 4532 environ_init: 0x600039440:
UATDATA=C:\WINDOWS\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
   39    7623 [main] getent 4532 environ_init: 0x6000392B0:
USERDNSDOMAIN=DOMAIN.COM
   39    7662 [main] getent 4532 environ_init: 0x600039490:
USERDOMAIN=DOMAIN
   39    7701 [main] getent 4532 environ_init: 0x6000394B0:
USERDOMAIN_ROAMINGPROFILE=DOMAIN
   38    7739 [main] getent 4532 environ_init: 0x6000394E0: USERNAME=johndoe
   39    7778 [main] getent 4532 environ_init: 0x600039500:
USERPROFILE=C:\Users\johndoe
   39    7817 [main] getent 4532 environ_init: 0x600039530:
WINDIR=C:\WINDOWS
   41    7858 [main] getent 4532 environ_init: 0x600039550:
windows_tracing_flags=3
   40    7898 [main] getent 4532 environ_init: 0x600039580:
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
   55    7953 [main] getent 4532 pinfo_init: Set nice to 0
   24    7977 [main] getent 4532 pinfo_init: pid 4532, pgid 4532,
process_state 0x41
   24    8001 [main] getent 4532 App version:  1007.33, api: 0.280
   23    8024 [main] getent 4532 DLL version:  1007.35, api: 0.287
   22    8046 [main] getent 4532 DLL build:    2015-03-04 12:09
   29    8075 [main] getent 4532 dtable::extend: size 32, fds 0x1802F7F80
  206    8281 [main] getent 4532 transport_layer_pipes::connect: Try to
connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
   53    8334 [main] getent 4532 transport_layer_pipes::connect: Error
opening the pipe (2)
   46    8380 [main] getent 4532 client_request::make_request: cygserver un-
available
10223   18603 [main] getent 4532 internal_getlogin: user not found in passwd
DB
   78   18681 [main] getent 4532 cygheap_user::ontherange: what 2, pw 0x0
   36   18717 [main] getent 4532 cygheap_user::ontherange: Set HOME to
default /home/USER
  120   18837 [main] getent 4532 normalize_posix_path: src /home/johndoe
   28   18865 [main] getent 4532 normalize_posix_path: /home/johndoe =
normalize_posix_path (/home/johndoe)
   27   18892 [main] getent 4532 mount_info::conv_to_win32_path:
conv_to_win32_path (/home/johndoe)
   37   18929 [main] getent 4532 set_flags: flags: binary (0x2)
   28   18957 [main] getent 4532 mount_info::conv_to_win32_path: src_path
/home/johndoe, dst C:\cygwin64\home\johndoe, flags 0x3000A, rc 0
   90   19047 [main] getent 4532 symlink_info::check: 0xC0000034 =
NtCreateFile (\??\C:\cygwin64\home\johndoe)
   36   19083 [main] getent 4532 symlink_info::check: 0xC0000034 =
NtQueryInformationFile (\??\C:\cygwin64\home\johndoe)
   54   19137 [main] getent 4532 symlink_info::check: 0xC0000034 =
NtCreateFile (\??\C:\cygwin64\home\johndoe.lnk)
   36   19173 [main] getent 4532 symlink_info::check: 0xC0000034 =
NtQueryInformationFile (\??\C:\cygwin64\home\johndoe.lnk)
   27   19200 [main] getent 4532 symlink_info::check: 0 =
symlink.check(C:\cygwin64\home\johndoe, 0x22AC50) (0x83000A)
   28   19228 [main] getent 4532 mount_info::conv_to_win32_path:
conv_to_win32_path (/home)
   27   19255 [main] getent 4532 set_flags: flags: binary (0x2)
   26   19281 [main] getent 4532 mount_info::conv_to_win32_path: src_path
/home, dst C:\cygwin64\home, flags 0x3000A, rc 0
   59   19340 [main] getent 4532 symlink_info::check: 0x0 = NtCreateFile
(\??\C:\cygwin64\home)
   54   19394 [main] getent 4532 symlink_info::check: not a symlink
   75   19469 [main] getent 4532 symlink_info::check: 0 =
symlink.check(C:\cygwin64\home, 0x22AC50) (0x3000A)
   31   19500 [main] getent 4532 path_conv::check: this-
>path(C:\cygwin64\home\johndoe), has_acls(1)
   60   19560 [main] getent 4532 win_env::add_cache: posix /home/johndoe
   28   19588 [main] getent 4532 win_env::add_cache: native
HOME=C:\cygwin64\home\johndoe
   46   19634 [main] getent 4532 normalize_posix_path: src /home/johndoe
   26   19660 [main] getent 4532 normalize_posix_path: /home/johndoe =
normalize_posix_path (/home/johndoe)
   26   19686 [main] getent 4532 mount_info::conv_to_win32_path:
conv_to_win32_path (/home/johndoe)
   26   19712 [main] getent 4532 set_flags: flags: binary (0x2)
   26   19738 [main] getent 4532 mount_info::conv_to_win32_path: src_path
/home/johndoe, dst C:\cygwin64\home\johndoe, flags 0x3000A, rc 0
   58   19796 [main] getent 4532 symlink_info::check: 0xC0000034 =
NtCreateFile (\??\C:\cygwin64\home\johndoe)
   32   19828 [main] getent 4532 symlink_info::check: 0xC0000034 =
NtQueryInformationFile (\??\C:\cygwin64\home\johndoe)
   50   19878 [main] getent 4532 symlink_info::check: 0xC0000034 =
NtCreateFile (\??\C:\cygwin64\home\johndoe.lnk)
   29   19907 [main] getent 4532 symlink_info::check: 0xC0000034 =
NtQueryInformationFile (\??\C:\cygwin64\home\johndoe.lnk)
   26   19933 [main] getent 4532 symlink_info::check: 0 =
symlink.check(C:\cygwin64\home\johndoe, 0x22ACC0) (0x83000A)
   28   19961 [main] getent 4532 mount_info::conv_to_win32_path:
conv_to_win32_path (/home)
   26   19987 [main] getent 4532 set_flags: flags: binary (0x2)
   26   20013 [main] getent 4532 mount_info::conv_to_win32_path: src_path
/home, dst C:\cygwin64\home, flags 0x3000A, rc 0
   50   20063 [main] getent 4532 symlink_info::check: 0x0 = NtCreateFile
(\??\C:\cygwin64\home)
   41   20104 [main] getent 4532 symlink_info::check: not a symlink
   53   20157 [main] getent 4532 symlink_info::check: 0 =
symlink.check(C:\cygwin64\home, 0x22ACC0) (0x3000A)
   30   20187 [main] getent 4532 path_conv::check: this-
>path(C:\cygwin64\home\johndoe), has_acls(1)
   48   20235 [main] getent 4532 win_env::add_cache: posix /home/johndoe
   26   20261 [main] getent 4532 win_env::add_cache: native
HOME=C:\cygwin64\home\johndoe
   83   20344 [main] getent 4532 build_argv: argv[0] = 'getent'
   28   20372 [main] getent 4532 build_argv: argv[1] = 'passwd'
   26   20398 [main] getent 4532 build_argv: argv[2] = 'johndoe'
   26   20424 [main] getent 4532 build_argv: argc 3
  284   20708 [main] getent 4532 open_shared: name e022582115c10879-
cons0x110772.0, n 0, shared 0x180000000 (wanted 0x180000000), h 0x10C, *m 3
 5718   26426 [main] getent 4532 build_fh_pc: created an archetype
(0x1802F8590) for /dev/cons0(3/0)
   76   26502 [main] getent 4532 build_fh_pc: fh 0x1802F8310, dev 00030000
  685   27187 [main] getent 4532 fhandler_console::open: opened conin$ 0x3,
conout$ 0xF
   49   27236 [main] getent 4532 fhandler_base::open_with_arch: line 476:
/dev/cons0<0x1802F8590> usecount + 1 = 1
   19   27255 [main] getent 4532 fhandler_base::set_flags: flags 0x10002,
supplied_bin 0x0
   16   27271 [main] getent 4532 fhandler_base::set_flags: O_TEXT/O_BINARY
set in flags 0x10000
   16   27287 [main] getent 4532 fhandler_base::set_flags: filemode set to
binary
   14   27301 [main] getent 4532 _pinfo::set_ctty: old no ctty, ctty device
number 0xFFFFFFFF, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   16   27317 [main] getent 4532 _pinfo::set_ctty: cygheap->ctty 0x0,
archetype 0x1802F8590
   15   27332 [main] getent 4532 _pinfo::set_ctty: ctty was NULL
   15   27347 [main] getent 4532 _pinfo::set_ctty: line 482:
/dev/cons0<0x1802F8590> usecount + 1 = 2
   15   27362 [main] getent 4532 _pinfo::set_ctty: /dev/cons0 ctty, usecount
2
   16   27378 [main] getent 4532 _pinfo::set_ctty: attaching ctty /dev/cons0
sid 4532, pid 4532, pgid 4532, tty->pgid 4532, tty->sid 0
   16   27394 [main] getent 4532 _pinfo::set_ctty: cygheap->ctty now
0x1802F8590, archetype 0x1802F8590
   32   27426 [main] getent 4532 fhandler_console::output_tcsetattr: 0 =
tcsetattr(,0x18000001C) (ENABLE FLAGS 0x3) (lflag 0x107 oflag 0x9)
   28   27454 [main] getent 4532 fhandler_console::input_tcsetattr: this
0x1802F8310, get_ttyp () 0x180000000, t 0x18000001C
   22   27476 [main] getent 4532 fhandler_base::set_flags: flags 0x10002,
supplied_bin 0x0
   17   27493 [main] getent 4532 fhandler_base::set_flags: O_TEXT/O_BINARY
set in flags 0x10000
   14   27507 [main] getent 4532 fhandler_base::set_flags: filemode set to
binary
   15   27522 [main] getent 4532 _pinfo::set_ctty: old ctty /dev/cons0, ctty
device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   16   27538 [main] getent 4532 _pinfo::set_ctty: attaching ctty /dev/cons0
sid 4532, pid 4532, pgid 4532, tty->pgid 4532, tty->sid 4532
   15   27553 [main] getent 4532 _pinfo::set_ctty: cygheap->ctty now
0x1802F8590, archetype 0x1802F8590
   56   27609 [main] getent 4532 build_fh_pc: found an archetype for (null)
(3/0) io_handle 0x3
   16   27625 [main] getent 4532 build_fh_pc: fh 0x1802F8800, dev 00030000
   17   27642 [main] getent 4532 fhandler_base::open_with_arch: line 496:
/dev/cons0<0x1802F8590> usecount + 1 = 3
   15   27657 [main] getent 4532 fhandler_base::set_flags: flags 0x10002,
supplied_bin 0x0
   15   27672 [main] getent 4532 fhandler_base::set_flags: O_TEXT/O_BINARY
set in flags 0x10000
   15   27687 [main] getent 4532 fhandler_base::set_flags: filemode set to
binary
   14   27701 [main] getent 4532 _pinfo::set_ctty: old ctty /dev/cons0, ctty
device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   15   27716 [main] getent 4532 _pinfo::set_ctty: attaching ctty /dev/cons0
sid 4532, pid 4532, pgid 4532, tty->pgid 4532, tty->sid 4532
   15   27731 [main] getent 4532 _pinfo::set_ctty: cygheap->ctty now
0x1802F8590, archetype 0x1802F8590
   28   27759 [main] getent 4532 fhandler_console::output_tcsetattr: 0 =
tcsetattr(,0x18000001C) (ENABLE FLAGS 0x3) (lflag 0x107 oflag 0x9)
   27   27786 [main] getent 4532 fhandler_console::input_tcsetattr: this
0x1802F8800, get_ttyp () 0x180000000, t 0x18000001C
   16   27802 [main] getent 4532 fhandler_base::set_flags: flags 0x10002,
supplied_bin 0x0
   14   27816 [main] getent 4532 fhandler_base::set_flags: O_TEXT/O_BINARY
set in flags 0x10000
   15   27831 [main] getent 4532 fhandler_base::set_flags: filemode set to
binary
   14   27845 [main] getent 4532 _pinfo::set_ctty: old ctty /dev/cons0, ctty
device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   16   27861 [main] getent 4532 _pinfo::set_ctty: attaching ctty /dev/cons0
sid 4532, pid 4532, pgid 4532, tty->pgid 4532, tty->sid 4532
   15   27876 [main] getent 4532 _pinfo::set_ctty: cygheap->ctty now
0x1802F8590, archetype 0x1802F8590
   50   27926 [main] getent 4532 build_fh_pc: found an archetype for (null)
(3/0) io_handle 0x3
   16   27942 [main] getent 4532 build_fh_pc: fh 0x1802F8A80, dev 00030000
   16   27958 [main] getent 4532 fhandler_base::open_with_arch: line 496:
/dev/cons0<0x1802F8590> usecount + 1 = 4
   15   27973 [main] getent 4532 fhandler_base::set_flags: flags 0x10002,
supplied_bin 0x0
   15   27988 [main] getent 4532 fhandler_base::set_flags: O_TEXT/O_BINARY
set in flags 0x10000
   14   28002 [main] getent 4532 fhandler_base::set_flags: filemode set to
binary
   15   28017 [main] getent 4532 _pinfo::set_ctty: old ctty /dev/cons0, ctty
device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   15   28032 [main] getent 4532 _pinfo::set_ctty: attaching ctty /dev/cons0
sid 4532, pid 4532, pgid 4532, tty->pgid 4532, tty->sid 4532
   15   28047 [main] getent 4532 _pinfo::set_ctty: cygheap->ctty now
0x1802F8590, archetype 0x1802F8590
   27   28074 [main] getent 4532 fhandler_console::output_tcsetattr: 0 =
tcsetattr(,0x18000001C) (ENABLE FLAGS 0x3) (lflag 0x107 oflag 0x9)
   27   28101 [main] getent 4532 fhandler_console::input_tcsetattr: this
0x1802F8A80, get_ttyp () 0x180000000, t 0x18000001C
   16   28117 [main] getent 4532 fhandler_base::set_flags: flags 0x10002,
supplied_bin 0x0
   14   28131 [main] getent 4532 fhandler_base::set_flags: O_TEXT/O_BINARY
set in flags 0x10000
   15   28146 [main] getent 4532 fhandler_base::set_flags: filemode set to
binary
   14   28160 [main] getent 4532 _pinfo::set_ctty: old ctty /dev/cons0, ctty
device number 0x30000, tc.ntty device number 0x30000 flags & O_NOCTTY 0x0
   19   28179 [main] getent 4532 _pinfo::set_ctty: attaching ctty /dev/cons0
sid 4532, pid 4532, pgid 4532, tty->pgid 4532, tty->sid 4532
   17   28196 [main] getent 4532 _pinfo::set_ctty: cygheap->ctty now
0x1802F8590, archetype 0x1802F8590
   62   28258 [main] getent 4532 __set_errno: void dll_crt0_1(void*):999
setting errno 0
  197   28455 [main] getent 4532 __get_lcid_from_locale: LCID=0x0000
   40   28495 [main] getent 4532 __get_lcid_from_locale: LCID=0x0000
   37   28532 [main] getent 4532 __get_lcid_from_locale: LCID=0x0000
   38   28570 [main] getent 4532 __get_lcid_from_locale: LCID=0x0000
   46   28616 [main] getent 4532 __get_lcid_from_locale: LCID=0x0000
  109   28725 [main] getent 4532 do_exit: do_exit (512), exit_state 1
   14   28739 [main] getent 4532 void: 0x0 = signal (20, 0x1)
   15   28754 [main] getent 4532 void: 0x0 = signal (1, 0x1)
   15   28769 [main] getent 4532 void: 0x0 = signal (2, 0x1)
   14   28783 [main] getent 4532 void: 0x0 = signal (3, 0x1)
   16   28799 [main] getent 4532 fhandler_base::close_with_arch: line 1142:
/dev/cons0<0x1802F8590> usecount + -1 = 3
   15   28814 [main] getent 4532 fhandler_base::close_with_arch: not closing
archetype
   15   28829 [main] getent 4532 fhandler_base::close_with_arch: line 1142:
/dev/cons0<0x1802F8590> usecount + -1 = 2
   15   28844 [main] getent 4532 fhandler_base::close_with_arch: not closing
archetype
   34   28878 [main] getent 4532 fhandler_base::close_with_arch: line 1142:
/dev/cons0<0x1802F8590> usecount + -1 = 1
   16   28894 [main] getent 4532 fhandler_base::close_with_arch: not closing
archetype
   15   28909 [main] getent 4532 init_cygheap::close_ctty: closing cygheap-
>ctty 0x1802F8590
   15   28924 [main] getent 4532 fhandler_base::close_with_arch: closing
passed in archetype 0x0, usecount 0
   80   29004 [main] getent 4532 fhandler_console::free_console: freed
console, res 1
   34   29038 [main] getent 4532 dtable::delete_archetype: deleting element
0 for /dev/cons0(3/0)
   27   29065 [main] getent 4532 getpid: 4532 = getpid()
   18   29083 [main] getent 4532 proc_terminate: nprocs 0
   16   29099 [main] getent 4532 proc_terminate: leaving
   17   29116 [main] getent 4532 pinfo::exit: Calling ExitProcess n 0x200,
exitcode 0x2

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

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2015-03-25 12:41 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-23 18:56 update trouble 1.7.35 Lemke, Michael  ST/HZA-ZSW
2015-03-23 19:39 ` Corinna Vinschen
2015-03-24 14:00   ` Steve Johnson
2015-03-24 14:05     ` Corinna Vinschen
2015-03-24 15:50       ` Lemke, Michael  ST/HZA-ZSW
2015-03-24 16:22         ` Corinna Vinschen
2015-03-24 16:33           ` Lemke, Michael  ST/HZA-ZSW
2015-03-24 17:03             ` Corinna Vinschen
2015-03-24 18:40               ` Lemke, Michael  ST/HZA-ZSW
2015-03-24 18:59                 ` Andrey Repin
2015-03-24 20:42                 ` Corinna Vinschen
2015-03-24 14:03   ` Habermann, David (D)
2015-03-24 14:11     ` Corinna Vinschen
2015-03-24 14:20       ` Corinna Vinschen
2015-03-24 14:29     ` Corinna Vinschen
2015-03-24 14:33       ` Corinna Vinschen
2015-03-24 14:57       ` Habermann, David (D)
2015-03-24 15:11     ` Achim Gratz
2015-03-24 16:37       ` Habermann, David (D)
2015-03-24 16:25 Steve Johnson
2015-03-24 16:48 ` Corinna Vinschen
2015-03-24 19:53   ` Steve Johnson
2015-03-24 21:28     ` Corinna Vinschen
2015-03-25  6:19       ` Steve Johnson
2015-03-25  9:25         ` Corinna Vinschen
2015-03-25 14:39           ` Steve Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).