Re: Upcoming postgresql layout change
Reini Urban schrieb: Due to popular request I'll change the postgresql layout from the big monolithic singular package to a layout as used in debian for 8.1 This will make it easier for the packages xemacs and php at first, and for users it will seperate the dll's and the clients from the server. Note that at first I will only support one simultaneous postgresql server package. A debian-like postgresql-common for simultaneous postgresql server packages (7.4, 8.0, 8.1) is in consideration. Attached are the hint files for the packages. The only changes from debian are non-versioned names, -dev renamed to -devel to be consistent with our naming, and postgresql-server-dev renamed to postgresql-devel. Before I upload the 13 new postgresql packages, I'll ask a short question how to handle the upcoming conflict resolution, not to make stupid mistake. postgresql-8.1.3-2 setup.hint has: requires: libpq4 postgresql-client crypt libintl3 openssl zlib test: 8.1.3-2 prev: 8.0.7-1 curr: 8.1.3-1 For test: 8.1.3-2 everything is correct. I want to prepare this as test release and therefore bump 8.1.3-1 to curr. For libpq4 and postgresql-client I created empty -8.1.3-1.tar.bz2 files, so that when somebody updates from the old prev 8.0.7-1 to the new current 8.1.3-1 (default behavior), the new empty required client and lib packages will get pulled in. When I bump 8.1.3-2 to curr or someone wants the test release, the new layout will get installed. Should I provide empty 8.0.7-1.tar.bz2 files for those two required packages also? I checked installing 8.1.3-1 locally and updating to 8.1.3-2 also, and everything looked ok, but who knows. Problems: Installing postgresql-8.1.3-2 without installing the test releases libpq4-8.1.3-2 and postgresql-client-8.1.3-2 will ask for trouble. I can only think of providing a copy of libpq4-8.1.3-2 as libpq4-8.1.3-1 (ditto for the clients) to circumvent this.
Re: [ITP] mksh 2.6.3 -- MirBSD Korn shell, improved pdksh implementation
Sorry for reporting a false failure. mksh does appear to handle everything I am doing in my .profile.
Re: terminal escape codes
Jeff Lange wrote: While that does work, It unfortunately isn't an acceptable solution for me. I really need to be running this from a plain text console. How is running rxvt not a plain text console?!? I use rxvt all the time. I don't like the Windows window as it's cut and paste semantics are horrible as well as it's resizing (in)ability. -- Ever notice when you blow in a dog's face he gets mad at you, but when you take him in a car he sticks his head out the window? -- 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: Win2003 server and cron/sshd as services (1.5.19)
Indeed I did run it. Cron_diagnose complained about permissions that I fixed by chowning the files/directories to the Administrators group. But those changes did not change cron's behaivor. I did just test by running cron from the command line (not as a service), and it appears to work fine. I suspect, that it can only exec commands under my uid, since my account does not have things like SeCreateTokenPrivilege, etc. I would like to su to my cron_server (or sshd_server) uid to test out running the daemons without cygrunsrv, but I don't know how to switch users in cygwin with out ssh'ing to localhost. Login does not seem to work (giving me the message about the changes in ntsec) even after I added these rights to my user account: SeServiceLogonRight SeIncreaseQuotaPrivilege SeCreateTokenPrivilege SeAssignPrimaryTokenPrivilege One last thing. I fired up apache under my userid, and it sucessfully bound to port 80, (in my mind at least) debunking the fire wall theory. Any debugging tips would be greatly appreciated. Thanks Mike René Berber wrote: Mike Dunn wrote: Good question ;). I have not been able to find one, but I don't necessarily know where to look (i'm not much of a windows guy). I'll keep looking, but cron is showing the same behaivor as sshd, and cron AFAIK does not bind to a tcp port. I had ruled out a firewall due to cron's behaivor. Valid point, have you tried cron_diagnose.sh? -- 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: jikes 1.22 Cygwin package fails to build GNU Classpath
Hi. The maintainers of GNU Classpath try to keep it buildable on Cygwin but have received at least one bug report [1] for it not building due to the Cygwin jikes issue raised below. Would the Cygwin jikes package maintainer consider integrating the referenced patch into the package as it does appear to resolve a real issue on Cygwin? Thanks, Paul [1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27307 On Sun, 2006-03-05 at 17:54 +, Paul Jenner wrote: The jikes provided in Cygwin package jikes-1.22-1 fails to build GNU Classpath [1], reporting input files not found during compilation. Local build of jikes 1.22 with the following patch for Cygwin applied: http://sourceforge.net/tracker/index.php?func=detailaid=1202863group_id=128803atid=712760 builds the same GNU Classpath distribution successfully. For reference, the Classpath build calls jikes @files directive with 4595 java source files in the list. I can provide jikes output / debug information on request. Thanks, Paul [1] http://www.gnu.org/software/classpath/ -- Paul Jenner [EMAIL PROTECTED] -- 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: chmod works only for cygwin processes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Magnus Svensson wrote: Hi, I'm experiencing a problem that a file that I make chmod -r on from a perl script(or manually as you can see below) is readable from a windows process. I.e the chmod seems to work only for the cygwin programs. Here is what I do to reproduce it: # Create a test directory [EMAIL PROTECTED]:~ mkdir test [EMAIL PROTECTED]:~ cd test [EMAIL PROTECTED]:~/test mkdir testdir [EMAIL PROTECTED]:~/test ls -l total 0 drwxrwxrwx+ 2 mysqldev None 0 May 4 13:44 testdir # Remove read access from the directory [EMAIL PROTECTED]:~/test chmod -r testdir [EMAIL PROTECTED]:~/test ls -l total 0 d-wx-wx-wx+ 2 mysqldev None 0 May 4 13:44 testdir [EMAIL PROTECTED]:~/test ls -l testdir ls: testdir: Permission denied # Now I pipe dir test to windows cmd.exe and it can read it. [EMAIL PROTECTED]:~/test echo 'dir testdir' | cmd.exe; Microsoft Windows [Version 5.2.3790] (C) Copyright 1985-2003 Microsoft Corp. C:\cygwin\home\mysqldev\testdir testdir Volume in drive C has no label. Volume Serial Number is 749A-DF8B Directory of C:\cygwin\home\mysqldev\test\testdir 05/04/2006 01:44 PMDIR . 05/04/2006 01:44 PMDIR .. 0 File(s) 0 bytes 2 Dir(s) 12,312,645,632 bytes free # cleanup [EMAIL PROTECTED]:~/test chmod +r testdir [EMAIL PROTECTED]:~/test cd .. [EMAIL PROTECTED]:~ rm -rf test Please advice what I can do or try? Attaching the above steps as a small script as well as the output from cygcheck -srv. I tried to duplicate here but was unable to do so. I created a folder named test and tried setting different permissions on it. It worked as expected. Here are the test cases I did and as you can see I was pretty thorough although I didn't try every possible combination. All test cases were done on Windows XP Pro SP2. Sorry I don't have a Windows 2003 box to make an absolute verification. This might be a bug with Windows 2003 if someone else can reproduce. As far as I can tell though the ACLs are being set correctly. The security tab in Windows XP Pro reflected special permissions correctly. Reading involved using the command 'type' from the cmd.exe and 'cat' from cygwin. Writing involved using 'echo' in both cmd.exe and cygwin. I used 'dir' in cmd.exe and 'ls' in cygwin for directory listing checks. chmod no permission (inaccessable even to owner / only chmod possible) (worked in both cygwin and cmd) chmod 0111 execute permission -- can change to folder but no directory listing (worked in both cygwin and cmd) chmod 0222 write permission (worked in both cygwin and cmd) chmod 0333 write/execute permission -- no directory listing (worked in both cygwin and cmd) chmod 0444 read permission -- cannot change to directory for listing but can get one directly (worked in both cygwin and cmd) chmod 0555 read/execute permission (worked in both cygwin and cmd) chmod 0666 read/write permission -- cannot change to directory for listing but can get one directly (worked in both cygwin and cmd) chmod 0777 full access (worked in both cygwin and cmd) And of course all behavior was verified correct against both netbsd an centos linux distro. Windows behavior equivelent Permission denied in linux is equal to Access denied in windows when trying to do a change to a directory, read, or write a file. Permission denied in linux is equal to File Not Found in windows when trying to do a directory listing. - -- Robert Pendell [EMAIL PROTECTED] Thawte Web of Trust Notary CAcert Assurer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) iD8DBQFEXM5ENqnRaBCOmrYRAilLAJ91RqRtW6XQBEGXBwL/OgMiwif+7wCgp2nq j08qVZOUNt1YaHJUdKT+cHs= =qXiT -END PGP SIGNATURE- -- 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: C exe redirection blank file
Thanks again for your reply. The normal exit does flush and close all open file descriptors, I thought that was the case, so had not worried about closing the files. so what you are seeing is odd. I agree. I've used some varied Unix systems in the past, and never had this. Now, the normal exit is part of the run time (crt0 or a similar name, that calls main and cleans up after) and that part is statically linked so, unless it depends on functionality on a Windows dll, it should not vary between machines. Is there any way of checking which particular Windows.dll it could be needing? Could there be any serial port setting that may be affecting it? Incidentally I'm run a one minute cron job (for the working process) - would that affect anything? I don't know if those basic libraries get Windows patches (updates in Microsoft-talk)... could be worth trying. Ok understand in principal what you're saying. I have automatic updates configured and scheduled. Is there a limit to the number of files on XP - like the old config.sys option files=99? I don't know. Would archiving files to a separate directory help? That's a weird one, I have no idea what is going on (I was thinking about anti-virus or similar software that prevent creating files, but it doesn't look quite like that). I have the same Anti-virus software on both PCs - AVG (and firewall). I could try an additional test on my laptop - but not sure what that would tell me. What do you think? Incidentally AVG does a scheduled virus scan nightly and finds nothing. Incidentally I tried something else today. I created a shell script junk.sh that did the following: echo starting problem program ./problem_program echo ending problem program I ran this with ./junk.sh junk.txt Surprise, surprise in junk.txt I got starting problem program ending problem program with again none of problem_program's output! * Is the chkdsk error significant, or is it just a red herring do you think? * Have you ever heard of anything similar on Linux/Unix? * Does windows have a lock on a file or something? * I'm sure I haven't, but if something in the program redirected 'stdout', would this have any affect like I'm experiencing - i.e. overriding the command line's redirection? Cheers Andy Burgess -- _ __ _ //_ / /| /_ / / __//__ / / |/__ / /...Your friendly computer professionals / [EMAIL PROTECTED] -- 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/
Cygwin 1.5.19-4 threading failure?
Hi, The latest cygwin 1.5.19-4 displays the following symptoms: - the release 3.3.4-2 designer-qt3 crashes - compilation of the qt3 release source 3.3.4-2 hangs with Mutex lock failure - compilation of matplotlib-0.87.2 (after rebaseall) fails with gcc: fork: Resource temporarily unavailable. None of these events occur under cygwin 1.5.18-1. Thanks, Virgil -- 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: C exe redirection blank file
[EMAIL PROTECTED] wrote: [snip] Is there any way of checking which particular Windows.dll it could be needing? cygcheck program will list the dynamic libraries used. Could there be any serial port setting that may be affecting it? I don't see how. Incidentally I'm run a one minute cron job (for the working process) - would that affect anything? Could be, if the process runs more than once concurrently and tries to access the same file. It certainly will try to access the same port. [snip] Is there a limit to the number of files on XP - like the old config.sys option files=99? I don't know. Would archiving files to a separate directory help? I don't know what functionality you are looking for, do you expect a limit on the number of files on a directory? Windows does have a limit on the size of a path, and there is a limit on the number of files but it is pretty big (I don't remember it at the moment.) [snip] Incidentally I tried something else today. I created a shell script junk.sh that did the following: echo starting problem program ./problem_program echo ending problem program I ran this with ./junk.sh junk.txt Surprise, surprise in junk.txt I got starting problem program ending problem program with again none of problem_program's output! This is only on one machine, right? just as if you are closing stdout. There are many possibilities but none will stand if the program works one way on a computer and another way on a different computer. So the most probable cause is some difference between computers. * Is the chkdsk error significant, or is it just a red herring do you think? I don't see how it could be a factor, but I may be missing something. Better try to see what's the cause (a damaged sector that cannot be remapped?). * Have you ever heard of anything similar on Linux/Unix? Anything is possible. For instance, an uninitialized pointer could cause writing in the file descriptor table same effect as closing/changing those file descriptors, if the program is not too complex I would use gdb to see the execution at least once, if it is complex then better isolate the problem first. * Does windows have a lock on a file or something? Yes. You probably have seen it, when Windows doesn't allow you to delete a file because it is in use (try deleting all the .tmp files in your temp directory). * I'm sure I haven't, but if something in the program redirected 'stdout', would this have any affect like I'm experiencing - i.e. overriding the command line's redirection? As I said, anything is possible. The important clue is that it runs always on one computer, it never runs on another (I should really say seems to). -- René Berber -- 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: fork: child -1 - CreateProcessA failed, errno 11
Torfinn Ottesen wrote: OS : Windows XP Pro SP1 cygwin: fresh as of february 2006 I am trying to run a lot of numerical analysis in loop using bash, principally as follows: for case in 1 2 3 ... 132 do prepare input-$case analyse input-$case save results-$case done I find that my loops are OK until after about 80 cases, then I start receive errors like identified below. This is repeatable (but it take me 3 hours to reach case 80), as additional information I have looked at the Task Manager and it seems like each loop increases my memory usage by about 3.2 MB. I am aware of the following information: 1. http://www.cygwin.com/ml/cygwin/2006-04/msg00390.html 2. http://sources.redhat.com/ml/cygwin/2005-09/msg00945.html * Subject: workaround for fork problems? Corinna and I have been looking into the reported problems with fork (file not found, died waiting for longjmp, and others) for a while now but have been unable to come up with a cygwin-specific solution. Microsoft, on the other hand, seems to have a fix: 3. http://support.microsoft.com/default.aspx?scid=kb;en-us;824422 When many processes run on your computer (for example, more than 50), behaviors that were not expected may occur. I recognise the following symptons: - When you try to start Windows Task Manager by pressing CTRL+ALT+DEL, Windows Task Manager does not start... - The Start menu in the task bar may not open (does not). - any process that uses the CreateProcess Windows API may have problems. Can someone diagnose the below error messages? Is there anything I can do to get more information regarding the errors and their cause (I have strace but do not know what to do with it). Does anyone have any simplifying ideas so that I don't have to wait three hours to the errors. After reboot which appears to be only way to continue work everything seems OK. $ cat error-messages sh: /usr/bin/ls: Resource temporarily unavailable bash: /cygdrive/c/WINDOWS/TEMP/servant61444.bash: No such file or directory 3 [main] sh 57644 fork: child -1 - CreateProcessA failed, errno 11 sh: fork: Resource temporarily unavailable 3 [main] bash 62724 fork: child -1 - CreateProcessA failed, errno 11 /cygdrive/c/pcdrom/CalcTools/cygwinbin/expandtemplate: fork: Resource temporarily unavailable /cygdrive/c/pcdrom/CalcTools/cygwinbin/cmpdata: line 77: /usr/bin/basename: Resource temporarily unavailable 2 [main] bash 62616 fork: child -1 - CreateProcessA failed, errno 11 /cygdrive/c/pcdrom/CalcTools/cygwinbin/cmpdata: fork: Resource temporarily unavailable 6936 [main] bash 62616 fork: child -1 - CreateProcessA failed, errno 11 /cygdrive/c/pcdrom/CalcTools/cygwinbin/cmpdata: fork: Resource temporarily unavailable /cygdrive/c/pcdrom/CalcTools/cygwinbin/expandtemplate: line 47: 62336 Broken pipe cat expandtemplate-eof expandtemplate-eof sh: /usr/bin/ls: Resource temporarily unavailable bash: /cygdrive/c/WINDOWS/TEMP/servant61772.bash: No such file or directory Sounds to me like the situation you found closely mirrors the behavior the MS KB article describes. I think it's worthwhile for you to experiment with the workaround proposed to see if it helps. It would be beneficial if you reported any results you saw back to this list. -- 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/
Re: terminal escape codes
http://cygwin.com/acronyms/#TOFU - reformatting... Jeff Lange wrote: On 5/5/06, Larry Hall (Cygwin) reply-to-list-only-lh at cygwin dot com wrote: http://cygwin.com/acronyms/#PCYMTNQREAIYR - thanks. Jeff Lange wrote: Hi, I have a program that will connect to another host via telnet and work like a terminal emulator. This works fine in Linux, but under cygwin, when the host sends out the vt220 command ESC(B cygwin apparently doesn't know how to handle this escape code, and it ends up displaying the B on the screen, In Linux if I type echo ^[(Btest at a command prompt it comes back as test, but if I do the exact same thing at a cygwin prompt it comes back as Btest Does anyone know a simple way around this? Run rxvt (or xterm if you're running X) instead? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 While that does work, It unfortunately isn't an acceptable solution for me. I really need to be running this from a plain text console. Why? The answer to this question may unearth a misconception on your part about rxvt. Any other ideas? Well, you can try setting TERM to different terminal types and see if that helps you. You might try 'vt220' or 'linux' or whatever you're using when in Linux. There's no guarantee that you'll get what you want here and for other things but it may be your best bet if you don't want to start fiddling around with the 'cygwin' settings, which is what I would recommend next. -- 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/
Re: Win2003 server and cron/sshd as services (1.5.19)
On 05/06/2006, Mike Dunn wrote: I did just test by running cron from the command line (not as a service), and it appears to work fine. I suspect, that it can only exec commands under my uid, since my account does not have things like SeCreateTokenPrivilege, etc. Right. And by running it from the command line under your uid, you've created files under /var with permissions that will keep 'cron' from running as a service using the sshd_server (which already has the ability to switch user contexts on W2K3). Your best bet here is probably to uninstall cron and reinstall it, using the installation instructions in /usr/share/doc/Cygwin/cron.README. -- 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/
[ANNOUNCEMENT] Updated: xpm-nox-4.2.0-5
To avoid conflicts with the impending release of new cygwin-x packages (which will use the modular x.org sources and install into /usr NOT /usr/X11R6/ ), I've updated the xpm-nox package. xpm-nox provides a version of the Xpm image format library compiled to NOT require the use of an X server. However, it has also contained a DLL and utility that may conflict with the new x.org binaries' location. So, various name changes and removals... Changes from 4.2.0-4 o /usr/bin/cxpm.exe -- /usr/bin/cxpm-noX.exe o /usr/share/man/man1/cxpm.1 -- /usr/share/man/man1/cxpm-noX.1.gz o /usr/bin/sxpm.exe REMOVED [1] o /usr/share/man/man1/sxpm.1 REMOVED [1] o /usr/bin/cygXpm-X4.dll REMOVED [2] [1] sxpm never had any business in xpm-nox. It is an X program, and the x.org packages will provide this tool (and, presumably, its man page) [2] This DLL has been retained for 5 years, with no known users. It is an X-based compilation of the libXpm code (so it really didn't belong in xpm-nox, either). The real libXpm DLL is distributed in the x.org packages (current and future) under a different name ['cygXpm-4.dll' vs 'cygXpm-X4.dll']. It is the x.org version, cygXpm-4.dll, that all known Xpm clients on cygwin use. After five years of keeping this compatibility library around, I'm now removing it. If removing this DLL causes a problem -- recompile your app to use the official X-based libXpm DLL. -- Chuck 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 the above URL. -- 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/