Red Hat Bugzilla – Bug 485498
Beginer Guide Install scripts to be included in systemtap rpm
Last modified: 2009-09-02 06:01:24 EDT
Description of problem:
This install script listed in the SystemTap Beginner's Guide should be included in the systemtap and the documentation should indicate how to use the *installed* script.
Right now the scripts are in the systemtap source repository but they are not actually installed with the systemtap rpm. Any steps to reduce the complexity of setting up a machine to run systemtap would help the system administrators that might be using canned scripts.
Is this bug about including stapprep.sh and rheldebugurl.sh scripts? So I know for what to look when I'll be veryfying this.
oops, forgot to add needinfo flag when I asked
Yes, the thought is to include those scripts as part of the installation. There is a proposed patch to make these scripts available as part of the installation.
This is discussed at:
The stapprep.sh script was not listed in the spec file, so it is
not included in the 0.9.7 binary RPM. (Some lightweight checking
of that script on rhel4 and fedora9 indicates it is not perfect
for those OSs.)
Yes, the script doesn't work on RHEL4 because rhel4 doesn't have yumdownloader. How didn't it work for fedora 9? Maybe trying to download debuginfo rpms for kernel that isn't in fedora repo anymore? The debuginfo rpms seemed to be removed from the fedora update repos.
For recent versions of fedora need kernel-firmware also.
Created attachment 344710 [details]
Changes to Install stap-prep script
The attached patch installs the script stap-prep script as part of the systemtap rpm.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.