You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the latest version of Raspbian the Pi foundation have released a 64bit kernel as kernel8.img.
This kernel is an experimental (their words) kernel with 64 bit support for (deleted not interested) However, needrestart sees this as a new kernel and recommends a reboot.
This occurs under docker-compose installation and presumably under anything else that needs this package.
the result is that the needrestart script breaks the sudo apt upgrade and sudo apt install package process resulting in a pop up display after each execution.
This means that ANY automation is broken - no scripting no ansible or any other automation that requires the use of the apt command once another application like docker-compose has been installed
The needrestart Must script misinterprets the kernel String either assuming that kernel8.img Or the full kernel Version string Ending in 8 is an upgrade over the previous version 7L
The last digit (8 or 7L) refers to the architecture arm7 or arm8 and should therefore be truncated before comparing
The text was updated successfully, but these errors were encountered:
there is an easy WORKAROUND to this - don't have the interactive dialog as the default - as this will break ALL automated deployments on the PI
The config file line 195 needs to be un-commented to read: $nrconf{kernelhints} = -1;
the actual fix needs to assess what ARM architecture it is running on v7l+ or v8+ and handle the kernel version number correctly ie drop the -v[7|8]*$ before comparison
The default use causes too much confusion for Raspberry Pi users who either waste hours of time trying and failing to upgrade from the v7 to the v8 kernel OR who end up with a system that complains that there is an error in the system configuration when there isn't
This is by design and seems to be related to #146 and #155. You can use the kernelfilter setting to ignore the unused kernel image (requires needrestart 3.5+).
With the latest version of Raspbian the Pi foundation have released a 64bit kernel as kernel8.img.
This kernel is an experimental (their words) kernel with 64 bit support for (deleted not interested) However, needrestart sees this as a new kernel and recommends a reboot.
This occurs under docker-compose installation and presumably under anything else that needs this package.
the result is that the needrestart script breaks the sudo apt upgrade and sudo apt install package process resulting in a pop up display after each execution.
This means that ANY automation is broken - no scripting no ansible or any other automation that requires the use of the apt command once another application like docker-compose has been installed
The needrestart Must script misinterprets the kernel String either assuming that kernel8.img Or the full kernel Version string Ending in 8 is an upgrade over the previous version 7L
The last digit (8 or 7L) refers to the architecture arm7 or arm8 and should therefore be truncated before comparing
The text was updated successfully, but these errors were encountered: