[Bug 2065863] [NEW] needrestart causes kernel upgrade messages in motd

Robie Basak 2065863 at bugs.launchpad.net
Thu May 16 08:53:28 UTC 2024


Public bug reported:

On Noble, I see this in my motd:

*** System restart required ***
Pending kernel upgrade!
Running kernel version:
  6.8.0-22-generic
Diagnostics:
  The currently running kernel version is not the expected kernel version 6.8.0-31-generic.

I found this code in needrestart:

/usr/sbin/needrestart:                              'The currently
running kernel version is {kversion} which is not the expected kernel
version {eversion}.',

I'm told that it is incorrect for needrestart to be injecting this into
motd. Steve points out that needrestart isn't installed on desktop and
the behaviour shouldn't be different here, thinks that this shouldn't be
injected into motd, and asked for a bug report for this.

needrestart     3.6-7ubuntu4

** Affects: needrestart (Ubuntu)
     Importance: Critical
     Assignee: Simon Chopin (schopin)
         Status: New

** Changed in: needrestart (Ubuntu)
     Assignee: (unassigned) => Simon Chopin (schopin)

** Changed in: needrestart (Ubuntu)
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to needrestart in Ubuntu.
https://bugs.launchpad.net/bugs/2065863

Title:
  needrestart causes kernel upgrade messages in motd

Status in needrestart package in Ubuntu:
  New

Bug description:
  On Noble, I see this in my motd:

  *** System restart required ***
  Pending kernel upgrade!
  Running kernel version:
    6.8.0-22-generic
  Diagnostics:
    The currently running kernel version is not the expected kernel version 6.8.0-31-generic.

  I found this code in needrestart:

  /usr/sbin/needrestart:                              'The currently
  running kernel version is {kversion} which is not the expected kernel
  version {eversion}.',

  I'm told that it is incorrect for needrestart to be injecting this
  into motd. Steve points out that needrestart isn't installed on
  desktop and the behaviour shouldn't be different here, thinks that
  this shouldn't be injected into motd, and asked for a bug report for
  this.

  needrestart     3.6-7ubuntu4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/needrestart/+bug/2065863/+subscriptions




More information about the foundations-bugs mailing list