Public bug reported:

The postgresql profile is trying to use debugfs, and that is denied in
secure boot mode:

2025-01-03 23:56:13,553 ERROR    tuned.utils.commands: Error when reading file 
'/sys/kernel/deb
ug/sched/min_granularity_ns': '[Errno 2] No such file or directory: 
'/sys/kernel/debug/sched/mi
n_granularity_ns''
2025-01-03 23:56:13,553 ERROR    tuned.plugins.plugin_scheduler: Error reading 
'min_granularity
_ns'
2025-01-03 23:56:13,554 ERROR    tuned.plugins.plugin_scheduler: This may not 
work with Secure 
Boot or kernel_lockdown (this hint is logged only once)

And dmesg:
[  479.574270] Lockdown: tuned: debugfs access is restricted; see man 
kernel_lockdown.7

This breaks the DEP8 test tuned-vm, which selected the postgresql
profile to apply (for no particular reason was postgresql selected).

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

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

Title:
  postgresql profile does not apply in secure boot mode

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to