[Reportbug-maint] Bug#865153: reportbug: please include kernel taint flags

Adam Borowski kilobyte at angband.pl
Mon Jun 19 16:44:04 UTC 2017

Package: reportbug
Version: 7.1.7
Severity: wishlist

The "System Information" part of reportbug's output doesn't currently
mention the kernel's taint state.  A bunch of these flags show that
something on the system is going pretty badly, thus they're definitely
of interest to someone reading such a bug report.

The state can be read via /proc/sys/kernel/tainted which provides a decimal
integer value, with bits meaning the following:

       'F',    /* TAINT_FORCED_MODULE */
       'S',    /* TAINT_CPU_OUT_OF_SPEC */
       'R',    /* TAINT_FORCED_RMMOD */
       'M',    /* TAINT_MACHINE_CHECK */
       'B',    /* TAINT_BAD_PAGE */
       'U',    /* TAINT_USER */
       'D',    /* TAINT_DIE */
       'W',    /* TAINT_WARN */
       'C',    /* TAINT_CRAP */
       'O',    /* TAINT_OOT_MODULE */
       'E',    /* TAINT_UNSIGNED_MODULE */
       'L',    /* TAINT_SOFTLOCKUP */
       'K',    /* TAINT_LIVEPATCH */

-- Package-specific info:
** Environment settings:
EMAIL="kilobyte at angband.pl"

** /home/kilobyte/.reportbugrc:
reportbug_version "3.17"
mode advanced
ui text

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

Kernel: Linux 4.12.0-rc5-debug-00017-g6afe0ac16d2b (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages reportbug depends on:
ii  apt                1.4.6
ii  python3            3.5.3-1
ii  python3-reportbug  7.1.7

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                                 <none>
pn  debconf-utils                              <none>
ii  debsums                                    2.2.2
pn  dlocate                                    <none>
pn  emacs24-bin-common | emacs25-bin-common    <none>
ii  exim4                                      4.89-2
ii  exim4-daemon-light [mail-transport-agent]  4.89-2
ii  file                                       1:5.30-1
pn  gir1.2-gtk-3.0                             <none>
pn  gir1.2-vte-2.91                            <none>
ii  gnupg                                      2.1.18-8
pn  python3-gi                                 <none>
pn  python3-gi-cairo                           <none>
pn  python3-gtkspellcheck                      <none>
pn  python3-urwid                              <none>
ii  xdg-utils                                  1.1.1-1

Versions of packages python3-reportbug depends on:
ii  apt                1.4.6
ii  file               1:5.30-1
ii  python3            3.5.3-1
ii  python3-debian     0.1.30
ii  python3-debianbts  2.6.1
ii  python3-requests   2.12.4-1

python3-reportbug suggests no packages.

-- no debconf information

More information about the Reportbug-maint mailing list