Bugs item #1555692, was opened at 2006-09-10 10:43
Message generated for change (Settings changed) made by righiandr
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: systemimager-server
Group: v3.6.3
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Manuel Schulte (manuel)
Assigned to: Bernard Li (bernardli)
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
----------------------------------------------------------------------
Comment By: Bernard Li (bernardli)
Date: 2006-09-12 01:56
Message:
Logged In: YES
user_id=879102
Fixed in trunk r3736. If you can test this tarball:
http://www.bcgsc.ca/downloads/oscar/systemimager/dev/systemimager-3.7.4r3736_bli.tar.bz2
That would be great. Thanks!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1555692&group_id=259
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
sisuite-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-devel