public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Александр Берсенев" <bay@hackerdom.ru>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/autodep:master commit in: src/autodep/logfs/
Date: Sun, 21 Aug 2011 13:10:46 +0000 (UTC)	[thread overview]
Message-ID: <3acaba4993c5fdd736b1821acd13f7b0f5a2b269.bay@gentoo> (raw)

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



                 reply	other threads:[~2011-08-21 13:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3acaba4993c5fdd736b1821acd13f7b0f5a2b269.bay@gentoo \
    --to=bay@hackerdom.ru \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox