Package: needrestart / 3.6-4+deb12u3

Metadata

Package Version Patches format
needrestart 3.6-4+deb12u3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 use invoke rc d.diff | (download)

needrestart | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
02 bash term in posix shell.diff | (download)

ex/restart.d/dbus.service | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
03 ignore serial getty.diff | (download)

ex/needrestart.conf | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 do not restart serial-getty@*.service
04 vm detection.diff | (download)

needrestart | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] fix vm detection regression introduced in f54d85c


05 fix AMD ucode checking in non debug mode.patch | (download)

perl/lib/NeedRestart/uCode/AMD.pm | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch] fix amd ucode checking in non-debug mode

It looks like the assignment when the ucode exist was not
done *unless* `debug` (`-v`) was set. Therefore, all AMD microcode
checks were returning UNKNOWN, including in Nagios checks, unless the
`-v` ("verbose", but actually `debug`) was passed.

Closes: #249

06 uCode fix uninitialized value in logging of processo.patch | (download)

perl/lib/NeedRestart/uCode.pm | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] [ucode] fix uninitialized value in logging of processor index

This got broken in f8c2609f8d5a0e10bd988497b8ea9815a7bb2fa8.

Before that it would have effectively logged
`$processors{$pid}->{processor}`, but the `processor` entry
is also the key in `%processors`, i.e. equals `$pid`.

07 mark unavailable firmware as CURRENT.patch | (download)

perl/lib/NeedRestart/uCode.pm | 23 18 + 5 - 0 !
1 file changed, 18 insertions(+), 5 deletions(-)

 [patch] mark unavailable firmware as current

This changes the policy of reporting missing firmware updates as
"UNKNOWN". Now, if there's no available firmware, we report
"current". That fixes needrestart on platforms that do not have
firmware support (#220) or platforms that *are* supported but for
which a CPU is to new to have an updated firmware available (#149).

It does *not* create a new "unavailable" status (#274) as this maps
poorly in Nagios reporting, but that is an option that was considered
here as well.

Closes: #149
Closes: #274
Closes: #220

core prevent race condition on proc PID exec evaluat.patch | (download)

needrestart | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 [patch 1/5] core: prevent race condition on /proc/$pid/exec
 evaluation


interp do not set PYTHONPATH environment variable to.patch | (download)

perl/lib/NeedRestart/Interp/Python.pm | 15 7 + 8 - 0 !
1 file changed, 7 insertions(+), 8 deletions(-)

 [patch 2/5] interp: do not set pythonpath environment variable to
 prevent a LPE


interp do not set RUBYLIB environment variable to pr.patch | (download)

perl/lib/NeedRestart/Interp/Ruby.pm | 25 19 + 6 - 0 !
1 file changed, 19 insertions(+), 6 deletions(-)

 [patch 3/5] interp: do not set rubylib environment variable to
 prevent a LPE


interp chdir into empty directory to prevent python .patch | (download)

perl/lib/NeedRestart/Interp/Python.pm | 13 13 + 0 - 0 !
1 file changed, 13 insertions(+)

 [patch 4/5] interp: chdir into empty directory to prevent python
 parsing arbitrary files


interp drop usage of Module ScanDeps to prevent LPE.patch | (download)

INSTALL.md | 1 0 + 1 - 0 !
README.Interp.md | 9 7 + 2 - 0 !
perl/Makefile.PL | 1 0 + 1 - 0 !
perl/lib/NeedRestart/Interp/Perl.pm | 69 50 + 19 - 0 !
4 files changed, 57 insertions(+), 23 deletions(-)

 [patch 5/5] interp: drop usage of module::scandeps to prevent lpe


core fix regression of false positives for processes.patch | (download)

needrestart | 12 9 + 3 - 0 !
1 file changed, 9 insertions(+), 3 deletions(-)

 core: fix regression of false positives for processes running in
 chroot or mountns (#317)