[ovs-git] Open vSwitch: daemon: Close standard file descriptors when daemonizing. (next)

dev at openvswitch.org dev at openvswitch.org
Wed Jan 13 00:03:46 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, next has been updated
       via  55368fb83674be5327639322ab3ffb0192782da2 (commit)
      from  9a2e19532841e5d17a394e9f4d9307dd3828a3db (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 55368fb83674be5327639322ab3ffb0192782da2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=55368fb83674be5327639322ab3ffb0192782da2
Author: Ben Pfaff <blp at nicira.com>
		
daemon: Close standard file descriptors when daemonizing.
		
Before SSH terminates, it waits for the PTYs that it creates for use as
stdin, stdout, and stderr to be closed.  When any of the Open vSwitch
daemons were started in the background over an SSH session, they held
those file descriptors open and thus the SSH session hung.  This commit
fixes the problem by closing those file descriptors, allowing SSH to
terminate.


-----------------------------------------------------------------------

Summary of changes:
 lib/daemon.c |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list