aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bersenev <bay@hackerdom.ru>2011-08-21 19:09:20 +0000
committerAlexander Bersenev <bay@hackerdom.ru>2011-08-21 19:09:20 +0000
commit3acaba4993c5fdd736b1821acd13f7b0f5a2b269 (patch)
tree75f51fb9dd945035c234c4f1af0645602cbe4459
parentprepare to emerging (diff)
downloadautodep-3acaba4993c5fdd736b1821acd13f7b0f5a2b269.tar.gz
autodep-3acaba4993c5fdd736b1821acd13f7b0f5a2b269.tar.bz2
autodep-3acaba4993c5fdd736b1821acd13f7b0f5a2b269.zip
corrected paths to logging libraries
-rw-r--r--src/autodep/logfs/logger_fusefs.py4
-rw-r--r--src/autodep/logfs/logger_hooklib.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/autodep/logfs/logger_fusefs.py b/src/autodep/logfs/logger_fusefs.py
index 10e23dc..8c16d91 100644
--- a/src/autodep/logfs/logger_fusefs.py
+++ b/src/autodep/logfs/logger_fusefs.py
@@ -47,9 +47,7 @@ class logger:
os.environ["LOG_SOCKET"]=self.socketname
os.environ["PARENT_PID"]=str(self.currpid)
- # TODO: change
- ret=subprocess.call(['/home/bay/gsoc/src/hook_fusefs/hookfs',self.rootmountpath,
- '-o','allow_other,suid'])
+ ret=subprocess.call(['hookfs',self.rootmountpath, '-o','allow_other,suid'])
if ret!=0:
print "failed to launch FUSE logger. Check messages above"
exit(1)
diff --git a/src/autodep/logfs/logger_hooklib.py b/src/autodep/logfs/logger_hooklib.py
index 1c72279..c6af4e4 100644
--- a/src/autodep/logfs/logger_hooklib.py
+++ b/src/autodep/logfs/logger_hooklib.py
@@ -5,7 +5,9 @@ import sys
class logger:
socketname=''
- hooklibpath='/home/bay/gsoc/src/hook_lib/file_hook.so' # TODO: change
+ # we can't use just file_hook.so here
+ # because program may change LD_LIBRARY_PATH
+ hooklibpath='/usr/lib/file_hook.so'
def __init__(self,socketname):
self.socketname=socketname