Skip to content
Snippets Groups Projects
Commit d4b53ea7 authored by Bob Lantz's avatar Bob Lantz
Browse files

Removing setsid for the moment - breaks shutdown.

Close to solving this set of problems.
parent e953444f
No related branches found
No related tags found
No related merge requests found
......@@ -66,9 +66,8 @@ def __init__( self, name, inNamespace=True,
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment