On 2023-02-02 13:32, Carlos E. R. wrote:
On 2023-02-02 12:31, Erwin Lam wrote:
On 01-02-2023 15:17, Carlos E. R. wrote:
On 2023-02-01 15:00, Bengt Gördén wrote:
Carlos E. R. wrote:
...
Hi Carlos,
The issue is caused by systemd hardening. Have a look at the file "/usr/lib/systemd/system/mlocate.service",in particular the line "ProtectKernelModules=true". This systemd setting not only prevents the service from loading any modules, but also denies the service access to directory "/lib/modules".
Wow.
I would never have guessed that.
Does not work. Elesar:~ # systemctl cat mlocate.service ... # /etc/systemd/system/mlocate.service.d/override.conf ProtectKernelModules=false Elesar:~ # systemctl start mlocate.service Elesar:~ # locate snd-hda-intel Elesar:~ # -- Cheers / Saludos, Carlos E. R. (from Elesar, using openSUSE Leap 15.4)