public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/autodep:master commit in: src/autodep/logfs/
@ 2011-08-21 13:10 Александр Берсенев
  0 siblings, 0 replies; only message in thread
From: Александр Берсенев @ 2011-08-21 13:10 UTC (permalink / raw
  To: gentoo-commits

commit:     3acaba4993c5fdd736b1821acd13f7b0f5a2b269
Author:     Alexander Bersenev <bay <AT> hackerdom <DOT> ru>
AuthorDate: Sun Aug 21 19:09:20 2011 +0000
Commit:     Александр Берсенев <bay <AT> hackerdom <DOT> ru>
CommitDate: Sun Aug 21 19:09:20 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/autodep.git;a=commit;h=3acaba49

corrected paths to logging libraries

---
 src/autodep/logfs/logger_fusefs.py  |    4 +---
 src/autodep/logfs/logger_hooklib.py |    4 +++-
 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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-21 13:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-21 13:10 [gentoo-commits] proj/autodep:master commit in: src/autodep/logfs/ Александр Берсенев

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox