[ovs-dev] [PATCH] daemon: Close standard file descriptors when daemonizing.

Jesse Gross jesse at nicira.com
Tue Jan 12 22:45:04 UTC 2010


Ben Pfaff wrote:
> 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.

Looks good.




More information about the dev mailing list