public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: 30 second startup delay on Cygwin programs from SYSTEM account
@ 2001-10-30 13:48 Heribert Dahms
  0 siblings, 0 replies; 25+ messages in thread
From: Heribert Dahms @ 2001-10-30 13:48 UTC (permalink / raw)
  To: 'Robert Collins', Scott Atwood; +Cc: cygwin

Hi,

so would it make sense to bypass domain stuff for LocalSystem
by extending the condition in internal_getlogin at line 47
(between the two debug_printf's below) with sth like:

if (wincap.has_security () && strcmp(username, "SYSTEM")) ...

Bye, Heribert (heribert_dahms@icon-scm.com)

> -----Original Message-----
> From:	Robert Collins [SMTP:robert.collins@itdomain.com.au]
> Sent:	Tuesday, October 30, 2001 01:00
> To:	Scott Atwood
> Cc:	cygwin@cygwin.com
> Subject:	Re: 30 second startup delay on Cygwin programs from SYSTEM
> account
> 
> On Fri, 2001-10-26 at 11:07, Scott Atwood wrote:
>  
> > I ran "strace bash" as user SYSTEM and here is an excerpt of the output.
> > 
> >  2949  226918 [main] bash 1428 internal_getlogin: GetUserName() = SYSTEM
> > 30450200 30677118 [main] bash 1428 internal_getlogin: Domain: (null),
> Logon Serv
> > er: CHARON, Windows Username: SYSTEM
> > 
> > The output paused for about 30 seconds after the first line printed, and
> > before the second line printed.
> 
> Right, here's whats happening:
> SYSTEM doesn't belong to any network groups - it's local only, but
> Cygwin is trying to find out it's network data - such as the home
> domain.
> 
> Cygwin spawned/forked/execed process's can inherit that data in the
> cygwin heap IIRC. Which is why no delay is seen - it's been optimised
> away. But there would be a 30 second delay firing up bash.
> 
> As for why the 30 second delay in the first place, what's your system
> config:
> Are you a member of a win2k AD or an NT4 domain?
> Are you running NBT?
> Are you running NTLM?
> Are you running the Server process?
> Are you running the workstation process?
> 
> Cheers,
> Rob
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 25+ messages in thread
* 30 second startup delay on Cygwin programs from SYSTEM account
@ 2001-10-25 16:15 Scott Atwood
  2001-10-26  6:47 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 25+ messages in thread
From: Scott Atwood @ 2001-10-25 16:15 UTC (permalink / raw)
  To: cygwin

I am running Cygwin 1.3.3 on Windows 2000 Server, and I have noticed a
strange problem.  Whenever I try to start a Cygwin process from a windows
cmd shell as the user SYSTEM, there is an approximately 30 second delay
before the process starts.  If I have started a bash process as SYSTEM,
subesequent processes started from within bash start normally.  Cygwin
processes always start normally for the Administrator user.

I have looked in the FAQ and the documentation, searched Google, and
searched the Cygwin mailing list archive, and I couldn't find any
mention of this problem.

-Scott

-- 
Scott Atwood
atwood@cs.stanford.edu
PGP key fingerprint:  2852 FAE0 B0BB FE52 7002  1019 4D48 78B3 6FF0 A89F

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

end of thread, other threads:[~2004-07-16 14:45 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <no.id>
1998-04-06  4:08 ` Problem with new-cygwin.dll.gz ? Geoffrey Noer
1998-04-06 17:20   ` Problem with new-cygwin.dll.gz - Not here there isn't Guy Gascoigne - Piggford
1998-04-08 16:25     ` Problem with new-cygwin.dll.gz Emil Hallin
1999-07-01 23:09 ` A new user of cygwin and unix based system Glenn Spell
1999-07-02  9:06   ` Chris Faylor
1999-07-31 18:34     ` Chris Faylor
1999-07-31 18:34   ` Glenn Spell
1999-07-02  9:45 ` Glenn Spell
1999-07-31 18:34   ` Glenn Spell
2000-04-20 19:03 ` a bug Chris Faylor
2001-09-17 21:40 ` Unwanted compiler warnings with w32api Shayne Steele
2001-09-17 21:56 ` Shayne Steele
2001-10-25 18:08 ` 30 second startup delay on Cygwin programs from SYSTEM account Scott Atwood
2001-10-29 15:56   ` Robert Collins
2001-11-05 14:39     ` Scott Atwood
2001-11-05 15:04       ` Robert Collins
2001-11-05 15:13         ` Scott Atwood
2001-11-11  8:26 ` Cygwin homepage has problems Shayne Steele
2003-01-16 19:15 ` Command-line email? dmeans
2003-01-17 10:09   ` Dr. Volker Zell
2004-07-16  8:36 ` mmap bug on Windows 9x Anton Ertl
2004-07-16 15:03   ` Corinna Vinschen
2001-10-30 13:48 30 second startup delay on Cygwin programs from SYSTEM account Heribert Dahms
  -- strict thread matches above, loose matches on Subject: below --
2001-10-25 16:15 Scott Atwood
2001-10-26  6:47 ` Larry Hall (RFK Partners, Inc)

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