[Bug 2104853] [NEW] rsyslog does not add kernel timestmap in kernel logs since 24.04

Vladimir Petko 2104853 at bugs.launchpad.net
Thu Mar 27 21:07:11 UTC 2025


Public bug reported:

rsyslog v8.2312 (introduced in noble) has a fix to make keepKernelTimestamp=off[1] work.
This caused the keepKernelTimestamp=off become the default value and kernel timestamp disappeared from the kernel logs.

Ubuntu 24.04 and up are affected.

Workaround:

add keepkerneltimestamp="on" in the rsyslog.conf:
---
module(load="imklog" permitnonkernelfacility="on" keepkerneltimestamp="on")
---

[1] https://github.com/rsyslog/rsyslog/issues/5160

** Affects: rsyslog (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  rsyslog v8.2312 (introduced in noble) has a fix to make keepKernelTimestamp=off[1] work.
- This caused the keepKernelTimestamp=off become the default value and kernel timestamp disappeared from the kernel logs. 
+ This caused the keepKernelTimestamp=off become the default value and kernel timestamp disappeared from the kernel logs.
  
  Ubuntu 24.04 and up are affected.
  
+ Workaround:
  
+ add keepkerneltimestamp="on" in the rsyslog.conf:
+ ---
+ module(load="imklog" permitnonkernelfacility="on" keepkerneltimestamp="on")
+ ---
  
  [1] https://github.com/rsyslog/rsyslog/issues/5160

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsyslog in Ubuntu.
https://bugs.launchpad.net/bugs/2104853

Title:
  rsyslog does not add kernel timestmap in kernel logs since 24.04

Status in rsyslog package in Ubuntu:
  New

Bug description:
  rsyslog v8.2312 (introduced in noble) has a fix to make keepKernelTimestamp=off[1] work.
  This caused the keepKernelTimestamp=off become the default value and kernel timestamp disappeared from the kernel logs.

  Ubuntu 24.04 and up are affected.

  Workaround:

  add keepkerneltimestamp="on" in the rsyslog.conf:
  ---
  module(load="imklog" permitnonkernelfacility="on" keepkerneltimestamp="on")
  ---

  [1] https://github.com/rsyslog/rsyslog/issues/5160

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/2104853/+subscriptions




More information about the foundations-bugs mailing list