Re: Exiting Emacs (Attn: User's Guide maintainer)

2005-07-06 Thread Joshua Daniel Franklin
On 7/5/05, Igor Pechtchanski wrote:
> On Tue, 5 Jul 2005, David Masterson wrote:
> > > On Sat, 2 Jul 2005, Nick Kirchner wrote:
> > >
> > >> I just installed Cygwin on my Windows 98 computer and tried playing
> > >> around with Emacs. Having toyed with it a little in the past, I know
> > >> that C-x C-c is supposed to exit the program. As you may have
> > >> guessed, C-x C-c did nothing other than beep.
> > >>
> > >> What exactly is going wrong here?
> > >
> > > As mentioned in the announcement
> > > (), you
> > > need to have "tty" in your CYGWIN environment variable.  This needs
> > > to be set *before* the shell is started, so good places would be
> > > /Cygwin.bat or the system environment (i.e., don't do this in shell
> > > startup files).
> >
> > Does this apply to using (X)Emacs under X?
> 
> Good question.  No, it doesn't.  As should be described in the User's
> Guide[1], the 'tty' setting in $CYGWIN serves only to compensate for the
> deficiencies of the Windows console terminal handling (Ctrl-C and NUL).
> If emacs is invoked in any terminal other than the cmd.exe "console"
> (e.g., rxvt, or xterm), no special settings are needed.  Neither does this
> apply to windowed modes of emacs, which do their own keyboard input
> handling.
> Igor
> [1] 


Huh, I could have sworn I'd added a note about rxvt and CYGWIN=tty once 
before, but obviously not. It'll be in the next update.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Please try latest snapshot -- pthreads mutex users please note

2005-07-06 Thread Arash Partow

Hi Brian,

What kernel version and what NPTL version do you have installed?



Kind regards



Arash Partow
__
Be one who knows what they don't know,
Instead of being one who knows not what they don't know,
Thinking they know everything about all things.
http://www.partow.net




Arash Partow wrote:

> I've done a clean install of cygwin with dll 1.5.18 and also tried
> snapshots from 2nd, 4th and 5th. Unfortunetly issues relating to
> threading and memory leaks as described in the following post - still
> exists:
>
> http://sources.redhat.com/ml/cygwin/2005-06/msg00186.html

I don't believe this is a valid test case.  It has a severe memory leak,
that's definite.  But it does the exact same thing under Linux:

$ ./example1 >/dev/null & thepid=$! ; while cat /proc/$thepid/stat | awk
'{ print $24*4 }'; do sleep 3; done  [1] 1310
1088
61820
136244
206468
0
[1]+  Bus error   ./example1 >/dev/null
cat: /proc/1310/stat: No such file or directory

This runs the program and prints its RSS in Kbytes every three seconds.
As you can see it very quickly consumes all memory and crashes to a
halt.  Whatever this problem is, I do not think it's related to Cygwin
in any way, except for the fact that it takes much longer under Cygwin
to exhaust all memory due to the slower pthread locking compared to
Linux.

Brian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: openssl-0.9.8-1, openssl-devel-0.9.8-1 (New: openssl097-0.9.7g-1)

2005-07-06 Thread Corinna Vinschen
I've updated the version of OpenSSL to 0.9.8-1.  This also includes the
openssl-devel package.

This is a new upstream release.  The Cygwin release is the vanilla
version, no additional patches.


===
IMPORTANT NOTE:

The old OpenSSL version 0.9.7 is still available as a runtime package
called openssl097.  The openssl package depends on openssl097 so by
loading the new package you'll also get the old one.  This is necessary
since otherwise all packages using the OpenSSL DLLs would stop working,
because they are linked against the OpneSSL 0.9.7 DLLs.

You have been warned.
===


Official release message:
===

  OpenSSL version 0.9.8 released
  ==

  OpenSSL - The Open Source toolkit for SSL/TLS
  http://www.openssl.org/

  The OpenSSL project team is pleased to announce the release of
  version 0.9.8 of our open source toolkit for SSL/TLS.  This new
  OpenSSL version is a major release and incorporates many new
  features as well as major fixes compared to 0.9.7x.  For a complete
  list of changes, please see http://www.openssl.org/source/exp/CHANGES .

  The most significant changes are:

o Major work on the BIGNUM library for higher efficiency and to
  make operations more streamlined and less contradictory.  This
  is the result of a major audit of the BIGNUM library.
o Addition of BIGNUM functions for fields GF(2^m) and NIST
  curves, to support the Elliptic Crypto functions.
o Major work on Elliptic Crypto; ECDH and ECDSA added, including
  the use through EVP, X509 and ENGINE.
o New ASN.1 mini-compiler that's usable through the OpenSSL
  configuration file.
o Added support for ASN.1 indefinite length constructed encoding.
o New PKCS#12 'medium level' API to manipulate PKCS#12 files.
o Complete rework of shared library construction and linking
  programs with shared or static libraries, through a separate
  Makefile.shared.
o Rework of the passing of parameters from one Makefile to another.
o Changed ENGINE framework to load dynamic engine modules
  automatically from specifically given directories.
o New structure and ASN.1 functions for CertificatePair.
o Changed the ZLIB compression method to be stateful.
o Changed the key-generation and primality testing "progress"
  mechanism to take a structure that contains the ticker
  function and an argument.
o New engine module: GMP (performs private key exponentiation).
o New engine module: VIA PadLOck ACE extension in VIA C3
  Nehemiah processors.
o Added support for IPv6 addresses in certificate extensions.
  See RFC 1884, section 2.2.
o Added support for certificate policy mappings, policy
  constraints and name constraints.
o Added support for multi-valued AVAs in the OpenSSL
  configuration file.
o Added support for multiple certificates with the same subject
  in the 'openssl ca' index file.
o Make it possible to create self-signed certificates using
  'openssl ca -selfsign'.
o Make it possible to generate a serial number file with
  'openssl ca -create_serial'.
o New binary search functions with extended functionality.
o New BUF functions.
o New STORE structure and library to provide an interface to all
  sorts of data repositories.  Supports storage of public and
  private keys, certificates, CRLs, numbers and arbitrary blobs.
  This library is unfortunately unfinished and unused withing
  OpenSSL.
o New control functions for the error stack.
o Changed the PKCS#7 library to support one-pass S/MIME
  processing.
o Added the possibility to compile without old deprecated
  functionality with the OPENSSL_NO_DEPRECATED macro or the
  'no-deprecated' argument to the config and Configure scripts.
o Constification of all ASN.1 conversion functions, and other
  affected functions.
o Improved platform support for PowerPC.
o New FIPS 180-2 algorithms (SHA-224, -256, -384 and -512).
o New X509_VERIFY_PARAM structure to support parametrisation
  of X.509 path validation.
o Major overhaul of RC4 performance on Intel P4, IA-64 and
  AMD64.
o Changed the Configure script to have some algorithms disabled
  by default.  Those can be explicitely enabled with the new
  argument form 'enable-xxx'.
o Change the default digest in 'openssl' commands from MD5 to
  SHA-1.
o Added support for DTLS.
o New BIGNUM blinding.
o Added support for the RSA-PSS encryption scheme
o Added support for the RSA X.931 padding.
o Added support for BSD sockets on NetWare.
o Added support for files larger than 2GB.
o Added initial support for Win64.
o Added alternate pkg-conf

Re: SV: Bug in printf ?

2005-07-06 Thread Lev Bishop
I don't think there is any bug here. This is what I've seen from a
little digging:

1) cygwin strtod rounds to even, with about DECIMAL_DIG (==21) digits
precision, as recommended by 7.20.1.3 of WG14/N843. (It acts strange
when the rounding mode is not round to nearest, but since newlib
doesn't provide fesetround(), that's your own problem if you insist on
changing rounding mode by hand, as I understand it).

2) cygwin gcc rounds with *lots* more precision than DECIMAL_DIG,
about 50 digits. It rounds towards zero. These behaviours are a little
different than the recommendation in 6.4.4.2 Ibid., which says
constants should be converted as if by strtod() at runtime, but its
not a big difference.

3) cygwin printf correctly rounds to even, even out to about 41 digits.

4) I have no idea what mingw is doing, but it's different to the
above. Gcc constructs the same double precision constants as on cygwin
but strtod() is different and seems to have less precision, and
printf() seems to work with about 16 digits precision. At a glance I'd
say it rounds to zero, with exactly the precision of

On 05/07/05, Dave Korn wrote:
>  Stepping through the code at the weekend, I followed the 0.105 case as far
> down as ldtoa_r, where I observed that although there was code that would
> round 0.105 up to 0.11 if asked for only two sig.figs, the loop that
> generates successive digits was coming up with the sequence
> '0.104.', and because the rounding only looks at one digit
> beyond the requested s.f., it 'correctly' rounds 0.104 down to 0.10.

The closest double to 0.105 is actually
0.10499611421941381195210851728916168212890625, and this
is what printf() is (correctly) handed, and what it (correctly) rounds
to 0.10.
 
>  I say 'correctly' in quotes, because it's the correct way to round 0.104,
> but it's not in general correct to round a number by truncating it and then
> rounding the truncated version.

But I don't think that "truncating it and then rounding the truncated
version" is what printf() does. If we give it 0.125 and 0.375, which
are both representible exactly, then it rounds to 0.12 and 0.38, ie
one goes up and one goes down, to round to even. You can see it's not
simply truncating if you give it 0.1251, which gets
rounded to 0.13 not 0.12 as it would for truncation.

To summarize: cygwin does the right thing
#include 
#include 
#include 
#include 

#ifdef __MINGW32__
#include 
#endif


// show the hex and decimal interpretations of the double
union U{double d;unsigned char c[8];};
void display(union U x)
{
  for(int b=7;b>=0;b--)printf("%02x",x.c[b]);
  printf(" %.21f",x.d);
}


int main(int argc, const char**argv)
{

#ifdef __MINGW32__
  if (argc >= 2)
{
int nrm, n;
n = sscanf (argv[1], "%i", &nrm);
if (n == 1) switch (nrm)
{
case 0:
case 0x400:
case 0x800:
case 0xc00:
fesetround (nrm);
}
}

  printf ("Rmode $%08x\n", fegetround ());
#endif

  printf("DECIMAL_DIG=%d\n",DECIMAL_DIG);

#define PASTE(x) {.s=#x,.d1=strtod(#x,0),.d2=x}
  struct S {const char*s;union U d1,d2;}q[]=
{
  // test the rounding with the last digits...
  // first right on the boundary, to test round-to-even
  PASTE(1.000), // 1
  PASTE(1.0001110223024625156540423631668090820312500), // 1 + 
2^-53
  PASTE(1.0002220446049250313080847263336181640625000), // 1 + 
2^-52
  PASTE(1.0003330669073875469621270895004272460937500), // 1 + 
2^-52 +2^-53
  {0},
  // now just above the boundary
  PASTE(1.0001),
  PASTE(1.00011103),
  PASTE(1.00022205),
  PASTE(1.00033307),
  {0},
  // now just below the boundary
  PASTE(0.),
  PASTE(1.00011101),
  PASTE(1.00022204),
  PASTE(1.00033301),
  {0},
  PASTE(0.105),
};
 
  printf(" 1.23456789012345678901234567890\n"); // for counting 
sig figs
  for(int a=0;a--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

Re: SV: Bug in printf ?

2005-07-06 Thread Lev Bishop
On 06/07/05, Lev Bishop wrote:
> 4) I have no idea what mingw is doing, but it's different to the
> above. Gcc constructs the same double precision constants as on cygwin
> but strtod() is different and seems to have less precision, and
> printf() seems to work with about 16 digits precision. At a glance I'd
> say it rounds to zero, with exactly the precision of
... the precision of a raw double.

Ie, it looks like the cygwin build works slightly nicer than mingw
with plenty of extra precision for conversions to and from decimal,
and round-to-even for runtime conversions, which is a good thing.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: OpenSSH-4.1p1-2

2005-07-06 Thread Corinna Vinschen
I've just updated the version of OpenSSH to 4.1p1-2.

This version is equivalent to 4.1p1-1, except it's now linked against
the new OpenSSL 0.9.8.


To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Please try latest snapshot -- pthreads mutex users please note

2005-07-06 Thread Brian Dessent
Arash Partow wrote:

> What kernel version and what NPTL version do you have installed?

Kernel version 2.6.10 and glibc 2.3.2 as packaged by Debian unstable.  I
don't know whether they configure glibc for LinuxThreads or NPTL for
this package.

Under FreeBSD-5.4 I get the following:

$ ./example1 > /dev/null & thepid=$! ; while ps -lp $thepid | tail -1 |
awk '{ print $7 "\t" $8 }'; do sleep 3; done
[1] 36684
23841484
17708   16784
30232   29316
40384   39484
53480   52580
46276   45368
59304   58412
69164   68284
75660   74788
79164   78300
84760   83904
86824   85968
100864  100024
107860  107024
108448  107608
115284  114456
119536  118712
128820  128004
128820  128004
143176  142376
153184  152392
165868  165088
172660  171888
177696  176928
182348  181584
194496  187000
196052  179808
196052  179560
196052  183792
196052  185648
143908  134780
151232  143392
166308  143408
168400  166928
168400  166928
169468  167996
171936  170468
188388  170440
193696  179816
193696  186388
210392  171560
249968  129788
266156  113980
266156  111780
266156  109480
266156  108152
266156  106052
266156  103824
266156  101092
266156  150904
286988  164528
321416  131336
356660  99280
356660  98348

(the first column is 'VSZ', the second 'RSS')  This is on a machine with
256MB RAM, so at this point it was swapping constantly and I eventually
killed it.  The 'SIZE' column remained constant for a while after
hitting 356660, it must be some kind of limit.

Brian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: problem with strtoimax?

2005-07-06 Thread Dave Korn
Original Message
>From: Eric Blake
>Sent: 05 July 2005 22:51

>>> $ cat > foo.c
>>> #include 
>>> #include 
>>> 
>>> int main(int argc, char**argv)
>>> {
>>>   printf("%llx\n", strtoll("1", NULL, 10));
>>>   return 0;
>>> }
>>> $ gcc -o foo foo.c
>>> $ ./foo
>>> a0001
>> 
>> This, I can confirm.  PTC.
>> 
> 
> No patch necessary (PEBCAK).  strtoimax is in inttypes.h, but strtoll
> is in stdlib.h.  Compiling with -Wall would have shown my stupidity.
> (Hint - implicit prototypes return int, but strtoll really needs to return
> long long.)

echo >>~/.bashrc alias gcc=\'gcc -W -Wall\'  #   :)

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: SV: Bug in printf ?

2005-07-06 Thread Dave Korn
Original Message
>From: Lev Bishop
>Sent: 06 July 2005 09:15

> On 06/07/05, Lev Bishop wrote:
>> 4) I have no idea what mingw is doing, but it's different to the
>> above. Gcc constructs the same double precision constants as on cygwin
>> but strtod() is different and seems to have less precision, and
>> printf() seems to work with about 16 digits precision. At a glance I'd
>> say it rounds to zero, with exactly the precision of
> ... the precision of a raw double.
> 
> Ie, it looks like the cygwin build works slightly nicer than mingw
> with plenty of extra precision for conversions to and from decimal,
> and round-to-even for runtime conversions, which is a good thing.


  Thanks a great deal for looking at this; I'm not any kind of an FP expert,
I just have a grasp of the basics.  I've tried the testcase on an RH system
and yes, glibc and newlib agree here.  What mingw does is simple: it calls
M$'s implementation in the msvcrt library, so blame the beast of redmond for
the technically-incorrect-yet-reasonable-seeming behaviour.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: ssh problems

2005-07-06 Thread Dave Korn
Original Message
>From: Eli Barzilay
>Sent: 06 July 2005 03:59

> On Jul  5, Larry Hall wrote:

>> Sounds to me like you're trying to access a network drive which
>> requires authentication but that's just a WAG.  

> Don't know what a "WAG" is, and the above faq entry didn't help...

http://cygwin.com/acronyms#WAG  :)


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: lynx-2.8.5-1

2005-07-06 Thread Corinna Vinschen
I've updated the version of lynx to 2.8.5-1.

This is the latest official upstream release, including patch level 2.

The list of changes to former releases is pretty big.  For a list,
please see the CHANGES file in the source archive.


To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

If you have general questions or comments, please send them to the
Cygwin mailing list at: "cygwin at cygwin dot com".  I would appreciate
it if you would use this mailing list rather than emailing me directly.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Connection closed by foreign host

2005-07-06 Thread Keith Starsmeare
I'm having a problem with telnet. If I execute a long running command that 
doesn't output anything (like a while loop moving lots of files) then quite 
often I eventually lose the connection. What's worse is that I don't realise 
that I've lost the connection until I press return (or Ctrl-C or Ctrl-Z) in 
the (rxvt) window.

You get similar behaviour if you set TMOUT, but I haven't.

Anyone know why it's happening, and if there is something I can do about it?

Keith 




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Automatisch antwoord bij afwezigheid: Delivery reports about your e-mail

2005-07-06 Thread Nele Claessens
Beste,

Ik ben afwezig van maandag 13 juni 2005 t.e.m. woensdag 29 juni 2005. Jullie 
kunnen steeds terecht bij mijn collega Suzanne Spolspoel op het volgende nr. 
02/550 15 92 of via e-mail: [EMAIL PROTECTED]

Tot binnenkort!

Met vriendelijke groeten,
Nele Claessens

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Application sending Router Solicitation packet

2005-07-06 Thread L. D. Marks
I've seen a couple of times a fortran program (g77 compilation under
cygwin) attempting to send (according to my Sygate Firewall) an ICMP Type
10 (Router Solicitation) packet. The latest case wants to send to
224.0.0.2 -- I did not keep a record of previous cases. The code contains
no system calls (certainly nothing tcp or router related), is stable and
has worked for years compiled on a range of systems. If I ignore what
the firewall is saying I get another attempt, one from
c:\cygwin\bin\sh.exe and another from another fortran code.

1) There are arrays going out of bounds (always possible) which is
somehow triggering one of the cygwin dll's to send the signal. However,
this should not happen with two different programs & sh.exe.

2) This is an internal bug somewhere in cygwin (I would not know where to
look), perhaps X.

3) There is a conflict between cygwin dll's & sygate (I probably don't
know what I'm talking about).

I'd appreciate any suggestions.

N.B., the program runs to completion without problem, so the Router
Solicitation packet seems to be completely irrellevant.

N.N.B., the information that the firewall gives is:
File Version :
File Description :  C:\cygwin\bin\sh.exe
File Path : C:\cygwin\bin\sh.exe
Process ID :0xB04 (Heximal) 2820 (Decimal)

Connection origin : local initiated
Protocol :  ICMP
Local Address : 10.0.0.18
ICMP Type : 10 (Router Solicitation)
ICMP Code : 0
Remote Name :
Remote Address :224.0.0.2

Ethernet packet details:
Ethernet II (Packet Length: 56)
Destination:01-00-5e-00-00-02
Source: 00-06-5b-31-85-14
Type: IP (0x0800)
Internet Protocol
Version: 4
Header Length: 20 bytes
Flags:
.0.. = Don't fragment: Not set
..0. = More fragments: Not set
Fragment offset:0
Time to live: 64
Protocol: 0x1 (ICMP - Internet Control Message Protocol)
Header checksum: 0xb3a2 (Correct)
Source: 10.0.0.18
Destination: 224.0.0.2
Internet Control Message Protocol
Type: 10 (Router Solicitation)
Code: 0
Data (4 bytes)

Binary dump of the packet:
:  01 00 5E 00 00 02 00 06 : 5B 31 85 14 08 00 45 00 | ..^.[1E.
0010:  00 1C EE 19 00 00 40 01 : A2 B3 0A 00 00 12 E0 00 | [EMAIL PROTECTED]
0020:  00 02 0A 00 F5 FF 00 00 : 00 00 82 B3 29 10 00 01 | )...
0030:  00 00 00 00 00 01 20 45 : | .. E


---
Laurence Marks
Department of Materials Science and Engineering
MSE Rm 2036 Cook Hall
2220 N Campus Drive
Northwestern University
Evanston, IL 60201, USA
Tel: (847) 491-3996 Fax: (847) 491-7820
email: L - marks @ northwestern . edu
http://www.numis.northwestern.edu
---


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Application sending Router Solicitation packet

2005-07-06 Thread Dave Korn
Original Message
>From: L. D. Marks
>Sent: 06 July 2005 16:15

> I've seen a couple of times a fortran program (g77 compilation under
> cygwin) attempting to send (according to my Sygate Firewall) an ICMP Type
> 10 (Router Solicitation) packet. The latest case wants to send to
> 224.0.0.2 -- I did not keep a record of previous cases. 

  That's a multicast address; specifically, it's the well-known multicast
group for 'all routers'.

> The code contains
> no system calls (certainly nothing tcp or router related), is stable and
> has worked for years compiled on a range of systems. If I ignore what
> the firewall is saying I get another attempt, one from
> c:\cygwin\bin\sh.exe and another from another fortran code.
>
> 
> 1) There are arrays going out of bounds (always possible) which is
> somehow triggering one of the cygwin dll's to send the signal. However,
> this should not happen with two different programs & sh.exe.

  And indeed it would be a fairly implausible coincidence for things to go
wrong in just such a way as to trigger the sending of a packet!
 
> 2) This is an internal bug somewhere in cygwin (I would not know where to
> look), perhaps X.
> 
> 3) There is a conflict between cygwin dll's & sygate (I probably don't
> know what I'm talking about).

  On the face of it I'd assume that sygate is wrong about the source of the
packet.  But perhaps you've managed to get infected with some kind of
spyware/BHO/trojan/whatever that works by injecting a DLL into other
processes and trying to phone home from what it hopes will be an application
with firewall privs.

  What I'd do is wait until you can get this to happen again.  Then, while
the firewall has the requester up and the program is suspended while it's
waiting for you to allow or deny access, quickly fire up gdb or insight and
attach it to the process in question, and see if you can figure out what
thread is doing this and what system calls are involved.  Strace might give
you this info as well, but there's no substitute for actually getting it in
a debugger and _looking_!


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Qestion about Bash Fork Resource Temporily Unavailable for NS2.28 and NS2.27

2005-07-06 Thread Larry Hall
At 02:28 AM 7/6/2005, you wrote:
>Hi, Larry,
>
>What is virus programing, I don't think that I have
>it. 


I said "virus program".  That would be something like
Norton AV, McAfee VirusScan, etc.


>I run my machine same as a year ago, and cygwin
>problem happens just this time. I confused. 


And I expect there are lots of things that have changed 
on your machine in that time as well.  Tracking down the 
culprit is not easy, that's true.


>Could you
>possibly download ns2.28 and install it in your
>cygwin? 


I'm not saying that I won't do this.  Just that I'm not highly
motivated to download 57MB of source and try to build it.  If I
do however, I will report my results as part of this thread.


>While I use
>ns-allinone-2.28-cygwin-binaries.zip, I can't gunzip
>this file in cygwin. I don't know why. Hope you would
>have some ideas.


zip files aren't the same format as gzip files.  You'll want to
unzip the ns binaries with WinZip or Cygwin's 'unzip' utility
(which is part of the unzip package, if you don't have this already).




--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



missing entry inet_ntop cygwin1.dll (was: Re: [ANNOUNCEMENT] Updated: OpenSSH-4.1p1-2)

2005-07-06 Thread Gerrit P. Haase

Corinna Vinschen wrote:


I've just updated the version of OpenSSH to 4.1p1-2.

This version is equivalent to 4.1p1-1, except it's now linked against
the new OpenSSL 0.9.8.



It is missing inet_ntop in my cygwin1.dll...

I must upgrade Cygwin to 1.5.18 before using it?


Gerrit

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: missing entry inet_ntop cygwin1.dll (was: Re: [ANNOUNCEMENT] Updated: OpenSSH-4.1p1-2)

2005-07-06 Thread Christopher Faylor
On Wed, Jul 06, 2005 at 09:19:33PM +0200, Gerrit P. Haase wrote:
>Corinna Vinschen wrote:
>>I've just updated the version of OpenSSH to 4.1p1-2.
>>
>>This version is equivalent to 4.1p1-1, except it's now linked against
>>the new OpenSSL 0.9.8.
>
>It is missing inet_ntop in my cygwin1.dll...
>
>I must upgrade Cygwin to 1.5.18 before using it?

Is this a rhetorical question?

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: perl-5.8.7-1

2005-07-06 Thread Gerrit P. Haase

Perl has been updated to 5.8.7-1


NEWS

  - New builtin functions:
 Cygwin::winpid_to_pid, Cygwin::pid_to_winpid
  - Configured with -Dusesitecustomize.  See also "-f" in perlrun:
http://search.cpan.org/~nwclark/perl-5.8.7/pod/perlrun.pod#%2Df


Extensions already included in this distribution:

 Compress-Zlib-1.34
 Compress-Bzip2-2.08
 IO-Zlib-1.04
 IO-String-1.06
 Archive-Tar-1.24
 MD5-2.03
 Term-ReadLine-Perl-1.0203
 Net-Telnet-3.03
 TermReadKey-2.30
 XML-Parser-2.34


Perl 5.8.7 announcement:

http://dev.perl.org/perl5/news/2005/perl-5.8.7.html

5.8.6 is a maintenance release for perl 5.8, incorporating various
minor bugfixes and optimisations. Please see the perldelta
http://search.cpan.org/~nwclark/perl-5.8.7/pod/perl587delta.pod for
the full details. Please report bugs using the perlbug utility. If the
build or regression tests fail, make nok. If the build fails to early
to run this, please mail perlbug at perl.org directly.


DESCRIPTION
===
As always, you should conduct an appropriate level of testing before
using any new product in your production environment.

Canonical website: http://www.perl.org/


UPDATE
==
To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Save it and run setup, answer the questions and pick up
'perl' from the 'Interpreters' category, if you install it for the
first time, click on the 'skip' field next to 'perl' until '5.8.7-1'
is displayed.


DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need
to find a mirror which has this update, please choose the one nearest to
you: http://cygwin.com/mirrors.html


QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message.  Send
email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]


If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


Gerrit P. Haase
--
=^..^=

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Lack of des.h in openssl devel 0.9.8-1 package

2005-07-06 Thread Richard Hodson
Have just done a fresh install of cygwin to compile a Linux app that uses 
DES.


According to "man des",  I should still be able to include , 
but that

file doesn't seem to exist in this release.

- Richard Hodson



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18

2005-07-06 Thread Gerrit P. Haase

Christopher Faylor wrote:


Last night's snapshot should fix this problem.

http://cygwin.com/snapshots/


I think with the 20050705 snapshot bash / rxvt is much much
faster faster compared with 1.5.17 which I used before;)


Gerrit

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: missing entry inet_ntop cygwin1.dll

2005-07-06 Thread Gerrit P. Haase

Christopher Faylor wrote:


On Wed, Jul 06, 2005 at 09:19:33PM +0200, Gerrit P. Haase wrote:


Corinna Vinschen wrote:


I've just updated the version of OpenSSH to 4.1p1-2.

This version is equivalent to 4.1p1-1, except it's now linked against
the new OpenSSL 0.9.8.


It is missing inet_ntop in my cygwin1.dll...

I must upgrade Cygwin to 1.5.18 before using it?



Is this a rhetorical question?


I think so;)

Gerrit

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Qestion about Bash Fork Resource Temporily Unavailable for NS2.28 and NS2.27

2005-07-06 Thread Question NS
Hi, Larry,

It is just easy to install (the download site is
http://www.isi.edu/nsnam/ns/ns-build.html#allinone). I
would appreciate if you would help. By the way, which
package in Cygwin can support unzip? I can't use
winzip since it can't automatically unzip the file to
the aimed directory.

Thanks

--- Larry Hall
<[EMAIL PROTECTED]> wrote:

> At 02:05 AM 7/5/2005, Question NS wrote:
> >While I install NS2.28, it tells no gcc, but I
> >actually installed gcc, and during the
> installation,
> >it said my gcc is not a cross compile, I don't know
> if
> >this is matter. And if it is, which gcc version
> shall
> >I install? I ran the strace.exe command, get the
> >following lines, Thank you for support. I look
> forward
> >to your reply.
> 
> 
> OK, it appears that I have not been very clear with
> my
> previous response.  Let me see if I can rectify
> that.
> I mentioned strace as one possible avenue to finding
> the
> source of the "Resource temporarily unavailable"
> message
> and perhaps some context.  But I intended that to be
> a 
> hopefully helpful option for you to explore on your
> end 
> and *perhaps* report some digested portion to the
> list.
> There's really little value to dumping the output of
> 
> strace into a mail message and sending it to the
> list,
> especially with little or no context.  Also, in case
> we're
> not connecting on what constitutes a simple, small
> example,
> NS 2.28 does not fit that definition in my view, if
> you were
> thinking it might.  If you can come up with an
> example of 
> perhaps a few hundred lines of code or something
> similar, 
> that might qualify.  But I'm probably not going to
> download 
> the 57MB or so of source to try to see if I can
> reproduce 
> your problem and I expect others on this list would
> be 
> similarly reluctant.  
> 
> As I expect you're aware (since you're far more
> familiar with 
> NS than I am, having been introduced to it by you),
> there is a 
> zip of binaries built for Cygwin that you can
> download and use 
> directly:
> 
>

> 
> But, presuming you do want to build from source
> rather than 
> use pre-built binaries, I can offer one other
> suggestion.  
> You've related 3 different errors, in 4 separate
> messages 
> today, that may or may not have Cygwin as the least
> common 
> denominator.  So let me ask, do you have any virus
> program 
> running?  If so, you may want to try disabling it
> and perform 
> your build without it.  It could be causing you
> these
> difficulties too.
> 
>  
> 
> --
> Larry Hall 
> http://www.rfk.com
> RFK Partners, Inc.  (508)
> 893-9779 - RFK Office
> 838 Washington Street   (508)
> 893-9889 - FAX
> Holliston, MA 01746 
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18

2005-07-06 Thread Christopher Faylor
On Wed, Jul 06, 2005 at 11:32:08PM +0200, Gerrit P. Haase wrote:
>Christopher Faylor wrote:
>>Last night's snapshot should fix this problem.
>>
>>http://cygwin.com/snapshots/
>
>I think with the 20050705 snapshot bash / rxvt is much much faster
>faster compared with 1.5.17 which I used before;)

Hmm.  Interesting.  I wasn't going to say anything but I did make what I
hoped would be some performance improvements to the latest cvs.  I
noticed at least a 10% improvement in speed for the program from the
"serious performance problems" thread from last month.  It's still not
at mingw speeds, though, of course.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



starting background process and logging out

2005-07-06 Thread Maloney, Michael

I am having a problem using cygwin on both Windows 2k/2003. When I send
a cmd into the background and then log out of the system, the process
dies on me. I am using Ataman Telnet Server to login but that doesn't
seem to be a factor.

I have tried nohup without any luck as well.

nohup startWebLogic.cmd > /dev/null&

Does anyone have any other ideas for getting this process to stick?

Thanks,
Mike

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: starting background process and logging out

2005-07-06 Thread Igor Pechtchanski
On Wed, 6 Jul 2005, Maloney, Michael wrote:

> I am having a problem using cygwin on both Windows 2k/2003. When I send
> a cmd into the background and then log out of the system, the process
> dies on me. I am using Ataman Telnet Server to login but that doesn't
> seem to be a factor.
>
> I have tried nohup without any luck as well.
>
> nohup startWebLogic.cmd > /dev/null&
>
> Does anyone have any other ideas for getting this process to stick?

"setsid startWebLogic.cmd > /dev/null 2>&1"
(you have to close both stdout and stderr).

If .cmd means a glorified batch file, you could also try
"cygstart --hide startWebLogic.cmd > /dev/null 2>&1".

HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Qestion about Bash Fork Resource Temporily Unavailable for NS2.28 and NS2.27

2005-07-06 Thread Larry Hall
At 07:04 PM 7/6/2005, you wrote:
>Hi, Larry,
>
>It is just easy to install (the download site is
>http://www.isi.edu/nsnam/ns/ns-build.html#allinone). I
>would appreciate if you would help. 


Yes, I understand.  Well, let's hope that if/when I find
the space to download and the time to build/install, it
goes as easy as you suggest.  Like I said, I'll report 
my results in this thread if I have any.


>By the way, which
>package in Cygwin can support unzip? I can't use
>winzip since it can't automatically unzip the file to
>the aimed directory.


I haven't checked this zip file but the comments about it made me
believe that it was a pure Windows zip file.  It mentioned something
about making sure that your Cygwin install directory was c:\cygwin.
(I would normally double check all this before posting but the site
appears to be down at my time of posting so I'm working from memory).
Anyway, if I am remembering correctly, then WinZip should work "just
fine" if your installation meets that restriction.  As for 'unzip',
I mentioned in:

  

this utility can be found in the Cygwin unzip package.  Re-run 'setup.exe'
and install that package if you have not already.

 

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Compiling xorg-x11-fonts

2005-07-06 Thread Alireza Ghasemi
Hello,
I have downloaded xorg-x11-fonts-6.8 but I don't know how to compile
it.There is no typical Makefile and no configure script.Please explain me
step by step how to compile it and get use of X11 in Cygwin.I need X!
Thanks


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: starting background process and logging out

2005-07-06 Thread Karl M

Hi All...

This is a Windows NT class behavior. It is why I launch keychain as a 
service...so it survives logout.


HTH,

...Karl

From: Igor Pechtchanski To: "Maloney, Michael" Subject: Re: starting 
background process and logging out

Date: Wed, 6 Jul 2005 21:54:29 -0400 (EDT)

On Wed, 6 Jul 2005, Maloney, Michael wrote:

> I am having a problem using cygwin on both Windows 2k/2003. When I send
> a cmd into the background and then log out of the system, the process
> dies on me. I am using Ataman Telnet Server to login but that doesn't
> seem to be a factor.
>
> I have tried nohup without any luck as well.
>
> nohup startWebLogic.cmd > /dev/null&
>
> Does anyone have any other ideas for getting this process to stick?

"setsid startWebLogic.cmd > /dev/null 2>&1"
(you have to close both stdout and stderr).

If .cmd means a glorified batch file, you could also try
"cygstart --hide startWebLogic.cmd > /dev/null 2>&1".

HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: starting background process and logging out

2005-07-06 Thread Igor Pechtchanski
Ugh, top-posting.  Reformatted.

On Wed, 6 Jul 2005, Karl M wrote:

> > From: Igor Pechtchanski
> > To: "Maloney, Michael"
> > Subject: Re: starting background process and logging out
> > Date: Wed, 6 Jul 2005 21:54:29 -0400 (EDT)
> >
> > On Wed, 6 Jul 2005, Maloney, Michael wrote:
> >
> > > I am having a problem using cygwin on both Windows 2k/2003. When I
> > > send a cmd into the background and then log out of the system, the
> > > process dies on me. I am using Ataman Telnet Server to login but
> > > that doesn't seem to be a factor.
> > >
> > > I have tried nohup without any luck as well.
> > >
> > > nohup startWebLogic.cmd > /dev/null&
> > >
> > > Does anyone have any other ideas for getting this process to stick?
> >
> > "setsid startWebLogic.cmd > /dev/null 2>&1"
> > (you have to close both stdout and stderr).
> >
> > If .cmd means a glorified batch file, you could also try
> > "cygstart --hide startWebLogic.cmd > /dev/null 2>&1".
>
> Hi All...
>
> This is a Windows NT class behavior. It is why I launch keychain as a
> service...so it survives logout.

FYI, on WinXP:

$ ps | grep sleep
$ ssh [EMAIL PROTECTED] 'setsid sleep 80 >/dev/null 2>&1 &'
[EMAIL PROTECTED]'s password:
$ ps | grep sleep
 6232   16232   6836? 1019 00:37:54 /usr/bin/sleep
$

with no extra processes hanging around, AFAICS.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Compiling xorg-x11-fonts

2005-07-06 Thread Brian Dessent
Alireza Ghasemi wrote:

> I have downloaded xorg-x11-fonts-6.8 but I don't know how to compile
> it.There is no typical Makefile and no configure script.Please explain me
> step by step how to compile it and get use of X11 in Cygwin.I need X!

1. You sent this to the wrong address.  For X11 questions you should use
the cygwin-xfree  cygwin.com mailing list.

2. There is no need to compile anything to use the X server in Cygwin. 
Just install the binary packages.  Run setup.exe and select the
"xorg-x11-base" package, which in turn will select all the other
necessary packages.  This is all documented in the Cygwin/X Users Guide:
.

3. The particular package, xorg-x11-fonts, cannot be compiled because it
consists of font files and nothing else.  It is only one component of
many that is required to use the X11 server.

Brian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



New to Cygwin - Problems with Cygwin NFS

2005-07-06 Thread ohaya
Hi,

I've been trying to configure Cygwin NFS running on a Windows 2003
Server machine (machine: testwin2k3) to export directories so that I can
eventually use these directories as home directories on Solaris
machines.

I got Cygwin and Cygwin NFS installed, and somewhat working, but am
having problems with the uids of files being created on the NFS
directories.

On my test Solaris system, I have a test user, "jim1", with uid=1000 and
gid=1000.  In Cygwin NFS, I have /etc/exports configured to export
"/hometest/jim1" to machine with IP address 192.168.0.201 (for now):

/hometest/jim1  192.168.0.201(rw,...)

I was finally able to get "su - jim1" on the Solaris machine to work,
and I can see that it has indeed mounted the directory that I exported
from Cygwin NFS.

However, if I try to create a file after "su - jim1", the uid on the
file is set to nobody (uid=18?).  The gid seems to be ok, it's just the
uid on the files that seems to be wrong.

I've tried to add a "map_static=/etc/nfs/server.map-jim1":

/hometest/jim1  192.168.0.201(rw,map_static=/etc/nfs/server.map-jim1)

 where the /etc/nfs/server.map-jim1 file has:

uid 18  1000
gid 10001000
uid 10001000
gid 10001000

but, to no avail.

I've also tried setting "anonuid=1000,anongid=1000", but got the same
results.

I've restarted the 3 Cygwin services in between each server.map and
exports change, but no matter what I've tried :(...

Can anyone tell me how I can get Cygwin NFS to set the uid on the files
properly, to uid=1000?

Thanks in advance,
Jim

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: New to Cygwin - Problems with Cygwin NFS

2005-07-06 Thread ohaya
Hi,

I was just looking in /var/log/nfsd.log under Cygwin, and I am seeing
lots of errors:

auth_clnt.c 352 : Unable to seteuid(1000):  no such process

Jim



ohaya wrote:
> 
> Hi,
> 
> I've been trying to configure Cygwin NFS running on a Windows 2003
> Server machine (machine: testwin2k3) to export directories so that I can
> eventually use these directories as home directories on Solaris
> machines.
> 
> I got Cygwin and Cygwin NFS installed, and somewhat working, but am
> having problems with the uids of files being created on the NFS
> directories.
> 
> On my test Solaris system, I have a test user, "jim1", with uid=1000 and
> gid=1000.  In Cygwin NFS, I have /etc/exports configured to export
> "/hometest/jim1" to machine with IP address 192.168.0.201 (for now):
> 
> /hometest/jim1  192.168.0.201(rw,...)
> 
> I was finally able to get "su - jim1" on the Solaris machine to work,
> and I can see that it has indeed mounted the directory that I exported
> from Cygwin NFS.
> 
> However, if I try to create a file after "su - jim1", the uid on the
> file is set to nobody (uid=18?).  The gid seems to be ok, it's just the
> uid on the files that seems to be wrong.
> 
> I've tried to add a "map_static=/etc/nfs/server.map-jim1":
> 
> /hometest/jim1  192.168.0.201(rw,map_static=/etc/nfs/server.map-jim1)
> 
>  where the /etc/nfs/server.map-jim1 file has:
> 
> uid 18  1000
> gid 10001000
> uid 10001000
> gid 10001000
> 
> but, to no avail.
> 
> I've also tried setting "anonuid=1000,anongid=1000", but got the same
> results.
> 
> I've restarted the 3 Cygwin services in between each server.map and
> exports change, but no matter what I've tried :(...
> 
> Can anyone tell me how I can get Cygwin NFS to set the uid on the files
> properly, to uid=1000?
> 
> Thanks in advance,
> Jim

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/