From 3875754597ffb7c201907b7844903724d8fa9163 Mon Sep 17 00:00:00 2001 From: rread Date: Thu, 22 Aug 2002 21:38:56 +0000 Subject: [PATCH] - don't touch /proc/sys/portals/debug_path in noexec mode --- lustre/utils/lconf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/utils/lconf b/lustre/utils/lconf index 328d418..6629347 100755 --- a/lustre/utils/lconf +++ b/lustre/utils/lconf @@ -1025,6 +1025,8 @@ def setupModulePath(cmd): def setDebugPath(): debug("debug path: ", config.debug_path()) + if config.noexec(): + return fp = open('/proc/sys/portals/debug_path', 'w') fp.write(config.debug_path()) fp.close() -- 1.8.3.1