severity 831840 minor
tags 831840 wontfix upstream
thanks

Hi Paul,

On Wed, Jul 20, 2016 at 12:52:16PM +0800, Paul Wise wrote:
> I have linux-image-4.6.0-1-amd64 and linux-image-4.6.0-1-grsec-amd64
> installed and am running linux-image-4.6.0-1-amd64 because various
> services fail under linux-image-4.6.0-1-grsec-amd64. Every time I run
> needrestart I get a notice to reboot even though the Linux kernel
> variant I am running has not been upgraded. Please change the code to
> take into account the possibility of alternate kernel variants.
> On Debian amd64 there are currently two kernel variants: rt grsec

I have no idea howto reliable detect different variants of linux
images. Looking for non-numeric or well known parts in the version
string is fragile.


Regards,
Thomas


> Scanning linux images...
> Pending kernel upgrade!
> 
> Running kernel version:
>   4.6.0-1-amd64
> 
> Diagnostics:
>   The currently running kernel version is not the expected kernel version 
> 4.6.0-1-grsec-amd64.
> 
> Restarting the system to load the new kernel will not be handled 
> automatically, so you should consider rebooting. [Return]
> 
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers testing-debug
>   APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
> 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
> 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (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.9
> ii  gettext-base               0.19.8.1-1
> ii  libintl-perl               1.24-1
> ii  libmodule-find-perl        0.13-1
> ii  libmodule-scandeps-perl    1.21-1
> ii  libproc-processtable-perl  0.53-1+b1
> ii  libsort-naturally-perl     1.03-1
> ii  libterm-readkey-perl       2.33-1+b1
> ii  perl                       5.22.2-2
> ii  xz-utils                   5.1.1alpha+20120614-2.1
> 
> needrestart recommends no packages.
> 
> Versions of packages needrestart suggests:
> ii  libnotify-bin        0.7.6-2
> ii  needrestart-session  0.3-2
> 
> -- no debconf information
> 
> -- 
> bye,
> pabs
> 
> https://wiki.debian.org/PaulWise


--

    ::  WWW:                        https://fiasko-nw.net/~thomas/  ::
   :::  Jabber:                   xmpp:[email protected]  :::
    ::  flickr:             https://www.flickr.com/photos/laugufe/  ::

Reply via email to