Package: needrestart
Version: 2.1-1
Severity: normal

on stretch:
# needrestart -bkv
[main] eval /etc/needrestart/needrestart.conf
[main] running in root-mode
[main] detected systemd
NEEDRESTART-VER: 2.1
[Kernel] Linux: kernel release 3.16.0-4-amd64, kernel version #1 SMP Debian 
3.16.7-ckt9-3 (2015-04-23)
[Kernel/Linux] /boot/vmlinuz-3.16.0-4-amd64 => 3.16.0-4-amd64 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) 
[3.16.0-4-amd64]
[Kernel/Linux] Expected linux version: 3.16.0-4-amd64
NEEDRESTART-KCUR: 3.16.0-4-amd64
NEEDRESTART-KEXP: 3.16.0-4-amd64
NEEDRESTART-KSTA: 2

on jessie:
# needrestart -bkv
NEEDRESTART-VER: 1.2
[Kernel] Linux: kernel release 3.16.0-4-amd64, kernel version #1 SMP Debian 
3.16.7-ckt9-3~deb8u1 (2015-04-24)
Failed to load NeedRestart::Kernel::kFreeBSD: [Kernel/kFreeBSD] Not running on 
GNU/kFreeBSD!
[Kernel/Linux] /boot/vmlinuz-3.16.0-4-amd64 => 3.16.0-4-amd64 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) 
[3.16.0-4-amd64]
[Kernel/Linux] Expected kernel version: 3.16.0-4-amd64
NEEDRESTART-KCUR: 3.16.0-4-amd64
NEEDRESTART-KEXP: 3.16.0-4-amd64
NEEDRESTART-KSTA: 2

on wheezy:
# needrestart -bkv
NEEDRESTART-VER: 1.2
[Kernel] Linux: kernel release 3.2.0-4-amd64, kernel version #1 SMP Debian 
3.2.68-1+deb7u1
[Kernel/Linux] /boot/vmlinuz-3.2.0-4-amd64 => 3.2.0-4-amd64 
(debian-ker...@lists.debian.org) #1 SMP Debian 3.2.68-1+deb7u2 [3.2.0-4-amd64]
[Kernel/Linux] Expected kernel version: 3.2.0-4-amd64
NEEDRESTART-KCUR: 3.2.0-4-amd64
NEEDRESTART-KEXP: 3.2.0-4-amd64
NEEDRESTART-KSTA: 2

This means that you can't tell from batch mode output if a reboot is needed.

Please also backport the fix to wheezy and jessie.


Regards
Timo

-- Package-specific info:
needrestart output:
Your outdated processes:
[removed, this bug is about kernels]

checkrestart output:


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages needrestart depends on:
ii  dpkg                       1.18.1
ii  libmodule-find-perl        0.12-1
ii  libmodule-scandeps-perl    1.19-1
ii  libproc-processtable-perl  0.51-1
ii  libsort-naturally-perl     1.03-1
ii  libterm-readkey-perl       2.32-2
ii  perl                       5.20.2-6

needrestart recommends no packages.

Versions of packages needrestart suggests:
ii  libnotify-bin  0.7.6-2

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to