Bugs item #1555692, was opened at 2006-09-10 01:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1555692&group_id=259

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Manuel Schulte (manuel)
Assigned to: Nobody/Anonymous (nobody)
Summary: si_prepareclient can't identify kernel file

Initial Comment:
I am using the 3.6.2-2 packages for Debian stable as
downloaded via apt from the repository specified on the
SI website. 

When I run the command 'si_prepareclient' on the gold
client, the program exits after a while with the
following error:

"I couldn't identify your kernel file.  Please try --XXX."

I tracked the problem down to the regular expression in
the '_get_kernel_release' function of the SI perl
module 'UseYourOwnKernel.pm'.  The regular expression
doesn't match the 'uname -r' string from the kernel. 
Specifically, the following two strings (from 2
different debianized kernel packages I have tried)
aren't matched:

"2.6.16-2-xen-686 (Debian 2.6.16-18~bpo.1)
([EMAIL PROTECTED]) (gcc version 3.3.5 (Debian
1:3.3.5-13)) #1 SMP Mon Aug 21 17:58:12 CEST 2006"

and

"2.6.16-2-686 ([EMAIL PROTECTED]) #1 Mon Aug 21 11:33:09
CEST 2006"


Using the following expression instead fixes the bug:

"(2\.[46]\.\d.*?) \([EMAIL PROTECTED]) [#]\d+.*\w{3} \w{3} \d{1,2}
\d{2}:\d{2}:\d{2} \w{3,4} \d{4}"

The changes compared to the original expression are an
allowance for 3 or 4 characters in the timezone portion
of the string (instead of only 3 originally) and a non
greedy match in the portion matching the version string
, so that the version string is recognized to end at
the first encounter of a space character.  This
expression matches all example strings in the comments
of the original file as well as the ones above.

cheers,
Manuel Schulte

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1555692&group_id=259

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to