This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: nohup "broken" after update of cygwin from 1.5.9->1.5.12 -- keychain and ssh-agent broken at least...


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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
--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]