cas | 6 ++++++
cas.conf | 4 +++-
cas.spec | 7 ++++++-
3 files changed, 15 insertions(+), 2 deletions(-)
New commits:
commit d03a3204406c1ffdf97f8cbc62185662897185a4
Author: Adam Stokes <ajs(a)redhat.com>
Date: Thu Jan 8 20:56:46 2009 -0500
- enabled a deep hierachy for more than one core
under the same identifier
diff --git a/cas b/cas
index d4bec50..057b383 100755
--- a/cas
+++ b/cas
@@ -21,6 +21,7 @@ import ConfigParser
import smtplib
from subprocess import Popen, PIPE
+from datetime import datetime
from cas.network import Download
from cas.core import CoreBase, CoreException
@@ -154,7 +155,12 @@ class CasApplication(object):
self.identifier = self.opts.identifier
self.email = self.opts.email
self.extractKernelModules = self.opts.kernel_modules
+ # we want to allow for multiple cores under same identifier
+ # so we base the hierarchy /workDirectory/identifyer/datetime
+ datenow = datetime.now()
+ dateFormatted = datenow.strftime("%I.%M.%S")
self.storagePath = os.path.join(WORKDIRECTORY, self.identifier)
+ self.storagePath = os.path.join(self.storagePath, dateFormatted)
# build logger object to deal with logging per job and keep things
# clean and easy to debug
diff --git a/cas.conf b/cas.conf
index 89af903..6ce4579 100644
--- a/cas.conf
+++ b/cas.conf
@@ -41,5 +41,7 @@
mailServer=mail.example.com
[advanced]
# if running a x86_64 system and wish to analyze 32bit
# cores, define the location of 32bit crash binary
+# EXAMPLE USAGE:
+# rpm --relocate /usr/bin=/usr/local/i386 -ivh crash*i386.rpm
-# crash_32=/usr/local/i386/bin/crash
+# crash_32=/usr/local/i386/crash
diff --git a/cas.spec b/cas.spec
index dfe5cd7..8f97070 100644
--- a/cas.spec
+++ b/cas.spec
@@ -3,7 +3,7 @@
Name: cas
Summary: Tool to analyze and configure core file environment
Version: 0.13
-Release: 115%{?dist}
+Release: 117%{?dist}
Source0:
https://fedorahosted.org/releases/c/a/cas/%{name}-%{version}.tar.gz
License: GPLv3+
Group: Development/Libraries
@@ -42,6 +42,11 @@ rm -rf ${RPM_BUILD_ROOT}
%doc LICENSE README PKG-INFO
%changelog
+* Wed Jan 7 2009 Adam Stokes <ajs at redhat dot com> - 0.13-116
+- support for extracting kernel modules
+- support for analyzing x86 cores on x86_64 system
+- consistent macro usage in spec
+
* Mon Dec 29 2008 Adam Stokes <ajs at redhat dot com> - 0.13-114
- changed license to gplv3 or later
- removed source requirements as these are handled by python manifest