This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
master - fence egenera: fix logging file
- From: "Fabio M. Di Nitto" <fabbione at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Fri, 17 Oct 2008 11:39:39 +0000 (UTC)
- Subject: master - fence egenera: fix logging file
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=3cbfec86d02a563475933cbb9ca8a9514c947ad1
Commit: 3cbfec86d02a563475933cbb9ca8a9514c947ad1
Parent: bbc02fe71467c541e43422a29ae3c005459adf36
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Fri Oct 17 13:38:17 2008 +0200
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Fri Oct 17 13:38:17 2008 +0200
fence egenera: fix logging file
Move log file where it belongs with all the others.
Addresses: CVE-2008-4192
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
fence/agents/egenera/fence_egenera.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fence/agents/egenera/fence_egenera.pl b/fence/agents/egenera/fence_egenera.pl
index 30607fe..67d1d83 100644
--- a/fence/agents/egenera/fence_egenera.pl
+++ b/fence/agents/egenera/fence_egenera.pl
@@ -284,7 +284,7 @@ sub pserver_shutdown
{
my $rtrn=1;
local *egen_log;
- open(egen_log,">>/tmp/eglog");
+ open(egen_log,">>@LOGDIR@/fence_egenera.log");
print egen_log "Attempting shutdown at ".`date`."\n";
for (my $trys=0; $trys<20; $trys++)
{