| 1 |
Changes in 2.12 |
| 2 |
=============== |
| 3 |
|
| 4 |
docker containers |
| 5 |
----------------- |
| 6 |
|
| 7 |
Needrestart ignores processes within docker containers since there are no pending |
| 8 |
library updates within containers by design. Needrestart still detects docker |
| 9 |
containers to mitigate false positives. |
| 10 |
|
| 11 |
More information: README.Cont.md |
| 12 |
|
| 13 |
|
| 14 |
non-interactive runs |
| 15 |
-------------------- |
| 16 |
|
| 17 |
If needrestart is configured to run in interactive mode but is run non-interactive |
| 18 |
(i.e. unattended-upgrades) it will fallback to list only mode. |
| 19 |
|
| 20 |
|
| 21 |
Changes in 2.1 |
| 22 |
============== |
| 23 |
|
| 24 |
containers (LXC et. al.) |
| 25 |
------------------------ |
| 26 |
|
| 27 |
Needrestart tries to detect if a process runs inside a container like LXC or |
| 28 |
docker. There are special scanner packages (NeedRestart::CONT::*) which |
| 29 |
implements the implementation specific detection and restarting. |
| 30 |
|
| 31 |
More information: README.Cont.md |
| 32 |
|
| 33 |
|
| 34 |
Changes in 0.8 |
| 35 |
============== |
| 36 |
|
| 37 |
interpreters (Perl et. al.) |
| 38 |
--------------------------- |
| 39 |
|
| 40 |
Needrestart tries to detect if interpreters are using old source files. |
| 41 |
There are special scanner packages (NeedRestart::Interp::*) which implements |
| 42 |
the interpreter specific detection. Since most interpreter languages allow |
| 43 |
dynamic source code loading (eval) and we are using a home made source |
| 44 |
parcing there is a reasonable possibility to miss outdated source files. |
| 45 |
|
| 46 |
More information: README.Interp.md |
| 47 |
|
| 48 |
|
| 49 |
kernel upgrades |
| 50 |
--------------- |
| 51 |
|
| 52 |
Needrestart tries to detect if an pending kernel upgrade is available. It |
| 53 |
will only suggest a reboot. |
| 54 |
|
| 55 |
More information: README.Kernel.md |
| 56 |
|
| 57 |
|
| 58 |
UI |
| 59 |
-- |
| 60 |
|
| 61 |
The UI implementation NeedRestart::UI::Dialog has been dropped. |
| 62 |
|
| 63 |
|
| 64 |
Changes in 0.6 |
| 65 |
============== |
| 66 |
|
| 67 |
systemd support |
| 68 |
--------------- |
| 69 |
|
| 70 |
If needrestart detects a running systemd it is used as primary source |
| 71 |
to identify service names. This speedups the detection significantly. |
| 72 |
|
| 73 |
The traditional detection using package managers is still used if systemd |
| 74 |
is not running or systemctl does not return a service name for a PID. |
| 75 |
|
| 76 |
|
| 77 |
Changes in 0.3 |
| 78 |
============== |
| 79 |
|
| 80 |
blacklisting |
| 81 |
------------ |
| 82 |
|
| 83 |
It might be a bad idea to (auto) restart certain daemons. Therefore |
| 84 |
a new config option is available to ignore binaries by matching |
| 85 |
a regex. The supplied default configuration ignores dbus, NetworkManager |
| 86 |
and various display managers. |
| 87 |
|
| 88 |
|
| 89 |
user interface |
| 90 |
-------------- |
| 91 |
|
| 92 |
The old basic user interface has been replace by a modular approach. |
| 93 |
User interfaces are now implemented in the NeedRestart::UI::* packages. |
| 94 |
|
| 95 |
New UI packages can be added by putting them into perl's search path. |
| 96 |
Using Module::Find to load any NeedRestart::UI::* package. Packages |
| 97 |
failing to load are ignored. |
| 98 |
|
| 99 |
The following UI implementations are shipped: |
| 100 |
* NeedRestart::UI::Debconf - use Debian's debconf front end |
| 101 |
* NeedRestart::UI::Dialog - use UI::Dialog |
| 102 |
* NeedRestart::UI::stdio - the simple old UI |
| 103 |
|
| 104 |
|
| 105 |
sophisticated apt/dpkg trigger |
| 106 |
------------------------------ |
| 107 |
|
| 108 |
The new apt/dpkg trigger only runs needrestart if there was a package |
| 109 |
unpacked by dpkg and no error has occurred during the dpkg run. |
| 110 |
|
| 111 |
The scripts and config files required for the apt and dpkg integration |
| 112 |
are installed by default. |