|
|
@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
# work around flakey gcc warnings
|
|
|
|
|
|
|
|
%{!?with_Werror: %global with_Werror 0}
|
|
|
|
%{!?with_sqlite: %global with_sqlite 0%{?fedora} >= 17 || 0%{?rhel} >= 7}
|
|
|
|
%{!?with_sqlite: %global with_sqlite 0%{?fedora} >= 17 || 0%{?rhel} >= 7}
|
|
|
|
# prefer prebuilt docs
|
|
|
|
# prefer prebuilt docs
|
|
|
|
%{!?with_docs: %global with_docs 0}
|
|
|
|
%{!?with_docs: %global with_docs 0}
|
|
|
@ -45,7 +47,7 @@
|
|
|
|
%{!?with_sysusers: %global with_sysusers 0%{?fedora} >= 32 || 0%{?rhel} >= 9}
|
|
|
|
%{!?with_sysusers: %global with_sysusers 0%{?fedora} >= 32 || 0%{?rhel} >= 9}
|
|
|
|
|
|
|
|
|
|
|
|
# Virt is supported on these arches, even on el7, but it's not in core EL7
|
|
|
|
# Virt is supported on these arches, even on el7, but it's not in core EL7
|
|
|
|
%if 0%{?rhel} <= 7
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
|
%ifarch ppc64le aarch64
|
|
|
|
%ifarch ppc64le aarch64
|
|
|
|
%global with_virthost 0
|
|
|
|
%global with_virthost 0
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -64,9 +66,6 @@
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%if 0%{?rhel} >= 6
|
|
|
|
%if 0%{?rhel} >= 6
|
|
|
|
%define udevrulesdir /lib/udev/rules.d
|
|
|
|
%define udevrulesdir /lib/udev/rules.d
|
|
|
|
%else
|
|
|
|
|
|
|
|
# RHEL5
|
|
|
|
|
|
|
|
%define udevrulesdir /etc/udev/rules.d
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -83,11 +82,7 @@
|
|
|
|
%define dracutbindir %{_bindir}
|
|
|
|
%define dracutbindir %{_bindir}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 6
|
|
|
|
%{!?_rpmmacrodir: %define _rpmmacrodir %{_rpmconfigdir}/macros.d}
|
|
|
|
%{!?_rpmmacrodir: %define _rpmmacrodir /etc/rpm/}
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%{!?_rpmmacrodir: %define _rpmmacrodir %{_rpmconfigdir}/macros.d}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# To avoid testsuite/*/*.stp has shebang which doesn't start with '/'
|
|
|
|
# To avoid testsuite/*/*.stp has shebang which doesn't start with '/'
|
|
|
|
%define __brp_mangle_shebangs_exclude_from .stp$
|
|
|
|
%define __brp_mangle_shebangs_exclude_from .stp$
|
|
|
@ -97,7 +92,10 @@
|
|
|
|
\
|
|
|
|
\
|
|
|
|
g stapusr 156\
|
|
|
|
g stapusr 156\
|
|
|
|
g stapsys 157\
|
|
|
|
g stapsys 157\
|
|
|
|
g stapdev 158
|
|
|
|
g stapdev 158\
|
|
|
|
|
|
|
|
g stapunpriv 159\
|
|
|
|
|
|
|
|
u stapunpriv 159 "systemtap unprivileged user" /var/lib/stapunpriv /sbin/nologin\
|
|
|
|
|
|
|
|
m stapunpriv stapunpriv
|
|
|
|
|
|
|
|
|
|
|
|
%define _systemtap_server_preinstall \
|
|
|
|
%define _systemtap_server_preinstall \
|
|
|
|
# See systemd-sysusers(8) sysusers.d(5)\
|
|
|
|
# See systemd-sysusers(8) sysusers.d(5)\
|
|
|
@ -122,8 +120,8 @@ m stapdev stapdev
|
|
|
|
|
|
|
|
|
|
|
|
Name: systemtap
|
|
|
|
Name: systemtap
|
|
|
|
# PRERELEASE
|
|
|
|
# PRERELEASE
|
|
|
|
Version: 4.9
|
|
|
|
Version: 5.1
|
|
|
|
Release: 3%{?release_override}%{?dist}
|
|
|
|
Release: 4%{?release_override}%{?dist}
|
|
|
|
# for version, see also configure.ac
|
|
|
|
# for version, see also configure.ac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -156,15 +154,13 @@ Release: 3%{?release_override}%{?dist}
|
|
|
|
# intermediary stap-server for --use-server: systemtap-server (-devel unused)
|
|
|
|
# intermediary stap-server for --use-server: systemtap-server (-devel unused)
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Programmable system-wide instrumentation system
|
|
|
|
Summary: Programmable system-wide instrumentation system
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Source: ftp://sourceware.org/pub/systemtap/releases/systemtap-%{version}.tar.gz
|
|
|
|
Source: ftp://sourceware.org/pub/systemtap/releases/systemtap-%{version}.tar.gz
|
|
|
|
|
|
|
|
Patch1: RHEL-36199a.patch
|
|
|
|
Patch1: rhbz2223733.patch
|
|
|
|
Patch2: RHEL-36199b.patch
|
|
|
|
Patch2: rhbz2223735.patch
|
|
|
|
Patch3: PR31495.patch
|
|
|
|
Patch3: pr29108.patch
|
|
|
|
Patch4: RHEL-50107.patch
|
|
|
|
Patch4: pr30749.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Build*
|
|
|
|
# Build*
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
@ -175,6 +171,7 @@ BuildRequires: pkgconfig(nss)
|
|
|
|
BuildRequires: pkgconfig(avahi-client)
|
|
|
|
BuildRequires: pkgconfig(avahi-client)
|
|
|
|
%if %{with_debuginfod}
|
|
|
|
%if %{with_debuginfod}
|
|
|
|
BuildRequires: pkgconfig(libdebuginfod)
|
|
|
|
BuildRequires: pkgconfig(libdebuginfod)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(json-c)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%if %{with_dyninst}
|
|
|
|
%if %{with_dyninst}
|
|
|
|
BuildRequires: dyninst-devel >= 10.0
|
|
|
|
BuildRequires: dyninst-devel >= 10.0
|
|
|
@ -226,9 +223,6 @@ BuildRequires: pkgconfig(libvirt)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
%if 0%{?rhel} <= 5
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(ncurses)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with_python2_probes}
|
|
|
|
%if %{with_python2_probes}
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
%if 0%{?fedora} >= 1
|
|
|
|
%if 0%{?fedora} >= 1
|
|
|
@ -268,7 +262,7 @@ the components needed to locally develop and execute systemtap scripts.
|
|
|
|
|
|
|
|
|
|
|
|
%package server
|
|
|
|
%package server
|
|
|
|
Summary: Instrumentation System Server
|
|
|
|
Summary: Instrumentation System Server
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap-devel = %{version}-%{release}
|
|
|
|
Requires: systemtap-devel = %{version}-%{release}
|
|
|
|
Conflicts: systemtap-devel < %{version}-%{release}
|
|
|
|
Conflicts: systemtap-devel < %{version}-%{release}
|
|
|
@ -298,7 +292,7 @@ compiles systemtap scripts to kernel objects on their demand.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Programmable system-wide instrumentation system - development headers, tools
|
|
|
|
Summary: Programmable system-wide instrumentation system - development headers, tools
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND BSD-2-Clause
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 20
|
|
|
|
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 20
|
|
|
@ -328,7 +322,7 @@ a copy of the standard tapset library and the runtime library C files.
|
|
|
|
|
|
|
|
|
|
|
|
%package runtime
|
|
|
|
%package runtime
|
|
|
|
Summary: Programmable system-wide instrumentation system - runtime
|
|
|
|
Summary: Programmable system-wide instrumentation system - runtime
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
Conflicts: systemtap-devel < %{version}-%{release}
|
|
|
|
Conflicts: systemtap-devel < %{version}-%{release}
|
|
|
@ -343,7 +337,7 @@ using a local or remote systemtap-devel installation.
|
|
|
|
|
|
|
|
|
|
|
|
%package client
|
|
|
|
%package client
|
|
|
|
Summary: Programmable system-wide instrumentation system - client
|
|
|
|
Summary: Programmable system-wide instrumentation system - client
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: zip unzip
|
|
|
|
Requires: zip unzip
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
@ -366,7 +360,7 @@ documentation, and a copy of the tapset library for reference.
|
|
|
|
|
|
|
|
|
|
|
|
%package initscript
|
|
|
|
%package initscript
|
|
|
|
Summary: Systemtap Initscripts
|
|
|
|
Summary: Systemtap Initscripts
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap = %{version}-%{release}
|
|
|
|
Requires: systemtap = %{version}-%{release}
|
|
|
|
%if %{with_systemd}
|
|
|
|
%if %{with_systemd}
|
|
|
@ -386,7 +380,7 @@ boot-time probing if supported.
|
|
|
|
|
|
|
|
|
|
|
|
%package sdt-devel
|
|
|
|
%package sdt-devel
|
|
|
|
Summary: Static probe support tools
|
|
|
|
Summary: Static probe support tools
|
|
|
|
License: GPLv2+ and Public Domain
|
|
|
|
License: GPL-2.0-or-later AND CC0-1.0
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
%if %{with_pyparsing}
|
|
|
|
%if %{with_pyparsing}
|
|
|
|
%if %{with_python3}
|
|
|
|
%if %{with_python3}
|
|
|
@ -409,12 +403,12 @@ with the optional dtrace-compatibility preprocessor to process related
|
|
|
|
|
|
|
|
|
|
|
|
%package testsuite
|
|
|
|
%package testsuite
|
|
|
|
Summary: Instrumentation System Testsuite
|
|
|
|
Summary: Instrumentation System Testsuite
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later AND GPL AND GPL-2.0-only AND GPL-3.0-or-later AND MIT
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap = %{version}-%{release}
|
|
|
|
Requires: systemtap = %{version}-%{release}
|
|
|
|
Requires: systemtap-sdt-devel = %{version}-%{release}
|
|
|
|
Requires: systemtap-sdt-devel = %{version}-%{release}
|
|
|
|
Requires: systemtap-server = %{version}-%{release}
|
|
|
|
Requires: systemtap-server = %{version}-%{release}
|
|
|
|
Requires: dejagnu which elfutils grep nc
|
|
|
|
Requires: dejagnu which elfutils grep nc wget
|
|
|
|
%if %{with_debuginfod}
|
|
|
|
%if %{with_debuginfod}
|
|
|
|
Requires: elfutils-debuginfod
|
|
|
|
Requires: elfutils-debuginfod
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -481,7 +475,7 @@ systemtap on the current system.
|
|
|
|
%if %{with_java}
|
|
|
|
%if %{with_java}
|
|
|
|
%package runtime-java
|
|
|
|
%package runtime-java
|
|
|
|
Summary: Systemtap Java Runtime Support
|
|
|
|
Summary: Systemtap Java Runtime Support
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
# work around fedora ci gating kvetching about i686<->x86-64 conflicts
|
|
|
|
# work around fedora ci gating kvetching about i686<->x86-64 conflicts
|
|
|
@ -503,7 +497,7 @@ that probe Java processes running on the OpenJDK runtimes using Byteman.
|
|
|
|
%if %{with_python2_probes}
|
|
|
|
%if %{with_python2_probes}
|
|
|
|
%package runtime-python2
|
|
|
|
%package runtime-python2
|
|
|
|
Summary: Systemtap Python 2 Runtime Support
|
|
|
|
Summary: Systemtap Python 2 Runtime Support
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -515,7 +509,7 @@ that probe python 2 processes.
|
|
|
|
%if %{with_python3_probes}
|
|
|
|
%if %{with_python3_probes}
|
|
|
|
%package runtime-python3
|
|
|
|
%package runtime-python3
|
|
|
|
Summary: Systemtap Python 3 Runtime Support
|
|
|
|
Summary: Systemtap Python 3 Runtime Support
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -532,7 +526,7 @@ that probe python 3 processes.
|
|
|
|
%if %{with_python3_probes}
|
|
|
|
%if %{with_python3_probes}
|
|
|
|
%package exporter
|
|
|
|
%package exporter
|
|
|
|
Summary: Systemtap-prometheus interoperation mechanism
|
|
|
|
Summary: Systemtap-prometheus interoperation mechanism
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -545,7 +539,7 @@ to remote requesters on demand.
|
|
|
|
%if %{with_virthost}
|
|
|
|
%if %{with_virthost}
|
|
|
|
%package runtime-virthost
|
|
|
|
%package runtime-virthost
|
|
|
|
Summary: Systemtap Cross-VM Instrumentation - host
|
|
|
|
Summary: Systemtap Cross-VM Instrumentation - host
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
# only require libvirt-libs really
|
|
|
|
# only require libvirt-libs really
|
|
|
|
#Requires: libvirt >= 1.0.2
|
|
|
|
#Requires: libvirt >= 1.0.2
|
|
|
@ -560,7 +554,7 @@ connection.
|
|
|
|
%if %{with_virtguest}
|
|
|
|
%if %{with_virtguest}
|
|
|
|
%package runtime-virtguest
|
|
|
|
%package runtime-virtguest
|
|
|
|
Summary: Systemtap Cross-VM Instrumentation - guest
|
|
|
|
Summary: Systemtap Cross-VM Instrumentation - guest
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
|
%if %{with_systemd}
|
|
|
|
%if %{with_systemd}
|
|
|
@ -578,10 +572,9 @@ This package installs the services necessary on a virtual machine for a
|
|
|
|
systemtap-runtime-virthost machine to execute systemtap scripts.
|
|
|
|
systemtap-runtime-virthost machine to execute systemtap scripts.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with_python3} && %{with_monitor}
|
|
|
|
|
|
|
|
%package jupyter
|
|
|
|
%package jupyter
|
|
|
|
Summary: ISystemtap jupyter kernel and examples
|
|
|
|
Summary: ISystemtap jupyter kernel and examples
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
URL: http://sourceware.org/systemtap/
|
|
|
|
Requires: systemtap = %{version}-%{release}
|
|
|
|
Requires: systemtap = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -589,7 +582,7 @@ Requires: systemtap = %{version}-%{release}
|
|
|
|
This package includes files needed to build and run
|
|
|
|
This package includes files needed to build and run
|
|
|
|
the interactive systemtap Jupyter kernel, either locally
|
|
|
|
the interactive systemtap Jupyter kernel, either locally
|
|
|
|
or within a container.
|
|
|
|
or within a container.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------
|
|
|
|
# ------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
@ -608,6 +601,13 @@ or within a container.
|
|
|
|
%global dyninst_config --without-dyninst
|
|
|
|
%global dyninst_config --without-dyninst
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Enable/disable the dyninst pure-userspace backend
|
|
|
|
|
|
|
|
%if %{with_Werror}
|
|
|
|
|
|
|
|
%global Werror_config --enable-Werror
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%global Werror_config --disable-Werror
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Enable/disable the sqlite coverage testing support
|
|
|
|
# Enable/disable the sqlite coverage testing support
|
|
|
|
%if %{with_sqlite}
|
|
|
|
%if %{with_sqlite}
|
|
|
|
%global sqlite_config --enable-sqlite
|
|
|
|
%global sqlite_config --enable-sqlite
|
|
|
@ -695,7 +695,7 @@ or within a container.
|
|
|
|
# We don't ship compileworthy python code, just oddball samples
|
|
|
|
# We don't ship compileworthy python code, just oddball samples
|
|
|
|
%global py_auto_byte_compile 0
|
|
|
|
%global py_auto_byte_compile 0
|
|
|
|
|
|
|
|
|
|
|
|
%configure %{dyninst_config} %{sqlite_config} %{crash_config} %{docs_config} %{rpm_config} %{java_config} %{virt_config} %{dracut_config} %{python3_config} %{python2_probes_config} %{python3_probes_config} %{httpd_config} %{bpf_config} %{debuginfod_config} --disable-silent-rules --with-extra-version="rpm %{version}-%{release}"
|
|
|
|
%configure %{Werror_config} %{dyninst_config} %{sqlite_config} %{crash_config} %{docs_config} %{rpm_config} %{java_config} %{virt_config} %{dracut_config} %{python3_config} %{python2_probes_config} %{python3_probes_config} %{httpd_config} %{bpf_config} %{debuginfod_config} --disable-silent-rules --with-extra-version="rpm %{version}-%{release}"
|
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -853,6 +853,9 @@ echo '%_systemtap_runtime_preinstall' | systemd-sysusers --replace=%{_sysusersdi
|
|
|
|
getent group stapusr >/dev/null || groupadd -f -g 156 -r stapusr
|
|
|
|
getent group stapusr >/dev/null || groupadd -f -g 156 -r stapusr
|
|
|
|
getent group stapsys >/dev/null || groupadd -f -g 157 -r stapsys
|
|
|
|
getent group stapsys >/dev/null || groupadd -f -g 157 -r stapsys
|
|
|
|
getent group stapdev >/dev/null || groupadd -f -g 158 -r stapdev
|
|
|
|
getent group stapdev >/dev/null || groupadd -f -g 158 -r stapdev
|
|
|
|
|
|
|
|
getent passwd stapunpriv >/dev/null || \
|
|
|
|
|
|
|
|
useradd -c "Systemtap Unprivileged User" -u 159 -g stapunpriv -d %{_localstatedir}/lib/stapunpriv -r -s /sbin/nologin stapunpriv 2>/dev/null || \
|
|
|
|
|
|
|
|
useradd -c "Systemtap Unprivileged User" -g stapunpriv -d %{_localstatedir}/lib/stapunpriv -r -s /sbin/nologin stapunpriv
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
exit 0
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
|
@ -1299,14 +1302,12 @@ exit 0
|
|
|
|
%{_sbindir}/stap-exporter
|
|
|
|
%{_sbindir}/stap-exporter
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with_python3} && %{with_monitor}
|
|
|
|
|
|
|
|
%files jupyter
|
|
|
|
%files jupyter
|
|
|
|
%{_bindir}/stap-jupyter-container
|
|
|
|
%{_bindir}/stap-jupyter-container
|
|
|
|
%{_bindir}/stap-jupyter-install
|
|
|
|
%{_bindir}/stap-jupyter-install
|
|
|
|
%{_mandir}/man1/stap-jupyter.1*
|
|
|
|
%{_mandir}/man1/stap-jupyter.1*
|
|
|
|
%dir %{_datadir}/systemtap
|
|
|
|
%dir %{_datadir}/systemtap
|
|
|
|
%{_datadir}/systemtap/interactive-notebook
|
|
|
|
%{_datadir}/systemtap/interactive-notebook
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------
|
|
|
|
# ------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
@ -1317,6 +1318,33 @@ exit 0
|
|
|
|
|
|
|
|
|
|
|
|
# PRERELEASE
|
|
|
|
# PRERELEASE
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Sep 9 2024 Martin Cermak <mcermak@redhat.com> - 5.1-4
|
|
|
|
|
|
|
|
- RHEL-50107.patch: Make systemtap compatible with kernel
|
|
|
|
|
|
|
|
commit 68cbd415dd4b . Related: RHEL-56962 .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 16 2024 Martin Cermak <mcermak@redhat.com> - 5.1-3
|
|
|
|
|
|
|
|
- RHEL-7318
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 14 2024 William Cohen <wcohen@redhat.com> - 5.1-2
|
|
|
|
|
|
|
|
- RHEL-36199
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 26 2024 Frank Ch. Eigler <fche@redhat.com> - 5.1-1
|
|
|
|
|
|
|
|
- Upstream release, see wiki page below for detailed notes.
|
|
|
|
|
|
|
|
https://sourceware.org/systemtap/wiki/SystemTapReleases
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Dec 6 2023 William Cohen <wcohen@redhat.com> - 5.0-4
|
|
|
|
|
|
|
|
- RHEL-18334
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 14 2023 Frank Ch. Eigler <fche@redhat.com> - 5.0-3
|
|
|
|
|
|
|
|
- RHEL-16549
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 06 2023 Frank Ch. Eigler <fche@redhat.com> - 5.0-2
|
|
|
|
|
|
|
|
- License header tweak
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Nov 03 2023 Frank Ch. Eigler <fche@redhat.com> - 5.0-1
|
|
|
|
|
|
|
|
- Upstream release, see wiki page below for detailed notes.
|
|
|
|
|
|
|
|
https://sourceware.org/systemtap/wiki/SystemTapReleases
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 14 2023 Frank Ch. Eigler <fche@redhat.com> - 4.9-3
|
|
|
|
* Mon Aug 14 2023 Frank Ch. Eigler <fche@redhat.com> - 4.9-3
|
|
|
|
- rhbz2231632
|
|
|
|
- rhbz2231632
|
|
|
|
- rhbz2231635
|
|
|
|
- rhbz2231635
|
|
|
|