Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 12 Jan 2005 13:02:40 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: =?ISO-8859-1?Q?Peter_Valdemar_M=F8rch?= cc: cygwin AT cygwin DOT com Subject: Re: nohup "broken" after update of cygwin from 1.5.9->1.5.12 -- keychain and ssh-agent broken at least... In-Reply-To: <41E5385D.5090207@sneakemail.com> Message-ID: References: <41E5385D DOT 5090207 AT sneakemail DOT com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-758783491-1105552960=:522" ---559023410-758783491-1105552960=:522 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Wed, 12 Jan 2005, Peter Valdemar Mørch wrote: > Hi there, > > My problem seems to boil down to this: If I have this simple batch file and > dbl. click on it: > \cygwin\bin\bash -c "/usr/bin/nohup /usr/bin/ssh-agent -s" > > With 1.5.9, this batch file would finish, the MS-DOS box would > disappear, and ssh-agent would be operative and in the task list. With > 1.5.12, the MS-DOS box lingers on, and if I close the MS-DOS box, > ssh-agent is killed. > > Any idea why? > > Here is the output from uname -a (new/old): > CYGWIN_NT-5.1 pvmXP 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown unknown Cygwin > CYGWIN_NT-5.1 pvmXP 1.5.9(0.112/4/2) 2004-03-18 23:05 i686 unknown unknown Cygwin > > I don't mind supplying /etc/setup/installed.db, but don't know what to > show... You'd usually provide the output of "cygcheck -svr". That contains the information about your Cygwin installation, which includes that in installed.db. > Details: > [snip] > However, after updating today to the most recent "of everything", now ^^^^^^^^^^^^^ > the behavior has changed. The MS-DOS box just sits there. If I try to > close it, I get the Windows "End Program" window, and closing it, kills > ssh-agent. > [snip] > /usr/bin/keychain is identical to what it was. Ah, but /usr/bin/nohup isn't. I doubt it's the upgrade of "cygwin" that caused this. Basically, in the old package "sh-utils", /usr/bin/nohup was a bash script. In the new package "coreutils", which supercedes "sh-utils", /usr/bin/nohup.exe is a native executable. So, the problem is probably due to the switch from sh-utils to coreutils. That said, the coreutils package is up for adoption, as the current maintainer looks at it as more of a community service... Any problems that require more than trivial involvement from the maintainer are likely to stay unfixed unless someone else takes over maintainership. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,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 ---559023410-758783491-1105552960=:522 Content-Type: text/plain; charset=us-ascii -- 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/ ---559023410-758783491-1105552960=:522--