public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* STABLE2 - fence egenera: fix logging file
@ 2008-10-21  4:14 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2008-10-21  4:14 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=8fb801282da88b6cc104d961c51ed031c9943a7d
Commit:        8fb801282da88b6cc104d961c51ed031c9943a7d
Parent:        f42418abf4092b1fd0ee8a719b3be5ceaaa6e0b2
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: Tue Oct 21 06:13:11 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++)
 	{


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

only message in thread, other threads:[~2008-10-21  4:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-21  4:14 STABLE2 - fence egenera: fix logging file Fabio M. Di Nitto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).