2024-05-16 08:53:28 |
Robie Basak |
bug |
|
|
added bug |
2024-05-16 08:53:38 |
Robie Basak |
bug |
|
|
added subscriber Steve Langasek |
2024-05-16 08:54:32 |
Robie Basak |
needrestart (Ubuntu): assignee |
|
Simon Chopin (schopin) |
|
2024-05-16 08:54:35 |
Robie Basak |
needrestart (Ubuntu): importance |
Undecided |
Critical |
|
2024-05-28 11:14:39 |
Simon Chopin |
tags |
|
foundations-todo |
|
2024-06-14 09:46:22 |
Simon Chopin |
nominated for series |
|
Ubuntu Noble |
|
2024-06-14 09:46:22 |
Simon Chopin |
bug task added |
|
needrestart (Ubuntu Noble) |
|
2024-06-14 09:46:22 |
Simon Chopin |
nominated for series |
|
Ubuntu Oracular |
|
2024-06-14 09:46:22 |
Simon Chopin |
bug task added |
|
needrestart (Ubuntu Oracular) |
|
2024-06-14 12:15:06 |
Simon Chopin |
needrestart (Ubuntu Oracular): status |
New |
Fix Committed |
|
2024-06-14 15:14:18 |
Simon Chopin |
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 |
[Impact]
needrestart shouldn't be writing to /run/reboot-required for kernel updates, that should be reserved to update-manager
[Test plan]
We can use the mockuname thing from the autopkgtests to simulate a kernel
version mismatch:
pull-lp-source needrestart noble
cd noble-3.6
gcc -shared -fPIC -ldl debian/tests/mockuname.c -o mockuname.so
LD_PRELOAD=$PWD/mockuname.so apt install hello
# needrestart should complain that the system should be restarted
test ! -x /run/reboot-required || echo test failed
[Where problems could occur]
That particular patch seems on the safer side, nothing in the code relies on this file being written to.
[Original report]
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 |
|
2024-06-14 15:14:29 |
Simon Chopin |
description |
[Impact]
needrestart shouldn't be writing to /run/reboot-required for kernel updates, that should be reserved to update-manager
[Test plan]
We can use the mockuname thing from the autopkgtests to simulate a kernel
version mismatch:
pull-lp-source needrestart noble
cd noble-3.6
gcc -shared -fPIC -ldl debian/tests/mockuname.c -o mockuname.so
LD_PRELOAD=$PWD/mockuname.so apt install hello
# needrestart should complain that the system should be restarted
test ! -x /run/reboot-required || echo test failed
[Where problems could occur]
That particular patch seems on the safer side, nothing in the code relies on this file being written to.
[Original report]
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 |
[Impact]
needrestart shouldn't be writing to /run/reboot-required for kernel updates, that should be reserved to update-manager
[Test plan]
We can use the mockuname thing from the autopkgtests to simulate a kernel
version mismatch:
pull-lp-source needrestart noble
cd needrestart-3.6
gcc -shared -fPIC -ldl debian/tests/mockuname.c -o mockuname.so
LD_PRELOAD=$PWD/mockuname.so apt install hello
# needrestart should complain that the system should be restarted
test ! -x /run/reboot-required || echo test failed
[Where problems could occur]
That particular patch seems on the safer side, nothing in the code relies on this file being written to.
[Original report]
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 |
|
2024-06-14 15:21:10 |
Simon Chopin |
description |
[Impact]
needrestart shouldn't be writing to /run/reboot-required for kernel updates, that should be reserved to update-manager
[Test plan]
We can use the mockuname thing from the autopkgtests to simulate a kernel
version mismatch:
pull-lp-source needrestart noble
cd needrestart-3.6
gcc -shared -fPIC -ldl debian/tests/mockuname.c -o mockuname.so
LD_PRELOAD=$PWD/mockuname.so apt install hello
# needrestart should complain that the system should be restarted
test ! -x /run/reboot-required || echo test failed
[Where problems could occur]
That particular patch seems on the safer side, nothing in the code relies on this file being written to.
[Original report]
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 |
[Impact]
needrestart shouldn't be writing to /run/reboot-required for kernel updates, that should be reserved to update-manager
[Test plan]
We can use the mockuname thing from the autopkgtests to simulate a kernel
version mismatch:
# in a fresh VM
pull-lp-source needrestart noble
cd needrestart-3.6
gcc -shared -fPIC -ldl debian/tests/mockuname.c -o mockuname.so
LD_PRELOAD=$PWD/mockuname.so apt install hello
# needrestart should complain that the system should be restarted
test ! -x /run/reboot-required || echo test failed
[Where problems could occur]
That particular patch seems on the safer side, nothing in the code relies on this file being written to.
[Original report]
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 |
|
2024-06-14 17:23:36 |
Launchpad Janitor |
needrestart (Ubuntu Oracular): status |
Fix Committed |
Fix Released |
|
2024-06-17 07:46:21 |
Simon Chopin |
needrestart (Ubuntu Noble): status |
New |
In Progress |
|