quieter defaults for needrestart
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
needrestart (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello, I've been moderately annoyed to find my apt upgrade tasks hung waiting on input from me several times:
┌─────
│ │
│ Newer kernel available │
│ │
│ The currently running kernel version is 5.15.0-43-generic which is not the expected kernel version 5.15.0-46-generic. │
│ │
│ Restarting the system to load the new kernel will not be handled automatically, so you should consider rebooting. │
│ │
│ <Ok> │
│ │
└─────
The correct fix isn't the easiest thing to find, especially if you don't know what you're looking for: https:/
Can we turn down the annoyingness of this tool in our default configuration?
Thanks
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: needrestart 3.5-5ubuntu2.1
ProcVersionSign
Uname: Linux 5.15.0-43-generic ppc64le
.sys.firmware.
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: ppc64el
CasperMD5CheckR
Date: Tue Aug 23 21:37:06 2022
InstallationDate: Installed on 2020-04-22 (853 days ago)
InstallationMedia: Ubuntu-Server 20.04 LTS "Focal Fossa" - Beta ppc64el (20200409)
PackageArchitec
ProcLoadAvg: 0.07 0.02 0.00 1/416 68574
ProcSwaps:
Filename Type Size Used Priority
/swap.img file 4194240 0 -2
ProcVersion: Linux version 5.15.0-43-generic (buildd@
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: needrestart
UpgradeStatus: Upgraded to jammy on 2022-08-08 (15 days ago)
VarLogDump_list: total 0
cpu_cores: Number of cores present = 8
cpu_coreson: Number of cores online = 8
cpu_smt: SMT=4
mtime.conffile.
Ha, the linked askubuntu post doesn't have the full set of changes. So, for the next time I need this:
/etc/needrestar t/needrestart. conf kernelhints} = -1; :UI::stdio' ;
$nrconf{verbosity} = 0;
$nrconf{
$nrconf{sendnotify} = 0;
$nrconf{restart} = 'l';
$nrconf{ui} = 'NeedRestart:
(Granted, I might not have this exactly right, it's hard to tell, since I just installed all the available updates.)