Bug Fix Advisory systemtap bug fix and enhancement update

Advisory: RHBA-2009:1313-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2009-09-02
Last updated on: 2009-09-02
Affected Products: RHEL Desktop Workstation (v. 5 client)
Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)
OVAL: N/A

Details

Updated systemtap packages that fix various bugs, enhance user-space
probing, improve support for debuginfo-less operations and apply several
other enhancements are now available.

SystemTap provides an instrumentation infrastructure for systems running
the Linux 2.6 kernel. It allows users to write scripts that probe and trace
system events for monitoring and profiling purposes. SystemTap's framework
allows users to investigate and monitor a wide variety of wide variety of
kernel functions, system calls, and other evens that occur in both
kernel-space and user-space.

With this update, SystemTap is now re-based on upstream version 0.9.7. This
applies several bug fixes and enhancements, including:

* The systemtap-testsuite package contained test cases that were
incorrectly configured as 'executable' (systemtap.base/bz10078.stp,
buildko/two.stp, and buildok/thirty.stp). Any test runs involving these
cases failed unexpectedly. This release fixes the permissions for all test
cases provided by the systemtap-testsuite package. (BZ#499657)

* On-file flight recording is now supported. This allows stap to run in the
background and record huge trace log information on the disk, rather than
just to memory. (BZ#438737)

* Kernel tracepoints are now supported for probing predefined kernel events
without any debuginfo information. Tracepoints incur less overhead than
kprobes, and context parameters are available with full type information.
For a list of available, supported tracepoints, run the command stap -L
'kernel.trace("*")'. (BZ#475456 and BZ#498040)

* SystemTap log rotation is now supported. With this, a running SystemTap
script can switch to a different log file during on-file flight recording
without stopping. Users can specify a time or log file size that triggers a
log rotation, helping ensure that a SystemTap script never stops recording
information. (BZ#481704)

SystemTap is no longer a technology preview, and now has production
support. Red Hat recommendeds that users run scripts on development
machines before deployment in production environments. Since SystemTap is
an optional diagnostic tool, users can easily stop using it in the event of
a problem. Options such as "-g" for Guru mode, and "-D*", allow users to
disable several security checks. Scripts using these options may not be
supported.

Red Hat plans to fix problems in SystemTap, or the Linux kernel, as they
arise in connection with new scripts. In some cases, a fix may include
extending the blacklist for known areas of the Linux kernel that are unsafe
to probe. All scripts that use probes targeting blacklisted areas will need
to be revised.

This errata contains several other enhancements and bug fixes. For a
complete list of SystemTap updates applied by this errata, please refer to
the SystemTap errata entry in the Red Hat Enterprise Linux 5.4 Technical
Notes available at

http://redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/
Technical_Notes/systemtap.html

SystemTap users are advised to upgrade to this version.


Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

Updated packages

RHEL Desktop Workstation (v. 5 client)

SRPMS:
systemtap-0.9.7-5.el5.src.rpm     bec64df24581d2bf627a62bccf8281e1
 
IA-32:
systemtap-sdt-devel-0.9.7-5.el5.i386.rpm     8e73f48c7d4dcf770a247bd36152d8ff
 
x86_64:
systemtap-sdt-devel-0.9.7-5.el5.i386.rpm     8e73f48c7d4dcf770a247bd36152d8ff
systemtap-sdt-devel-0.9.7-5.el5.x86_64.rpm     e2c5ee9e00108de0a4283347e73b7cef
 
Red Hat Enterprise Linux (v. 5 server)

SRPMS:
systemtap-0.9.7-5.el5.src.rpm     bec64df24581d2bf627a62bccf8281e1
 
IA-32:
systemtap-0.9.7-5.el5.i386.rpm     73902cfa5436af3e4497390d81eecd20
systemtap-client-0.9.7-5.el5.i386.rpm     b58da7cc5bcd06754db7a2200b911319
systemtap-initscript-0.9.7-5.el5.i386.rpm     cd7a28174f724b8862362853e8c69792
systemtap-runtime-0.9.7-5.el5.i386.rpm     2f0c8f4a806109bdbf3968827005c1ed
systemtap-sdt-devel-0.9.7-5.el5.i386.rpm     8e73f48c7d4dcf770a247bd36152d8ff
systemtap-server-0.9.7-5.el5.i386.rpm     7281b949ff5e2a9ba25c767b4a23f0b4
systemtap-testsuite-0.9.7-5.el5.i386.rpm     b0a64387947ca86fcd5bebde7291d2dc
 
IA-64:
systemtap-0.9.7-5.el5.ia64.rpm     4bf221bc68077c1a37acc5cdc3e7dd84
systemtap-client-0.9.7-5.el5.ia64.rpm     a28510b139c46ef0d2741f259e5be7e9
systemtap-initscript-0.9.7-5.el5.ia64.rpm     806795c96acf6e7537a8a879073934dd
systemtap-runtime-0.9.7-5.el5.ia64.rpm     2abaf3f04ba2d528df40ccb9b1d6c7ca
systemtap-sdt-devel-0.9.7-5.el5.ia64.rpm     8e6954d10bbee6d8cc6323f62c2024df
systemtap-server-0.9.7-5.el5.ia64.rpm     3940ef936fce826783103b8eaed09cce
systemtap-testsuite-0.9.7-5.el5.ia64.rpm     264d158e1654aecebfade4351eb14bfc
 
PPC:
systemtap-0.9.7-5.el5.ppc64.rpm     847a39e2baf50ffd9d819da00f02fa19
systemtap-client-0.9.7-5.el5.ppc64.rpm     707798ff80131b4c360102ad5432bda8
systemtap-initscript-0.9.7-5.el5.ppc64.rpm     029536149d7121c2924faf4a82785e3d
systemtap-runtime-0.9.7-5.el5.ppc64.rpm     faaf355dce52f6c5c594ec9cf035e339
systemtap-sdt-devel-0.9.7-5.el5.ppc64.rpm     738a81e351cdbbdb5b0e54794c599f3a
systemtap-server-0.9.7-5.el5.ppc64.rpm     0cdcc4cad40d0221a96308f707ebadfb
systemtap-testsuite-0.9.7-5.el5.ppc64.rpm     da6e3a3cd5713d7dfeded5ede54bd84b
 
s390x:
systemtap-0.9.7-5.el5.s390x.rpm     b85a937a2420fc73eecf65a019c64614
systemtap-client-0.9.7-5.el5.s390x.rpm     482e3b4f442ecad501f93994ecf140e0
systemtap-initscript-0.9.7-5.el5.s390x.rpm     5b134567f4753e43c05ffe7f82a1c04e
systemtap-runtime-0.9.7-5.el5.s390x.rpm     7d6a7ebb3ea345c4e6edeee7a2818faa
systemtap-sdt-devel-0.9.7-5.el5.s390.rpm     abcd2f284672877f1e3de0c7d0d9cf5d
systemtap-sdt-devel-0.9.7-5.el5.s390x.rpm     f61c59e0082356bdf4cfd7f6a230c57f
systemtap-server-0.9.7-5.el5.s390x.rpm     27e3c05a4791c71028528ae4669c69ba
systemtap-testsuite-0.9.7-5.el5.s390x.rpm     54a2a6a85acd6091063e36c0f01c593c
 
x86_64:
systemtap-0.9.7-5.el5.x86_64.rpm     5699d28101ee119251ca064eede75eef
systemtap-client-0.9.7-5.el5.x86_64.rpm     0454ed8dae6f8714c0d6d1e12986dd76
systemtap-initscript-0.9.7-5.el5.x86_64.rpm     f199def5c172f4e23b8ad8cc580ebb50
systemtap-runtime-0.9.7-5.el5.x86_64.rpm     25bae91525a0e0f5fdbbe9068e436b94
systemtap-sdt-devel-0.9.7-5.el5.i386.rpm     8e73f48c7d4dcf770a247bd36152d8ff
systemtap-sdt-devel-0.9.7-5.el5.x86_64.rpm     e2c5ee9e00108de0a4283347e73b7cef
systemtap-server-0.9.7-5.el5.x86_64.rpm     b4d97211ead82e5cd598abd10c96675e
systemtap-testsuite-0.9.7-5.el5.x86_64.rpm     2dd7242a7168c93b07e9d70f02a01709
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
systemtap-0.9.7-5.el5.src.rpm     bec64df24581d2bf627a62bccf8281e1
 
IA-32:
systemtap-0.9.7-5.el5.i386.rpm     73902cfa5436af3e4497390d81eecd20
systemtap-client-0.9.7-5.el5.i386.rpm     b58da7cc5bcd06754db7a2200b911319
systemtap-initscript-0.9.7-5.el5.i386.rpm     cd7a28174f724b8862362853e8c69792
systemtap-runtime-0.9.7-5.el5.i386.rpm     2f0c8f4a806109bdbf3968827005c1ed
systemtap-server-0.9.7-5.el5.i386.rpm     7281b949ff5e2a9ba25c767b4a23f0b4
systemtap-testsuite-0.9.7-5.el5.i386.rpm     b0a64387947ca86fcd5bebde7291d2dc
 
x86_64:
systemtap-0.9.7-5.el5.x86_64.rpm     5699d28101ee119251ca064eede75eef
systemtap-client-0.9.7-5.el5.x86_64.rpm     0454ed8dae6f8714c0d6d1e12986dd76
systemtap-initscript-0.9.7-5.el5.x86_64.rpm     f199def5c172f4e23b8ad8cc580ebb50
systemtap-runtime-0.9.7-5.el5.x86_64.rpm     25bae91525a0e0f5fdbbe9068e436b94
systemtap-server-0.9.7-5.el5.x86_64.rpm     b4d97211ead82e5cd598abd10c96675e
systemtap-testsuite-0.9.7-5.el5.x86_64.rpm     2dd7242a7168c93b07e9d70f02a01709
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

475456 - [FUJITSU 5.4 FEAT] systemtap tracepoint support
481377 - systemtap rebase for RHEL5.4
485498 - Beginer Guide Install scripts to be included in systemtap rpm
494462 - systemtap sends signals to all processes in process group.
498018 - enable "probe process.insn[.block]" for rhel5-era utrace
498040 - intermittent crashes on prototype kprobe.function("foo") probes for erroneous "foo"
499657 - Bogus testsuite failures due to permissions
499677 - 'Unknown symbol in module' in Pass 5 when probing userspace
499688 - buildok/vfs_testcase.stp fails to build on ppc
501759 - dwfl_offline_section_address: Assertion `mod->e_type == 1' failed.
501795 - sdt.h on powerpc Error: junk at end of line: `0'
504007 - possible intermittent deadlock with uprobes due to task_finder mm_lock holding


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/