Debian Codegraph @

ChangeLog

raw
1 needrestart 3.11
2
3 * Changes:
4 - [CONT] allow to ignore containers by name
5 (github issue #260 by Arnaud Rebillout @elboulangero)
6 - [Kernel] allow glob customization for find kernel image files
7 (github issue #297 by @tblancher)
8
9 * Fixes:
10 - [core] fix warnings if no cgroup could be determined
11 (github issue #339 by Aristarkh Zagorodnikov @onyxmaster)
12
13 -- Thomas Liske <[email protected]> Sun, 13 Apr 2025 21:07:19 +0200
14
15 needrestart 3.10
16
17 * Changes:
18 - [core] add override for systemd-nspawn (Debian Bug #1101553)
19 (Debian Bug#1101553 by Raphaël Halimi <[email protected]>)
20 - [core] add another pattern to ignore java native access
21 (github issue #267 by @rdemongeot)
22
23 * Fixes:
24 - [core] unbreak systemd-user w/ dash
25 (Debian Bug#1101551 by Raphaël Halimi <[email protected]>)
26 (github pull request #338 by Ivan Shapovalov @intelfx)
27 - [metrics] fix undefined values warning if no expected ucode version
28 is available
29
30 -- Thomas Liske <[email protected]> Sun, 06 Apr 2025 12:52:14 +0200
31
32 needrestart 3.9
33
34 * Features:
35 - [CONT] Detect systemd-nspawn and add a fallback module.
36 (github pull request #302 by Ivan Shapovalov @intelfx)
37 - [Core] Add option '-x' to skip user interaction when no process is
38 selected for restart by default.
39 (github pull request #336 by @larsen0815)
40
41 * Changes:
42 - [Core] Add default override for qrtr-ns / rmtfs.
43 (github pull request #332 by Arnaud Ferraris @a-wai)
44 - [Core] Add override for bacula.
45 (Debian Bug#1017417 by Carsten Leonhardt <[email protected]>)
46 - [Core] Add override for lxc.
47 (Debian Bug#1030843 by Richard Hector <[email protected]>)
48 - [Core] Add override for xrdp.
49 (Debian Bug#1042008 by Andrew Chadwick <[email protected]>)
50 - [Core] Print executable in verbose mode.
51 (github issue #277 by Paul Wise @pabs3)
52 - [Core] Better systemd --user integration.
53 (github pull request #301 by Ivan Shapovalov @intelfx)
54 - [Core] Ignore /memfd: binaries.
55 (github issue #283 by @flisk)
56 (github issue #287 by @moerkey)
57 - [Docs] Update kernel naming in config example for RPi2/3.
58 (github pull request #330 by @Popkornium18)
59 - [Docs] Document -b a little more.
60 (github pull request #333 by @flisk)
61 - [L10N] Add zh-TW Traditional Chinese locale.
62 (github pull request #320 by Peter Dave Hello @PeterDaveHello)
63
64 * Fixes:
65 - [Core] Fix regression of false positives for processes running in
66 chroot or mountns (#317).
67 (github issue #317 by Ivan Kurnosov @zerkms)
68 - [Core] Fix typos.
69 (github pull request #335 by Viktor Szépe @szepeviktor)
70 - [Docs] Fix missing escapes in markdown files.
71 (github issue #312 by Mikko Rantalainen @mikkorantalainen)
72 - [Interp] Fix source file scanning for processes in another mountns.
73 (github pull request #327 by Corey Hickey @bugfood)
74 - [uCode] Do not print undef values in batch mode.
75 (github issue #322 by @guruguruguru)
76
77 -- Thomas Liske <[email protected]> Thu, 27 Mar 2025 22:55:21 +0100
78
79 needrestart 3.8
80
81 * Security:
82 - [Core] CVE-2024-48991: Prevent race condition on /proc/$PID/exec evaluation.
83 (responsibly reported by Qualys)
84 - [Interp] CVE-2024-11003: Drop usage of Module::ScanDeps to prevent LPE.
85 (responsibly reported by Qualys)
86 - [Interp] CVE-2024-48990: Do not set PYTHONPATH environment variable to prevent a LPE.
87 (responsibly reported by Qualys)
88 - [Interp] CVE-2024-48992: Do not set RUBYLIB environment variable to prevent a LPE.
89 (responsibly reported by Qualys)
90
91 * Features:
92 - [CONT] Add Incus support.
93 (github pull request #315 by Colin Watson @cjwatson)
94
95 * Changes:
96 - [Core] Refactor device number comparison to be independent of leading zeros.
97 (closes #286)
98 - [Interp] Enable ruby check for versioned ruby binary names.
99 (suggested by Qualys)
100 - [Interp] Chdir into empty directory to prevent python parsing arbitrary files.
101 (motivated by Qualys)
102
103 * Fixes:
104 - [VM] Fix spelling mistake.
105 (github pull request #309 by @fritz-fritz)
106 - [Core] Make OpenMetrics output prometheus compatible.
107 (github pull request #311 by Gabriel Filion @lelutin)
108 - [uCode] Fix error handling logic being dependent on debug level.
109 (github pull request #313 by Aristarkh Zagorodnikov @onyxmaster)
110 - [Core] Fix "Use of uninitialized value $sdev in right bitshift".
111 (github pull request #314 by Aristarkh Zagorodnikov @onyxmaster)
112
113
114 This release contains some critical security fixes in the interpreter module.
115 While the default configuration was vulnerable it is possible to mitigate
116 the issues by disabling the interpreter heuristic: `$nrconf{interpscan} = 0;`
117
118 All CVEs received a CVSS core of:
119 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H [7.8 HIGH]
120
121 Qualys Security Advisory:
122 https://www.qualys.com/2024/11/19/needrestart/needrestart.txt
123
124 Many thanks to the Qualys Security Advisory team and Mark Esler from the
125 Ubuntu Security Team for the responsible disclosure, reviewing patches and
126 coordinating the disclosure of these security issues.
127
128 -- Thomas Liske <[email protected]> Tue, 19 Nov 2024 17:00:00 +0100
129
130 needrestart 3.7
131
132 * Features:
133 - [Interp] Add optional persistent cache support for perl scanning.
134 (github pull request #282 by Jean-Marc Saffroy @saffroy)
135 - [Core] Add OpenMetrics time series output.
136 (github pull request #308 by Gabriel Filion @lelutin)
137
138 * Changes:
139 - [Core] Replace `which` by `command -v`.
140 (github pull request #254 by @a1346054)
141 - [Core] Ignore USBGuard.
142 (github pull request #257 by Christoph Anton Mitterer @calestyo)
143 - [Core] Do not ignore dhclient but prevent restart ifup automatically.
144 (github pull request #262 by @anarcat)
145 - [Core] Add greetd to the list of restart exclusions.
146 (github pull request #266 by Iván Zaera @ivan-zaera)
147 - [Core] Support dbus replacements.
148 (github pull request #276 by @Vladimir-csp)
149 - [Core] Apply override_rc deterministically.
150 (github pull request #280 by Corey Hickey @bugfood)
151 - [uCode] Test vendor id before check for Intel ucode.
152 (github pull request #284 by FRITZ|FRITZ @fritz-fritz)
153 - [uCode] Fix AMD ucode checking in non-debug mode.
154 (github pull request #288 by @anarcat)
155 - [uCode] Mark unavailable ucode as CURRENT.
156 (github pull request #290 by @anarcat)
157 - [Kernel] Increase read size for version strings.
158 (github pull request #293 by @jaycci)
159 - [README] Add RPi5 details.
160 (github pull request #298 by @Opa-)
161 - [README] Add RPi1 details.
162 (github pull request #304 by @juadde)
163 - [uCode] Add an option to print uCode hints w/o acknowledgement.
164 (github pull request #307 by Adam @adsr)
165
166 * Fixes:
167 - [README] Prevent shell expansion in example.
168 (github pull request #252 by David Taylor @dtaylor84)
169 - [Core] Fix VM detection regression introduced in f54d85c.
170 (github pull request #248 by @zxyrepf)
171 - [uCode] Fix uninitialized value regression.
172 (github pull request #273 by Stefan Bühler @stbuehler)
173 - [uCode] Fix AMD uCode check in non-debug mode.
174 (github pull request #278 by Jan-Philipp Litza @jplitza)
175 - [CONT] Fix always ignoring lxc/lxd instances.
176 (github issue #245 by Mitsuya Shibata @m-shibata)
177 - [Core] Fix shellcheck issues.
178 (github issue #300 by Eisuke Kawashima @e-kwsm)
179 - [Kernel] Fix kernel version detection for kernel images >= 6.0.
180 (github issue #245 by Stefan Bühler @tik-stbuehler)
181
182 -- Thomas Liske <[email protected]> Sun, 11 Aug 2024 22:59:32 +0200
183
184 needrestart 3.6
185
186 * Security:
187 - [Interp] CVE-2022-30688: Anchor interpreter regex to prevent local privilege escalation.
188 (responsibly reported by Jakub Wilk)
189
190 * Features:
191 - [Core] Add support for runit.
192 (Debian Bug#972685 by Lorenzo Puliti <[email protected]>)
193 - [VM] Add support to detect outdated VM processes (i.e. qemu).
194 (github pull request #216 by Christian Ehrhardt @cpaelzer)
195
196 * Changes:
197 - [Cont] Improve LXD container support.
198 (github pull request #188 by James TD Smith @ahktenzero)
199 - [Cont] Update cgroup regex for LXC 4.0.
200 (github pull request #215 by James TD Smith @ahktenzero)
201 - [Cont] Support cgroup v2 for docker.
202 (github pull request #234 by Markus Frosch @lazyfrosch)
203 - [Cont] Support cgroup v2 for LXC/LXD.
204 (github pull request #238 by Trent Lloyd @lathiat)
205 - [Core] Support cgroup v2 for services and user sessions.
206 - [Core] Support systemd manager restart on Ubuntu 20.04+.
207 (github pull request #195 by Lars Kollstedt @LarsKollstedt)
208 - [Core] Do not restart bluetooth.service by default.
209 (github pull request #209 by Erik Tews @eriktews)
210 - [Core] Do not restart elogind by default.
211 (github issue #205 by @HumanG33k)
212 - [Core] Output user sessions in batch mode.
213 (github pull request #232 by @anarcat)
214 - [Core] Use ImVirt for virtualization detection if not running on systemd.
215 (Debian Bug#984789 by Patrik Schindler <[email protected]>)
216 - [Interp] Add tolerance when checking script file ctimes to avoid false positives.
217 (github pull request #233 by Corey Hickey @bugfood)
218 - [Kernel] Replace strings(1) by GNU grep to drop binutils dependency.
219 (Debian Bug#986507 by Trent W. Buck <[email protected]>)
220
221 * Fixes:
222 - [Core] Fix comment for default value of `skip_mapfiles`.
223 (github pull request #179 by @iasdeoupxe)
224 - [Interp] Fix detection for ruby script started from relative paths.
225 (github pull request #182 by Alexander Neumann @rtpt-alex)
226 - [Core] Fix typos.
227 (github pull request #189 by @wwuck)
228 (github pull request #193 by Stefan Weil @stweil)
229 - [Core] Fix verbose/verbosity confusion in needrestart.conf.
230 (github pull request #197 by Jan-Philipp Litza @jplitza)
231 - [Core] Ignore memfd files like used by nvidia's binary drivers.
232 (github pull request #200 by Jan Visser @starquake)
233 - [Core] Ignore all memfd mappings.
234 (Debian Bug#972685 by Michail Bachmann <[email protected]>)
235 - [Core] Ignore Java Native Access mappings.
236 (github issue #142 by @nirgal)
237 (github issue #185 by Ivan Zaera @izaera)
238 - [Core] nagios: Do not print perfdata data in unknown state.
239 (github pull request #222 by Lorenz @RincewindsHat)
240 - [uCode] Fix 'uninitialized value' on AMD.
241 (github pull request #226 by Christian Garbs @mmitch)
242
243 * Misc:
244 - Minor cleanups (whitespaces, shellcheck, ...).
245 (github pull request #217 by @a1346054)
246 - Update README.batch.md.
247 (github pull request #219 by Stavros Ntentos @stdedos)
248 - Add icinga2 example config.
249 (github pull request #223 by Lorenz @RincewindsHat)
250 - [uCode] Fix lsinitrd example.
251 (github pull request #240 by Corey Hickey @bugfood)
252
253 -- Thomas Liske <[email protected]> Tue, 17 May 2022 17:00:00 +0200
254
255 needrestart 3.5
256
257 * Features:
258 - [uCode] Check for pending AMD microcode updates (experimental).
259 (Debian Bug#886611 by Paul Wise <[email protected]>)
260 (github issue #150 by Tom Reynolds @tomreyn and Mark Wagie @yochananmarqos)
261
262 * Changes:
263 - [Core] Add network.service to blacklist.
264 (github pull request #145 by Marc Dequènes (Duck) @duck-rh)
265 - [uCode] Check microcode revision of each individual CPUs.
266 - [Kernel] Support kernel image filename filtering required for Raspbian.
267 (github issue #146 by @takichikawa)
268 (github issue #155 by Fenhl @fenhl and Christian @git-developer)
269 - [uCode] Support local override for iucode_tool call.
270 (github issue #148 by @mphilipps and Marc Dequènes (Duck) @duck-rh)
271 - [notify] Add app name to notify-send call.
272 (github issue #76 by @Vladimir-csp)
273
274 * Fixes:
275 - [Core] Do not restart networking.service.
276 (Debian Bug#922725 by Timo Sigurdsson <[email protected]>).
277 - [Core] Fix typo in man page for env variable DEBIAN_FRONT(END).
278 (Debian Bug#922864 by Lee Garrett <[email protected]>)
279 (Debian Bug#923853 by Petter Reinholdtsen <[email protected]>)
280 - [Interp] Restore cwd when skipping processes with unavailable cwd.
281 (github issue #147 by Stavros Ntentos @stdedos)
282 - [Core] Remove leading zero before testing in map_files.
283 (Debian Bug#928225 by Alexander Galanin <[email protected]>)
284 - [Core] Fix typos in ex/needrestart.conf.
285 (github pull request #163 by Simon Brand @brandsimon)
286 - [UI] Don't fail when terminal has zero columns width.
287 (github pull request #167 by @libnoon)
288 - [Core] Ignore mapped files not found on filesystem (stat) to suppress
289 chroot false positives.
290 (github issue #158 by @mphilipps)
291 (github issue #152 by Ivan Kurnosov @zerkms and @djl)
292 - [Core] Suppress warnings from Proc::ProcessTable.
293 (github issue #170 by @mphilipps)
294 - [CONT] Fix docker detection on CentOS 7.
295 (github issue #165 by Christian Ruppert @idl0r)
296 - [notify] Fix notify-send not working with dbus-user-session.
297 (github issue #76 by @Vladimir-csp)
298 - [Core] Ignore mapped files in temporary directories.
299 (Debian Bug#925408 by Donald Pellegrino <[email protected]>)
300
301 -- Thomas Liske <[email protected]> Sun, 22 Mar 2020 17:36:57 +0100
302
303 needrestart 3.4
304
305 * Features:
306 - [L10n] Add Czech localization.
307 (github pull request #131 by @p-bo)
308 (github pull request #132 by @p-bo)
309 (github pull request #133 by @p-bo)
310 - [Core] Add FRR to override.
311 (github pull request #138 by David Lamparter @eqvinox)
312 - [Core] Detect if run inside a container or vm using systemd.
313 (github issue #139 by Tobby @tobby88)
314 - [Core] Skip needrestart in apt hook if system is shutting down.
315 (Debian Bug#914753 by Balint Reczey <[email protected]>)
316
317 * Changes:
318 - [Core] Do restart systemd-journald (again).
319 (see also Debian Bug#771122, #771254 and #898818)
320 (Debian Bug#898818 by Mathieu Parent <[email protected]>)
321
322 * Fixes:
323 - [uCode] Ignore broken microcode files (required for CentOS).
324 (github issue #123 by Marc Dequènes (Duck) @duck-rh)
325 - [uCode] Parse output of old iucode-tool 1.5.
326 (github pull request #127 by Lutz Heermann @LuHee)
327 - [uCode] Prevent microcode false positives for BIOS updates.
328 (Debian Bug#906958 by Maik Zumstrull <[email protected]>)
329 - [uCode] Handle microcode updates for multiple CPUs in initramfs.
330 (Debian Bug#907372 by Paul Wise <[email protected]>)
331 - [Core] Ignore temporary mappings of elasticsearch.
332 (github issue #134 by Georg @teadur)
333 - [Core] Do not restart oneshot services from systemd-cron.
334 (Debian Bug#917073 by Antti Salmela <[email protected]>)
335
336 -- Thomas Liske <[email protected]> Tue, 05 Feb 2019 22:43:12 +0100
337
338 needrestart 3.3
339
340 * Fixes:
341 - [Core] Configuration file is ignored.
342 (Debian Bug#901999 by Andreas Schmidt <[email protected]>)
343 (Debian Bug#902031 by Axel Beckert <[email protected]>)
344 (Debian Bug#902049 by Jon <[email protected]>)
345 (github issue #121 by Sven Hartge @shartge)
346 - [Interp] Suppress uninitialized value if abs_path fails.
347 (github issue #120 by Craig Andrews @candrews)
348
349 -- Thomas Liske <[email protected]> Sun, 24 Jun 2018 13:32:47 +0200
350
351 needrestart 3.2
352
353 * Changes:
354 - [Kernel] Include /boot/kernel* while looking for linux
355 kernel images (required for Gentoo)
356 (Gentoo Bug 654958 by Klaus Ethgen)
357 (github pull request #113 by Craig Andrews @candrews)
358 - [Core] Do not restart ModemManager by default.
359 (github pull request #119 by @bodqhrohro)
360
361 * Fixes:
362 - [UI] Do not call GetTerminalSize if STDOUT is not a tty.
363 (github pull request #110 by Michael Scherer @mscherer)
364 - [uCode] Filter microcode for CPU signature and flags.
365 (github issue #112 by @mgondium)
366 (Debian Bug#900298 by Francois Mescam <[email protected]>)
367 - [uCode] Assigning ucodehints a false value disables ucode
368 checks.
369 (github issue #115 by Johannes Kampmeyer @xschlef)
370 - [Hooks] Ignore non-executable init scripts.
371 (github issue #116 by Marc Dequènes (Duck) @duck-rh)
372 - [L10n] Fix typo in Russian localization.
373 (github pull request #118 by @bodqhrohro)
374 - [UI] Do not leak fd into restarted services.
375 (Debian Bug#893152 by Stephen Rothwell <[email protected]>)
376
377 -- Thomas Liske <[email protected]> Sat, 16 Jun 2018 17:42:51 +0200
378
379 needrestart 3.1
380
381 * Changes:
382 - [uCode] Handle microcode upgrades in early boot initrd images,
383 required at least on Arch Linux.
384 (github issue #106 by @Wuestengecko)
385
386 * Fixes:
387 - [uCode] Fix uninitialized value in batch mode.
388 (Debian Bug#891923 by Bob Proulx <[email protected]>)
389 (github issue #105 by Evgenii Terechkov @evgkrsk)
390 - [uCode] Fix completely broken microcode update detection.
391 (github issue #108 by @Wuestengecko)
392 - [UI] Fix microcode revision placeholders in NeedRestart::UI::stdio.
393
394 -- Thomas Liske <[email protected]> Thu, 29 Mar 2018 23:22:55 +0200
395
396 needrestart 3.0
397
398 * Features:
399 - [Core] Possible to suspend needrestart in apt-get hook using
400 the NEEDRESTART_SUSPEND environment variable.
401 (github issue #71 by Ludovic Gasc @GMLudo et. al.)
402 - [Core] Possible to override the configured restart mode using
403 the NEEDRESTART_MODE environment variable.
404 (Debian Bug#866105 by Marc Haber <[email protected]>)
405 - [uCode] Check for pending Intel microcode updates.
406 (Debian Bug#886445 by Paul Wise <[email protected]>)
407 * Changes:
408 - [Core] Do not try to restart service units with RefuseManualStop=yes.
409 (github issue #75 by Marc Dequènes @duck-rh)
410 - [Kernel] Try to adopt RPM's version sorting to get most recent kernel.
411 (github issue #73 by Maximilian Gaß @mxey)
412 - [Core] Tune blacklist_mappings default setting to match on deleted maps.
413 - [UI] Respect verbosity in UI::stdio, just like UI::Debconf.
414 (github pull request #88 by @guillaume-uH57J9)
415 - [Core] Improve output formatting.
416 (github issue #84 by Stavros Ntentos @stdedos)
417 - [Core] Improve container detection to skip kernel and microcode checks.
418 * Fixes:
419 - [Core] Makefile: Fix installation of restart.d/ scripts.
420 (Debian Bug#851866 by Sven Hartge <[email protected]>)
421 - [Core] Fix warning in Perl 5.20.x, not triggered in 5.24.x
422 in needrestart.conf (Oil Runtime Compiler's JIT files).
423 (patch by Patrick Matthäi (Debian))
424 - [Core] Do not restart oneshot services.
425 (Debian Bug#862840 by Alan Jenkins <[email protected]>)
426 - [Core] Ignore rc-local.service.
427 (Debian Bug#852864 by Paul Wise <[email protected]>)
428 - [Core] Do not restart libvirt by default.
429 (github issue #69 by Craig Andrews @candrews)
430 - [Interp/Perl] Add missing cwd restore before a return.
431 (github issues #55 and #70 Craig Andrews @candrews and Stefan Bühler @stbuehler)
432 - [Core] README.md: Fix spelling.
433 (github issue #74 by Edward Betts @EdwardBetts)
434 - [Core] Add bird to override.
435 (github issue #78 by Björn Lässig @Farom)
436 - [Interp/(Perl|Python)] Use absolute paths used to search the package
437 of a script file.
438 (github issue #79 by Christopher Odenbach @odenbach)
439 - [Hook] Use rpm -q --filesbypkg rather than rpmquery.
440 (github issue #81 by Sven Hartge @shartge)
441 - [CONT] Detect docker container ns running not on systemd.
442 - [CONT] Ignore processes running inside docker containers.
443 (github issue #80 by Christopher Odenbach @odenbach)
444 - [Core] Ignore special filename mappings used by recent versions of
445 KDE plasmashell.
446 (github issue #65 by @GoTeamAnt)
447 (Debian Bug#879091 by Paul Wise <[email protected]>)
448 - [Core] Fix handling of library mappings if target does not exist.
449 (github issue #58 by @pigen)
450 (Debian Bug#878700 by Richard Hector <[email protected]>)
451 - [Hook] Fix handling of multiarch packages.
452 (github issue #56 by @mayasd)
453 - [Interp] Ignore interpreter processes with unreachable root fs (i.e.
454 in different mnt ns).
455 (github issue #72 by Stefan Bühler @stbuehler)
456 - [Core] Add missing unnamed device major numbers (fix for OpenVZ).
457 (Debian Bug#876452 by Piotr Pańczyk <[email protected]>)
458 - [UI] Do not call GetTerminalSize() if STDOUT is not a TTY.
459 (Debian Bug#859387 by by Paul Wise <[email protected]>)
460 (github issues #85 and #86 by @guillaume-uH57J9)
461 - [UI] Fix switch from interactive to list mode if debconf is run
462 noninteractive.
463 (Debian Bug#876459 by Piotr Pańczyk <[email protected]>)
464 - [man] Add documentation on restart mode if run non-interactive.
465 (Debian Bug#842512 by Antoine Beaupré <[email protected]>)
466 - [Core] Ignore some Java false positives (JNA, JFFI).
467 (github pull request #89 by Maximilian Gaß @mxey)
468 (github issue #60 by @ge-fa)
469 - [Core] Output NRPE message "root needed" on stdout.
470 (github pull request #91 by @nirgal)
471 - [Core] Use override_cont when querying containers.
472 (github pull request #94 by Nigel Kukard @nkukard)
473 - [Core] Do not restart docker by default.
474 - [Core] Fix typo in man page.
475 (Debian Bug#885448 by Paul Wise <[email protected]>)
476 - [Interp] Fix perl warning if cwd is unreachable.
477 (github issue #99 by @glitsj16)
478 - [Hook] Replace remaining calls of rpmquery by rpm.
479 (github issue #100 by Matthias Hörmann @taladar)
480 - [Core] Fix additional unit detection in dbus restart handler.
481 (github issue #104 by Alexander Barton @alexbarton)
482
483 -- Thomas Liske <[email protected]> Fri, 23 Feb 2018 13:38:46 +0100
484
485 needrestart 2.11
486
487 * Features:
488 - [Core] Allow special treatment to restart services (i.e. dbus).
489 (github issue #44 by @Vladimir-csp)
490 - [Cont] Support restarting LXD-based LXC containers.
491 (github issue #26 by James Johnston @JohnstonJ)
492 - [Core] New config option to enforce legacy session detection if systemd
493 is used without PAM integration.
494 (github issue #52 by @micw and Eric S. @Korni22)
495 * Fixes:
496 - [Core] Fix default config type for override_* settings.
497 (github issue #47 by @mphilipps)
498 - [Kernel] Ignore initrd filenames while looking for kernel image files.
499 (github issue #49 by Evgenii Terechkov @evgkrsk)
500 - [Kernel] Strip .img from version string when deducting the kernel
501 version from filename.
502 (github issue #49 by Evgenii Terechkov @evgkrsk)
503 - [Core] Fix wrong regex quotation in default configuration file.
504 (Debian Bug#844283 by Paul Wise <[email protected]>)
505 - [Core] Add display-manager 'lxdm' to override.
506 (Debian Bug#845996 by Rodrigo Campos <[email protected]>)
507 - [Interp] Make paths when searching source files relative to the root
508 path of the process.
509 (github issue #54 by Tomasz Kontusz @ktosiek)
510
511 -- Thomas Liske <[email protected]> Tue, 17 Jan 2017 15:59:36 +0100
512
513 needrestart 2.10
514
515 * Features:
516 - [Interp] Allow ignoring of interpreted files.
517 (github issue #39 by Wolfgang Karall @wolfgangkarall)
518 - [Core] Make verification of mapped files in filesystem configurable as a
519 workaround for broken grsecurity kernels.
520 (github issue #46 by @jleroy @eigengrau)
521 - [Core] Make ignore of mapped files configurable.
522 (github issue #45 by @stbuehler)
523 * Fixes:
524 - [Core] Do not ignore processes if maps file could not be read.
525 - [Perl] Silence warnings of Module::ScanDeps for dynamic loaded modules.
526 (github issue #41 by @bxkx @r-lindner)
527 - [UI] Do not use Text::Wrap while printing restart commands.
528 (Debian Bug#838622 by Paul Wise <[email protected]>)
529 - [Core] Do really restart services in automatic mode.
530 (Debian Bug#838355 by Georg <[email protected]>)
531 - [Kernel] Include /boot/*.img while looking for linux kernel images.
532 Fixes kernel detection on Raspbian.
533 (github issue #38 by @fenhl)
534
535 -- Thomas Liske <[email protected]> Thu, 03 Nov 2016 23:37:05 +0100
536
537 needrestart 2.9
538
539 * Changes:
540 - [l10n] Add RU translation for notify.d stuff.
541 (github issue #29 by @Vladimir-csp)
542 (github issue #31 by @Vladimir-csp)
543 - [Conf] Add lxcfs to override_rc.
544 (Debian Bug#832166 by Evgeni Golov <[email protected]>)
545 - [Conf] Pass arguments of apt-pinvoke to needrestart.
546 (Debian Bug#826220 by Wolfgang Karall-Ahlborn <[email protected]>)
547 - [Core] Use $(MAKE) instead of make for parallel make.
548 (github issue #34 by Craig Andrews @candrews)
549 - [Core] Make nagios severities configurable.
550 (github issue #32 by Christoph Anton Mitterer @calestyo)
551 * Features:
552 - [Core] Sys-V: use chkconfig tags if LSB tags are missing.
553 (github issue #33 by Evgenii Terechkov @evgkrsk)
554 - [Interp] Cache file lists of interpreter processes.
555 (Debian Bug#826247 by Wolfgang Karall-Ahlborn <[email protected]>)
556 * Fixes:
557 - [UI] Add a workaround for bug in Term::ReadKey if STDOUT does not
558 print on a TTY (see also Debian Bug#824564).
559 - [Core] Fix orcexec regex to match on removed files, too.
560 (Debian Bug#828103 by Paul Wise <[email protected]>)
561 - [Core] Don't compare device numbers on anon fs (i.e. OpenVZ's simfs).
562 (github issue #28 by Sven-Haegar Koch @haegar)
563 - [Core] Fix odd perl warnings about LSB tags.
564 (github issue #33 by Evgenii Terechkov @evgkrsk)
565 - [Core] Make systemctl_combine config option working.
566 (Debian Bug#826526 by Paul Wise <[email protected]>)
567 - [Core] Handle newlines in kernel versions gracefully.
568 (Debian Bug#827162 by Martin Steigerwald <[email protected]>)
569 - [Core] Fix session counter in nagios plugin mode.
570
571 -- Thomas Liske <[email protected]> Sat, 03 Sep 2016 14:52:41 +0200
572
573 needrestart 2.8
574
575 * Changes:
576 - [Core] Restart SysV init services on systemd using systemctl.
577 (Debian Bug#818853 by Paul Wise <[email protected]>)
578 - [Core] Print a combined `systemctl restart` command line for skipped
579 services (config option).
580 (Debian Bug#818853 by Paul Wise <[email protected]>)
581 - [l10n] Make NeedRestart::UI::stdio localized and update German localization.
582 - [notify] Disable mail notification by default (notify.conf).
583 * Features:
584 - [Core] Add a easy UI mode hiding technical details for non-technical users.
585 (Debian Bug#819824 by Patrick Schleizer <[email protected]>))
586 - [Cont] Detect systemd-machined containers.
587 * Fixes:
588 - [Conf] Add xendomains to override_rc.
589 (Debian Bug#817807 by Samuel Thibault <[email protected]>)
590 - [Core] Do not terminate debconf after restart service selection since it
591 is still needed for container selection.
592 - [Core] Fix regex handling in cgroup detection.
593 (github pull request #25 by Courtney Bane @cbane)
594 - [Core] Fix library probing inside filesystem namespaces (i.e. LXC
595 containers).
596 (github issue #23 by Lukas Pirl @lpirl)
597 - [Interp] Fix incomplete skipping of scanning files in Interp/*.pm
598 if cwd is unknown.
599 - [Interp] Improve getopts parsing (Interp::*) to remove "Unknown option:"
600 warnings.
601 (Debian Bug#817927 by F. Petitjean <[email protected]>)
602 - [notify.d] Fix bashisms in /etc/needrestart/notify.d/*.
603 (Debian Bug#818001 by Cristian Ionescu-Idbohrn
604 <[email protected]>)
605 (github issue #21 by Sebastian Brandt @sbrandtb)
606 (Debian Bug#824184 by Axel Beckert <[email protected]>)
607 - [UI] stdio: do not skip service asked while choosing auto mode.
608
609 -- Thomas Liske <[email protected]> Mon, 16 May 2016 18:45:51 +0200
610
611 needrestart 2.7
612
613 * [Bug] Ignore init rc being symlinks to upstart-job.
614 (github issue #16 by Jonas Genannt @hggh)
615 * [Bug] Allow systemd service names with dots in them.
616 (github issue #19 by Michael Fladischer <[email protected]>)
617 * [Bug] Add display-manager 'slim' to override.
618 (Debian Bug#816061 by Lars Kruse <[email protected]>)
619 * [debconf] Add russian translation.
620 (Debian Bug#815086 by Vladimir Kudrya <[email protected]>)
621 * [notify] Add support for translation of notify scripts.
622 (Debian Bug#815086 by Vladimir Kudrya <[email protected]>)
623 * [Core] Add support for translation of core script.
624 (Debian Bug#815086 by Vladimir Kudrya <[email protected]>)
625 * [Bug] Fix missing translations in debconf template file.
626 (Debian Bug#815086 by Vladimir Kudrya <[email protected]>)
627 * [notify] Notification scripts can be disabled globally (see notify.conf).
628 (Debian Bug#787297 by Christoph Anton Mitterer <[email protected]>)
629 * [Core] Improve output of restart commands.
630
631 -- Thomas Liske <[email protected]> Sun, 06 Mar 2016 14:46:45 +0100
632
633 needrestart 2.6
634
635 * [Bug] Do not notify system users via email.
636 (Debian Bug#812399 by Marc Haber <[email protected]>)
637 * [Bug] Do no restart services in interactive restart mode while
638 debconf's noninteractive frontend is used.
639 (Debian Bug#803249 by Felix Geyer <[email protected]>)
640 * [Bug] Fix broken detection of old mappings due to regression
641 introduced in v2.3 (commit acf6a07).
642 (Debian Bug#810970 by Andreas Schmidt <[email protected]>)
643
644 -- Thomas Liske <[email protected]> Wed, 17 Feb 2016 22:14:32 +0100
645
646 needrestart 2.5
647
648 * [Bug] Fix broken kernel detection due to syntax error.
649 (Debian Bug#810031 by Martin Steigerwald <[email protected]>)
650
651 -- Thomas Liske <[email protected]> Tue, 05 Jan 2016 23:17:53 +0100
652
653 needrestart 2.4
654
655 * [Bug] Drop unused dependency on File::Slurp.
656 (Debian Bug#799733 by Christoph Anton Mitterer <[email protected]>)
657 (Debian Bug#799734 by Sven Hartge <[email protected]>)
658 * [Bug] Add user@\d+.service to override_rc.
659 (Debian Bug#788380 by Shirish Agarwal <[email protected]>)
660 * [Bug] Add override for systemd-logind due to another systemd regression.
661 (Debian Bug#800718 by Sven Hartge <[email protected]>)
662 * [Bug] Fix grammar in hook scripts.
663 (Debian Bug#805980 by Justin B Rye <[email protected]>)
664 * [Bug] Fix kernel detection on non x86* arch.
665 (Debian Bug#800720 by Sven Hartge <[email protected]>)
666 * [Kernel] Extract kernel version on non-x86(_64) archs (allows ABI checks).
667
668 -- Thomas Liske <[email protected]> Fri, 01 Jan 2016 21:54:47 +0100
669
670 needrestart 2.3
671
672 * [Bug] Add lightdm to override.
673 (Debian Bug#791649 by Martin Steigerwald <[email protected]>)
674 * [Bug] Do not try container detection in user mode.
675 (Debian Bug#791665 by Ansgar Burchardt <[email protected]>)
676 * [Bug] Remove unsupported HTML markups from notifications.
677 (Debian Bug#791664 by Ansgar Burchardt <[email protected]>)
678 * [Bug] Compare inodes of mapped files more reliable for chrooted
679 processes.
680 (github issue #11 by Markus Frosch <[email protected]>)
681 * [Kernel] Skip kernel detection within containers.
682 * [UI] Add a quiet option to drop any progress messages.
683 (Debian Bug#791708 by Rodrigo Campos <[email protected]>)
684 * [Bug] Do not handle user services as system services.
685 (Debian Bug#792032 by Ansgar Burchardt <[email protected]>)
686 * [Bug] Fix cutting path names read from /proc/PID/maps at spaces
687 resulting in false-positives.
688
689 -- Thomas Liske <[email protected]> Sat, 19 Sep 2015 20:38:19 +0200
690
691 needrestart 2.2
692
693 * [regression] Processes using chroot were always detected as obsolete
694 since missing binaries in /proc/PID/root/.
695 (Debian Bug#786584 by François Mescam <[email protected]>)
696
697 -- Thomas Liske <[email protected]> Tue, 26 May 2015 23:56:11 +0200
698
699 needrestart 2.1
700
701 * [Bug] Ignore /usr/bin/apt-get.
702 (Debian Bug#784237 by Thijs Kinkhorst <[email protected]>)
703 * [Bug] Add override for systemd's emergency.service and rescue.service.
704 (Debian Bug#784437)
705 * [Bug] Ignore Oil Runtime Compiler's JIT files.
706 (Debian Bug#786374 by Francois Mescam <[email protected]>)
707 * [Bug] Fix 2c037bc did broke the progressbar.
708 (Related to Debian Bug#768124)
709 * [Cont] Detect and suggest to restart containers:
710 - docker
711 - LXC
712 (Debian Bug#783181 by Brian Minton <[email protected]>)
713 * [Core] Add nagios plugin mode (-p).
714 (github issue #5 by Ludovic Gasc [@GMLudo])
715 * [Core] Use /proc/$PID/root to scan for files fixing false positives on
716 containers (i.e. LXC) using bind mounts.
717 (Debian Bug#783181 by Brian Minton <[email protected]>)
718 * [Interp] Skip scanning files with Interp/* if cwd is unknown.
719 (Debian Bug#779832 by wforumw <[email protected]>)
720 * [Interp] Skip scanning files with Interp/* if cwd is unknown.
721 (Debian Bug#779832 by wforumw <[email protected]>)
722 * [Kernel] Add kernel hints option not requiring an acknowledgement by
723 the user.
724 (Debian Bug#769811 by Axel Beckert <[email protected]>)
725 * [Kernel] Take version number comparing stuff from Dpkg::Version to
726 compare kernel versions correctly.
727 (Debian Bug#781657 by Martin Steigerwald <[email protected]>)
728 * [UI] Improve restart query in interactive mode (stdio).
729 (Debian Bug#772859 by Axel Beckert <[email protected]>)
730
731 -- Thomas Liske <[email protected]> Fri, 22 May 2015 01:45:17 +0200
732
733 needrestart 2.0
734
735 * [regression] List commands in list mode.
736 (Debian Bug#764042 by Paul Wise <[email protected]>)
737 * Add a conf.d/ directory.
738 (Debian Bug#764043 by Paul Wise <[email protected]>)
739 * [UI] Fix empty current/expected kernel version string used by
740 debconf template.
741 (Debian Bug#764917 by Laurent Bonnaud <[email protected]>)
742 * Don't blacklist services by default but use a new override_rc option
743 to don't restart some critical services by default.
744 (Debian Bug#763937 by Christoph Anton Mitterer <[email protected]>)
745 * Don't restart services greylisted in override_rc in auto mode.
746 (Debian Bug#770937 by Axel Beckert <[email protected]>)
747 * [UI] Disable progress bar while running non-interactive.
748 (Debian Bug#768124 by Phillip Berndt <[email protected]>)
749 * [UI] Fix warning on uninitialized values while reading from /dev/stdin.
750 (Debian Bug#768124 by Phillip Berndt <[email protected]>)
751 * [Interp] Add basic Java detection support.
752 * Add PolicyKit action file to allow needrestart-session to run
753 needrestart as root.
754 * [UI] Add `-f <fe>` CLI parameter to allow to overwrite the
755 DEBIAN_FRONTEND environment variable used by debconf(7).
756
757 -- Thomas Liske <[email protected]> Fri, 23 Jan 2015 00:46:13 +0100
758
759 needrestart 1.2
760
761 * Prepare po-debconf usage and add German translation.
762 (Debian Bug#761068 by David Prévot <[email protected]>)
763 * Drop dependency on Term::ProgressBar::Simple.
764 (Debian Bug#761192 by Thijs Kinkhorst <[email protected]>)
765 * Fix blacklist to match upgraded binaries (dpkg).
766 (Debian Bug#761346 by Paul Wise <[email protected]>)
767 * Fix detection of unit names on systemd 215+.
768 (Debian Bug#762312 by Sven Hartge <[email protected]>)
769 * Ignore special paths (SYSV IPC, DRM, /dev), fixing some
770 false positives.
771 * Add service blacklist configuration option to fix display
772 manager blacklisting with systemd.
773 * Handle restarts of systemd manager and sysv init using
774 their specific commands.
775 (Debian Bug#762528 by Paul Wise <[email protected]>)
776
777 -- Thomas Liske <[email protected]> Sun, 28 Sep 2014 23:48:42 +0200
778
779 needrestart 1.1
780
781 * Ignore DHCP clients.
782 (Debian Bug#752111 by Axel Beckert <[email protected]>)
783 * Add options allowing to select which check should be performed.
784 (Proposed by Axel Beckert <[email protected]>)
785
786 -- Thomas Liske <[email protected]> Sat, 16 Aug 2014 09:57:29 +0200
787
788 needrestart 1.0
789
790 * Fix grammar errors and use a additional debconf template.
791 (Debian Bug#748652 by Justin B Rye <[email protected]>)
792 * Ignore device ID in /proc/<pid>/maps on kFreeBSD.
793 (Reported by Axel Beckert <[email protected]>).
794 * Ignore device ID for unnamed devices due to broken implementation on btrfs.
795 (Debian Bug#750734 by Frederik Himpe <[email protected]>)
796 * Skip scanning of needrestart process.
797 (Debian Bug#751877 by Thijs Kinkhorst <[email protected]>)
798 * [UI] Drop UI specific progress indicators, use
799 Term::ProgressBar::Simple to minimize disruption of the terminal.
800 (Debian Bug#748758 by Thijs Kinkhorst <[email protected]>)
801 * [UI] Support 'backup' capability of Debconf.
802 * [Interp] Fix include path retrieval on python3.
803 (Debian Bug#750589 by Cristian Ionescu-Idbohrn
804 <[email protected]>)
805 * [Interp] Handle errors on python include path retrieval gracefully.
806 (Debian Bug#750589 by Cristian Ionescu-Idbohrn
807 <[email protected]>)
808
809 -- Thomas Liske <[email protected]> Tue, 17 Jun 2014 15:21:15 +0200
810
811 needrestart 0.9
812
813 * Drop external dependency on strings command from binutils.
814 * Fix "uninitialized value" by apparent kernel threads.
815 (Debian Bug#746363 by Axel Beckert <[email protected]>)
816 * Read kernel version from x86 kernel boot header and handle
817 uncompressed kernel images.
818 (Debian Bug#746550 by Axel Beckert <[email protected]>)
819 * Several small bugfixes:
820 - [Interp] initial source file detection broken due using getopt
821 instead of getopts
822 (Debian Bug#746363 by Axel Beckert <[email protected]>)
823 - [UI] fix newlines in Debconf template
824 - [UI] fix "No such file or directory" triggered by stdio
825 (Debian Bug#746550 by Axel Beckert <[email protected]>)
826 - [Interp] Use source file instead of /proc/<pid>/exe to find package.
827
828 -- Thomas Liske <[email protected]> Sun, 11 May 2014 22:48:42 +0200
829
830 needrestart 0.8
831
832 * Fix non-numeric argument on progress_prep call.
833 (Debian Bug#744961 by Cristian Ionescu-Idbohrn
834 <[email protected]>)
835 * Feature: interpreter support enables needrestart to look for obsolete
836 source files in scripting languages:
837 - Perl: using Module::ScanDeps
838 - Python: using home made source file scanning
839 - Ruby: using home made source file scanning
840 * Feature: detect running on obsolete kernels
841 (Debian Bug#745270 by Paul Wise <[email protected]>)
842 * NeedRestart::UI::Dialog: has been dropped
843 * NeedRestart::UI::stdio: add mass processing
844 * Several small bugfixes.
845
846 -- Thomas Liske <[email protected]> Sun, 27 Apr 2014 10:15:35 +0200
847
848 needrestart 0.7
849
850 * Improved rc script detection, e.g.: previous releases failed to
851 detect apache2's init script after upgrading libssl1.0.0.
852 * Handle Linux VServer naming convention on deleted binaries.
853 (Thanks to Phillip Berndt [@phillipberndt])
854 * Support GNU formatted device ids.
855 (github issue #1 by Phillip Berndt [@phillipberndt])
856 * Hooks: Use only available package managers.
857 * Hooks: Ignore hooks not returning any rc scripts
858 (fixes detecting apache2's rc script).
859 * Hooks: Prefer rc scripts w/ matching pid
860 (fixes calling unnecessary rc scripts like libvirt-guests).
861 * Improve rc script detection by using a two pass
862 analysis.
863 * Fallback to NeedRestart::UI::stdio while being verbose.
864 (Debian Bug#744000 by Paul Wise <[email protected]>)
865 * Add default UI configuration option.
866 (Debian Bug#744001 by Paul Wise <[email protected]>)
867 * Apply blacklist while processing parent processes.
868 (Debian Bug#744002 by Paul Wise <[email protected]>)
869 * Apply Debian's 01-makefile-fix.diff upstream.
870
871 -- Thomas Liske <[email protected]> Mon, 14 Apr 2014 21:50:15 +0200
872
873 needrestart 0.6
874
875 * Add lightdm to blacklist.
876 (Debian Bug#735027 by Michael Gilbert <[email protected]>)
877 * Print eval exception message on config file errors.
878 * Use systemd if available.
879 (Debian Bug#731028 by Paul Wise <[email protected]>)
880 * Use service to run traditional SysV scripts.
881 * Change batch processing output.
882 * Print full restart commands in list mode.
883 (Debian Bug#731028 by Paul Wise <[email protected]>)
884
885 -- Thomas Liske <[email protected]> Mon, 07 Apr 2014 22:52:18 +0200
886
887 needrestart 0.5
888
889 * Ignore mapped files in /tmp.
890 * Handle LSB tags case insensitivly.
891 (Debian Bug#731165 by Christian Ionescu-Idbohrn
892 <[email protected]>)
893 * Prevent config file in dpkg.cfg.d to break dpkg
894 after removing needrestart.
895 (Debian Bug#732461 by Andreas Beckmann <[email protected]>)
896
897 -- Thomas Liske <[email protected]> Thu, 02 Jan 2014 19:55:49 +0100
898
899 needrestart 0.4
900
901 * Fix spelling:
902 - typo in debconf template (s/restartet/restarted/;)
903 (Debian Bug#723935 by Axel Beckert <[email protected]>)
904 - debconf template title (s/orphaned/outdated/;)
905 (Debian Bug#723935 by Justin B Rye <[email protected]>)
906 * Fix progress bar increase to grow up to 100%:
907 - binaries were counted twice
908 - kernel threads did not increase progress
909 * Demand restart of deleted binaries.
910 * Add sudo binary to example blacklist.
911 (Debian Bug#725937 by Jim Barber <[email protected]>)
912 * Drop version number from man page.
913 (Debian Bug#729997 by Raf Czlonka <[email protected]>)
914 * NeedRestart::UI::Debconf: Fix return code handling if readline
915 is used as debconf frontend.
916 (Debian Bug#729997 by Raf Czlonka <[email protected]>)
917
918 -- Thomas Liske <[email protected]> Thu, 28 Nov 2013 19:30:06 +0100
919
920 needrestart 0.3
921
922 * Fix typo reported by Patrick Matthäi.
923 * Add man page provided by Patrick Matthäi (Debian).
924 * Offer restart on non-existing mappings.
925 * Add PacMan hook.
926 * Be more fault-tolerant in batch mode.
927 * Provide a more sophisticated apt/dpkg trigger.
928 * Fix ignored -r command line parameter.
929 (Debian Bug#721809 by Axel Beckert <[email protected]>)
930 * Ignore forked/detached daemon children (pidfile heuristic).
931 (Debian Bug#721810 by Axel Beckert <[email protected]>)
932 * Provide modular UI including debconf and dialog based
933 frontends.
934 * Ignore binaries due blacklist config option.
935
936 -- Thomas Liske <[email protected]> Sat, 14 Sep 2013 12:55:16 +0200
937
938 needrestart 0.2
939
940 * Support (l)ist only, (i)nteractive restart and
941 (a)utomaticly restart modes.
942 * Supply apt.conf.d script to call needrestart on every upgrade.
943 * Drop dependency on (Debian's) run-parts.
944 * Drop Term::Query dependency.
945 * Ignore rc scripts to be run in other run-levels.
946 * Add batch mode.
947
948 -- Thomas Liske <[email protected]> Tue, 02 Apr 2013 21:51:48 +0200
949
950 needrestart 0.1
951
952 * Initial release.
953
954 -- Thomas Liske <[email protected]> Fri, 29 Mar 2013 19:40:09 +0100
955