From d4b53ea73d13fb1477ced63a6a1df96590431914 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Sat, 13 Mar 2010 16:37:13 -0800 Subject: [PATCH] Removing setsid for the moment - breaks shutdown. Close to solving this set of problems. --- mininet/node.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mininet/node.py b/mininet/node.py index 7cd5845..4e132d3 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -66,9 +66,8 @@ class Node( object ): defaultIP: default IP address for intf 0""" self.name = name closeFds = False # speed vs. memory use - # setsid is necessary to detach from tty # xpg_echo is needed so we can echo our sentinel in sendCmd - cmd = [ '/usr/bin/setsid', '/bin/bash', '-O', 'xpg_echo' ] + cmd = [ '/bin/bash', '-O', 'xpg_echo' ] self.inNamespace = inNamespace if self.inNamespace: cmd = [ 'netns' ] + cmd