Whamcloud - gitweb
- don't touch /proc/sys/portals/debug_path in noexec mode
authorrread <rread>
Thu, 22 Aug 2002 21:38:56 +0000 (21:38 +0000)
committerrread <rread>
Thu, 22 Aug 2002 21:38:56 +0000 (21:38 +0000)
lustre/utils/lconf

index 328d418..6629347 100755 (executable)
@@ -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()