Your message dated Fri, 10 Mar 2017 13:48:51 +0000
with message-id <[email protected]>
and subject line Bug#856461: fixed in systemtap 3.1-2
has caused the Debian Bug report #856461,
regarding systemtap: errors when run on non-Debian Linux kernel
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
856461: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856461
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: systemtap
Version: 3.0-7
Severity: normal

The offender is:

case "$DISTRO" in 
    Debian) # 2.6.32-39
        if uname -v | grep -q Debian; then
            VERSION="$(uname -v | cut -d " " -f 4)"
        else
            VERSION="$(cut -d " " -f 5 /proc/version | cut -d ")" -f 1)"
        fi
        ;;

rrs@learner:~$ cat /proc/version 
Linux version 4.10.1+ (rrs@chutzpah) (gcc version 6.3.0 20170221 (Debian 
6.3.0-8) ) #20 SMP Sun Feb 26 21:22:45 IST 2017
2017-03-01 / 15:12:42 ♒♒♒  ☺  

which results in:

rrs@learner:~$ cut -d " " -f 5 /proc/version | cut -d ")" -f 1
(gcc
2017-03-01 / 15:13:21 ♒♒♒  ☺  


Proposed fix is:


case "$DISTRO" in 
    Debian) # 2.6.32-39
        if uname -v | grep -q Debian; then
            VERSION="$(uname -v | cut -d " " -f 4)"
        else
            VERSION="$(cut -d " " -f 3 /proc/version)"
        fi
        ;;

which results in:

rrs@learner:~/rrs-home/Community/pi-gitolite-admin (master)$ stap-prep
Package linux-image-4.10.1+ version 4.10.1+-20 does not match version of 
currently running kernel: 4.10.1+
 Consider apt-get upgrade && reboot
Package linux-headers-4.10.1+ version 4.10.1+-20 does not match version of 
currently running kernel: 4.10.1+
 Consider apt-get upgrade && reboot
Package linux-image-4.10.1+-dbg version 4.10.1+-20 does not match version of 
currently running kernel: 4.10.1+
 Consider apt-get upgrade && reboot
Be root or adduser rrs stapusr
Be root or adduser rrs stapdev
2017-03-01 / 15:15:17 ♒♒♒  ☺  

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (990, 'unstable-debug'), (990, 'testing-debug'), (990, 
'unstable'), (990, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.10.1+ (SMP w/4 CPU cores)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemtap depends on:
ii  libavahi-client3   0.6.32-2
ii  libavahi-common3   0.6.32-2
ii  libc6              2.24-9
ii  libdw1             0.168-0.2
ii  libelf1            0.168-0.2
ii  libgcc1            1:6.3.0-8
ii  libnspr4           2:4.12-6
ii  libnss3            2:3.26.2-1
ii  libsqlite3-0       3.16.2-3
ii  libstdc++6         6.3.0-8
ii  make               4.1-9.1
ii  systemtap-common   3.0-7
ii  systemtap-runtime  3.0-7

systemtap recommends no packages.

Versions of packages systemtap suggests:
pn  systemtap-doc      <none>
pn  vim-addon-manager  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: systemtap
Source-Version: 3.1-2

We believe that the bug you reported is fixed in the latest version of
systemtap, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ritesh Raj Sarraf <[email protected]> (supplier of updated systemtap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 08 Mar 2017 20:02:36 +0530
Source: systemtap
Binary: systemtap systemtap-common systemtap-runtime systemtap-doc 
systemtap-server systemtap-client systemtap-sdt-dev
Architecture: source amd64 all
Version: 3.1-2
Distribution: unstable
Urgency: medium
Maintainer: Ritesh Raj Sarraf <[email protected]>
Changed-By: Ritesh Raj Sarraf <[email protected]>
Description:
 systemtap  - instrumentation system for Linux
 systemtap-client - instrumentation system for Linux (client for compile server)
 systemtap-common - instrumentation system for Linux (common component)
 systemtap-doc - documentation and examples for SystemTap
 systemtap-runtime - instrumentation system for Linux (runtime component)
 systemtap-sdt-dev - statically defined probes development files
 systemtap-server - instrumentation system for Linux (compile server)
Closes: 856461
Changes:
 systemtap (3.1-2) unstable; urgency=medium
 .
   * Upload to Unstable
   * Fix kernel version detection for custom built kernels running
     on Debian (Closes: #856461)
Checksums-Sha1:
 7e4e5f5e287639a894ee457b00b3d110384cb16e 2644 systemtap_3.1-2.dsc
 236eac2fbc886ac5c0a647db7d05cc4dff2bff24 67076 systemtap_3.1-2.debian.tar.xz
 8e2a25822eb05d6937f75b84560b9496c0f4cd34 18738 systemtap-client_3.1-2_amd64.deb
 b9ade66dc023c89e6a09a8536381ed4c33182dea 530134 systemtap-common_3.1-2_all.deb
 c984be661d055c672436c84be13143f60af06140 11334180 
systemtap-dbgsym_3.1-2_amd64.deb
 ba051cb4f0c361dbed4d33bc98bb01b549fbdd33 2167598 systemtap-doc_3.1-2_all.deb
 232d5e973d2e7da5dc7f76a0011c6ec852210b21 775070 
systemtap-runtime-dbgsym_3.1-2_amd64.deb
 3c103734a2db4c433a89a1594607e8afcd1e84cb 125250 
systemtap-runtime_3.1-2_amd64.deb
 a438975ae805c8030cde4abdc0139b28282c0f78 27768 
systemtap-sdt-dev_3.1-2_amd64.deb
 8669ea82a29074af2f9cc6757f0096c4391b64a1 1214948 
systemtap-server-dbgsym_3.1-2_amd64.deb
 27b4432eac89d558eab20ec66e5a5bd794044aab 135924 
systemtap-server_3.1-2_amd64.deb
 c0a4c7bb087139d0bce39b55a7b60a6cbcbf16f5 11555 systemtap_3.1-2_amd64.buildinfo
 0612f86f07bcecf25ec5a70fceece86444b3a11f 1068186 systemtap_3.1-2_amd64.deb
Checksums-Sha256:
 6b103b8608c1bec80dc7b0cde8d78d3c704b6813682d73814e3ec973d18acc82 2644 
systemtap_3.1-2.dsc
 b528bd91baead7e287b1138ac3b8ef0ce047d9769ed74573a6b209ca73222a68 67076 
systemtap_3.1-2.debian.tar.xz
 4b965c5695484ed919c24429c7c0a14f6a4314c69c935a6891f9d5ee3b4d2ac2 18738 
systemtap-client_3.1-2_amd64.deb
 c0bd61f922fd749383ea9b49379a48462fb76de1884164bcb874caed9fa72b5d 530134 
systemtap-common_3.1-2_all.deb
 4a1efd03c9069129e3033ce453dd44332840cd36bf35e7fa74d2f976c0d43546 11334180 
systemtap-dbgsym_3.1-2_amd64.deb
 339f72b9522adda35f0fd1416421e2e90ea210ee9e158a577c4ffa4d89602d29 2167598 
systemtap-doc_3.1-2_all.deb
 71a08c8ad4635633cda635d683bd4a67559b75e8304f681777d54b0d8f0a770a 775070 
systemtap-runtime-dbgsym_3.1-2_amd64.deb
 0bae06d7f7231b2a95533a736b3cb0e041361cd0c1bf251c64ca581b1c3eec67 125250 
systemtap-runtime_3.1-2_amd64.deb
 0c4b3c6ed12fb8bcea4c54ddd5b31a528558b39edd2d458c02cd97d815e1ec3c 27768 
systemtap-sdt-dev_3.1-2_amd64.deb
 916ab760dbbc8946cc400e897b72481f90dd919a3224f3e8436d9c8e14669177 1214948 
systemtap-server-dbgsym_3.1-2_amd64.deb
 5fefe4c292de308cbf2d61deb6bcdba9ba9ca95fd1af732021c13213b1704519 135924 
systemtap-server_3.1-2_amd64.deb
 7881f66d2804fb3015b103d744ab8e56edac633f8eacac7fc460fc8d95556706 11555 
systemtap_3.1-2_amd64.buildinfo
 865d9c9180b40fa24648918519d54cb22dc64e91bd4fba6cc29ffff0aeecd184 1068186 
systemtap_3.1-2_amd64.deb
Files:
 0a695b53b7029cf11558fd9418102cd1 2644 devel optional systemtap_3.1-2.dsc
 47cd42dd3250b38076871ca5855bfcbc 67076 devel optional 
systemtap_3.1-2.debian.tar.xz
 ea9609af6f069fca0ecf5bf41267af4e 18738 devel optional 
systemtap-client_3.1-2_amd64.deb
 39abde0075f3b118f4b50580926b1631 530134 devel optional 
systemtap-common_3.1-2_all.deb
 940b8c396f5035b79f73b59e92fa5d6d 11334180 debug extra 
systemtap-dbgsym_3.1-2_amd64.deb
 f3b94699c518b3371a3b8522e267e57f 2167598 doc optional 
systemtap-doc_3.1-2_all.deb
 5f88e51c2e80891cd91c62ae57a4c949 775070 debug extra 
systemtap-runtime-dbgsym_3.1-2_amd64.deb
 306dfeb22bdabc8777fa901504af8454 125250 devel optional 
systemtap-runtime_3.1-2_amd64.deb
 956cfb1f1d1a7c81928e061586bf3bf5 27768 devel optional 
systemtap-sdt-dev_3.1-2_amd64.deb
 cf20bf8475ac4937f5414a92c094b37a 1214948 debug extra 
systemtap-server-dbgsym_3.1-2_amd64.deb
 eda9904faff82efc0c1d1270e5a51faf 135924 devel optional 
systemtap-server_3.1-2_amd64.deb
 c2dcbda28ac7aa3ac6da2275b3b95d76 11555 devel optional 
systemtap_3.1-2_amd64.buildinfo
 2370ee260a6167d645eddb02eb3024c0 1068186 devel optional 
systemtap_3.1-2_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEQCVDstmIVAB/Yn02pjpYo/LhdWkFAljCrIkACgkQpjpYo/Lh
dWmOag//eiwVegr56tGZ1eg4IPAlPzvfxF6Si7aIbZovywncSHaCg7BbIf7TsQJe
3Yu+saZZlxFj7oNe1SlLX5kd+WJFWrQ3y6j8NKXwzcxcR3AsPtNxspf3QMJL+TBt
b8+mHDqzcgrtKO6S48M7xdDwULSKOu11/TP/myhxxFxrIldhlzi2KXsU/0GfpGXL
E0dsR/7z0Xrus3AtZVJZz2Topwkd5+bpJMPvUXU0U2nUJKXHwjawax1cbhwkmq3f
6eLCtSomsKUObj3OH6Q6eSpwD/aHTW72L9dlshO+eWOOmGmqjlLWwa/Ahlykndea
xFyYhihq/irXYLttQPKw3SspZbtyAlGVHVUZlnfgw8XFWuXDUJcEWEAzLPJM4C89
hY372lKusHjZ1yjuXj+/umZmM9CSjZlzDw2HQFXugtrsYIDt9qd8gacSS+QXZgIY
MMqsLptabLXvOla9PMbEAmtzt932n4t4bSoxIYw0s2gnm/HrqJ94qBMZH1p6IpQO
idkbEVx1Zdouz96Ts+svNs9GvNiCa5Tsk6+DxfTWVQEAJXDj1OUEFt96kjnPxkLH
kfyT/bk4BVYrLG1ht6yGwpqewV7TkASPHrROs2cfDDzbM4iWSnKkJBfxwW8AeAd5
OxiJ3goFTzlvGmRSwlSJD1Jgk6HLeVqpmYSfD5eElLexOIF0Wm8=
=iI61
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to