Package: needrestart
Version: 2.0-1
Severity: normal

Dear Maintainer,

needrestart warns me:

 ┌─────────────────────┤ Pending kernel upgrade ├─────────────────────┐
 │                                                                    │
 │ Newer kernel available                                             │
 │                                                                    │
 │ The currently running kernel version is                            │
 │ 4.0.0-rc6-tp520-btrfs-trim+ which is not the expected kernel       │
 │ version 3.19.0-rc7-tp520+.                                         │
 │                                                                    │
 │ Restarting the system to load the new kernel will not be handled   │
 │ automatically, so you should consider rebooting.                   │
 │                                                                    │
 │                               <Ok>                                 │
 │                                                                    │
 └────────────────────────────────────────────────────────────────────┘

Yet, I have:

martin@merkaba:~> cat /proc/version
Linux version 4.0.0-rc6-tp520-btrfs-trim+ (martin@merkaba) (gcc version 4.9.2 
(Debian 4.9.2-10) ) #23 SMP PREEMPT Mon Mar 30 10:47:01 CEST 2015

martin@merkaba:~> dpkg -l | grep linux-image | cut -c1-70
ii  linux-image-3.16-2-amd64                3.16.3-2
ii  linux-image-3.18.0-tp520                1
ii  linux-image-3.19.0-rc7-tp520+           1
ii  linux-image-4.0.0-rc6-tp520-btrfs-trim+ 1


Expected results:
No warning when installed kernel is already up and running.



Idea:

Maybe it gets confused by the + in kernel version? It may be that it sees
this as part of a regular expression. Don´t remember whether I had the
same issue with the 3.19-rc7 version which also has a +.

Kernels are built by make-kpkg from kernel-package 13.014+nmu1, which seems
to add the + on versions patched manually (so that they diff from the git
checkout).

Thanks,
Martin




-- Package-specific info:
needrestart output:
Your outdated processes:
akonadi_agent_l[2501, 2532, 2502, 2515], yeah I know…

checkrestart output:


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-rc6-tp520-btrfs-trim+ (SMP w/4 CPU cores; PREEMPT)
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.24
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

needrestart recommends no packages.

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

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to