Re: broken nohup?
From: Matthew Miller (mattdm_at_mattdm.org)
Date: 10/21/04
- Previous message: Brian Fahrlander: "Re: Very, very OT: Canada -- was [RE: A welcoming email]"
- In reply to: Sam Steingold: "broken nohup?"
- Next in thread: Nifty Hat Mitch: "Re: broken nohup?"
- Reply: Nifty Hat Mitch: "Re: broken nohup?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 20 Oct 2004 20:40:30 -0400 To: fedora-list@redhat.com
On Wed, Oct 20, 2004 at 07:39:47PM -0400, Sam Steingold wrote:
> nohup does not let me log out:
> $ ssh my-host
> my-host:bash$ nohup foo &
> my-host:bash$ exit
> <hangs here, ssh never terminates>.
> I have to kill the ssh process externally.
This is a long-standing problem with OpenSSH. In fact, it's even earned a
FAQ on their web site. See <http://www.openssh.com/faq.html#3.10>. Not that
there's a solution there -- to my knowledge, there just isn't one. (Well,
there's a few suggested patches, but they haven't undergone review.)
It's worth noting -- and knowing this makes their faq response make sense --
that bash, by default, *doesn't* send a HUP on exit. This means two things
for you: first, there's really no need to use the nohup command, and second,
the "workaround" they present is no workaround at all. The real workaround
is the one you've been using -- kill the ssh process externally.
Sorry this isn't really a helpful answer. But at least you'll know you're
not alone.
-- Matthew Miller mattdm@mattdm.org <http://www.mattdm.org/> Boston University Linux ------> <http://linux.bu.edu/> -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Brian Fahrlander: "Re: Very, very OT: Canada -- was [RE: A welcoming email]"
- In reply to: Sam Steingold: "broken nohup?"
- Next in thread: Nifty Hat Mitch: "Re: broken nohup?"
- Reply: Nifty Hat Mitch: "Re: broken nohup?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|