On Wed, 29 Jan 2025 11:05:27 +0100 Felix Moessbauer <felix.moessba...@siemens.com> wrote: > Package: lttng-tools > Version: 2.13.9-1+b1 > Severity: normal > > Dear Maintainer, > > the package contains a systemd service lttng-sessiond, which auto-starts > and by that loads lttng kernel modules (e.g. lttng_kretprobes). This is > problematic, as these are out-of-tree modules which taint the kernel. > Also it does not work if the modules are not installed or cannot be > loaded (e.g. due to secure boot / kernel lockdown). > > I hereby recommend to install that service but do not enable it. If a > user wants to debug with lttng, it can be started on demand. > > Best regards, > Felix Moessbauer > Siemens AG
Hi, I think the default configuration should enable kernel tracing which is what most users want. For your specific use-case I would recommend either not installing 'lttng-modules-dkms' or simply disabling the lttng-sessiond systemd service. Regards, Michael