SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0002550: Message on the gui for a new kernel installed - MantisBT
MantisBT - Endian Firewall
View Issue Details
0002550Endian FirewallOther Scriptspublic2009-12-16 14:102010-11-22 12:06
luca-endian 
simon-endian 
highminorhave not tried
closedfixed 
2.3 
2.3.12.3.1 
0002550: Message on the gui for a new kernel installed
I've noticed that with the latest updates although a new kernel has been installed the user is not warned via gui that the system must be rebooted.

I remember it happened with 2.2
purple
parent of 0002660closed  Kernel and Modules mismatch 
related to 0003355closed lorenzo-endian Reboot Required - Always on the dashboard 
Issue History
2009-12-16 14:10luca-endianNew Issue
2009-12-19 04:11peter-endianNote Added: 0003609
2009-12-19 04:11peter-endianAssigned To => simon-endian
2009-12-19 04:11peter-endianStatusnew => confirmed
2009-12-19 04:11peter-endianTarget Version => 2.3.1
2009-12-19 04:13peter-endianNote Added: 0003610
2010-01-25 08:47luca-endianTag Attached: purple
2010-01-25 08:48luca-endianNote Added: 0003697
2010-01-29 10:26luca-endianNote Added: 0003723
2010-02-01 16:51peter-endianNote Added: 0003728
2010-02-08 10:05luca-endianNote Added: 0003749
2010-02-08 15:40luca-endianRelationship addedparent of 0002660
2010-02-08 15:48peter-endianNote Added: 0003754
2010-02-10 10:38luca-endianPrioritynormal => high
2010-02-15 04:06simon-endianNote Added: 0003778
2010-02-15 04:06simon-endianStatusconfirmed => resolved
2010-02-15 04:06simon-endianFixed in Version => 2.3.1
2010-02-15 04:06simon-endianResolutionopen => fixed
2010-11-22 12:06peter-endianStatusresolved => closed
2010-12-06 08:32luca-endianRelationship addedrelated to 0003355

Notes
(0003609)
peter-endian   
2009-12-19 04:11   
This has not been implemented within dashboard!

Dashboard should also display such a message (like the old main.cgi did), if /var/tmp/oldkernel does exist.

Please discuss with christian for scheduling and GUI positioning
(0003610)
peter-endian   
2009-12-19 04:13   
i think it's more or less important. Otherwise people do not reboot after 2.3 updates and that causes some iptables things misbehave

migration will reboot automatically
(0003697)
luca-endian   
2010-01-25 08:48   
If you don't reboot ipsec stop working because of a missing module:

FATAL: Could not load /lib/modules/2.6.22.19-72.e18/modules.dep No such file or directory
(0003723)
luca-endian   
2010-01-29 10:26   
I think this issue is also related to the kernel upgrade:

df -k
df: cannot read table of mounted filesystems: No such file or directory

It happened on two systems and after the reboot it was resolved.
(0003728)
peter-endian   
2010-02-01 16:51   
df does not work anymore because the /etc/mtab link to /proc/mounts will be removed with the upgrade. the boot process creates a correct mtab file, so after reboot this is fixed.

it should not affect the kernel check script /usr/local/bin/checkkernel.sh, which understands if there was a kernel upgrade and creates a flag file in /var/tmp/oldkernel, if a reboot is necessary.

however, within the dashboard it's not implemented anymore to react upon that flag-file and display the boot message, so that's to fix whether upgrade does work or not.
(0003749)
luca-endian   
2010-02-08 10:05   
Feb 5 10:10:20 efw-1259685155 ipsec_setup: FATAL: Could not load /lib/modules/2.6.22.19-72.e18/modules.dep: No such file or directory
(0003754)
peter-endian   
2010-02-08 15:48   
well ok.. this happens because a kernel upgrade need a reboot.
(0003778)
simon-endian   
2010-02-15 04:06   
now dashboard shows kernel version and instead of the version a "reboot required" message, if /var/tmp/oldkernel exists