|
@@ -17,6 +17,7 @@ import socket
|
|
import struct
|
|
import struct
|
|
import os
|
|
import os
|
|
import subprocess
|
|
import subprocess
|
|
|
|
+import copy
|
|
from isc.log_messages.bind10_messages import *
|
|
from isc.log_messages.bind10_messages import *
|
|
from libutil_io_python import recv_fd
|
|
from libutil_io_python import recv_fd
|
|
|
|
|
|
@@ -207,7 +208,7 @@ class Creator(Parser):
|
|
|
|
|
|
remote2 = socket.fromfd(remote.fileno(), socket.AF_UNIX,
|
|
remote2 = socket.fromfd(remote.fileno(), socket.AF_UNIX,
|
|
socket.SOCK_STREAM)
|
|
socket.SOCK_STREAM)
|
|
- env = os.environ
|
|
+ env = copy.deepcopy(os.environ)
|
|
env['PATH'] = path
|
|
env['PATH'] = path
|
|
self.__process = subprocess.Popen(['b10-sockcreator'], env=env,
|
|
self.__process = subprocess.Popen(['b10-sockcreator'], env=env,
|
|
stdin=remote.fileno(),
|
|
stdin=remote.fileno(),
|