Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change initialization to prevent crash, NEMO#604
Move init_kernel_notification() to happen before init_first_boot_hwclock_time_adjustment_check(). If the file /var/cache/timed/first-boot-hwclock.dat is missing, then timed tries to set the system time in init_first_boot_hwclock_time_adjustment_check(). The function tries to stop kernel time change monitoring, which caused timed to segfault as the object responsible for monitoring time change was created in init_kernel_notification(), which was called after init_first_boot_hwclock_time_adjustment_check().
- Loading branch information