Package: needrestart
Version: 2.8-1~bpo8+1
Severity: normal

Dear Maintainer,

After apt dist-upgrade on one of my Debian Jessie server VMs, I get

needrestart output:


    │ Neuer Kernel vorhanden                                                    
                                                                                
      │     
    │                                                                           
                                                                                
      │     
    │ Die aktuelle Kernel-Version ist 4.5.0-0.bpo.2-686, es wird jedoch die 
Version 4.5.0-0.bpo.2-686 (debian-ker...@lists.debian.org) #1 SMP Debian 
4.5.4-1~bpo8+1   │     
    │ (2016-05-13)???? erwartet.                                                
                                                                                
      │     
    │                                                                           
                                                                                
      │     
    │ Das System wird nicht automatisch neu gestartet, um den neuen Kernel zu 
laden. Ein Neustart sollte durchgeführt werden.   

Means it thinks the kernel has changed, while it has not. I know for sure
I booted exactly this kernel. It seems to be confused detecting the end of
the version number in the second case as it appears that it uses the whole
output of /proc/version for comparison.

mondschein:~> cat /proc/version
Linux version 4.5.0-0.bpo.2-686 (debian-ker...@lists.debian.org) (gcc version 
4.9.2 (Debian 4.9.2-10) ) #1 SMP Debian 4.5.4-1~bpo8+1 (2016-05-13)


Why doesn´t it just use uname -r and be done with it?


On another of my Debian Jessie server VMs I am not seeing this issue, but
it uses amd64 as architecture instead of i386.

Thanks,
Martin

-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.5.0-0.bpo.2-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages needrestart depends on:
ii  dpkg                       1.17.27
ii  gettext-base               0.19.3-2
ii  libintl-perl               1.23-1
ii  libmodule-find-perl        0.12-1
ii  libmodule-scandeps-perl    1.16-1
ii  libproc-processtable-perl  0.51-1
ii  libsort-naturally-perl     1.03-1
ii  libterm-readkey-perl       2.32-1+b1
ii  perl                       5.20.2-3+deb8u5
ii  xz-utils                   5.1.1alpha+20120614-2+b3

needrestart recommends no packages.

Versions of packages needrestart suggests:
pn  needrestart-session | libnotify-bin  <none>

-- no debconf information

Reply via email to