You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for the detailed report. It is new to me, that the accessdaemon requires CAP_SYS_ADMINadditional to the suid-root bit. It might be some security restriction in more recent kernels. I know of one for the MSR access but in your case, it's the PCI access. I have to investigate that.
Do I understand your update correctly that user and root runs work now with CAP_SYS_ADMIN for likwid-accessD?
Memory counters are not reported when accessing msr registers via likwid-accessD
I have set up
chmod u+s
) onlikwid-accessD
ap_sys_rawio=ep
capability forlikwid-accessD
I do see some performance counters getting reported correctly, however when I run as user I get the following output (shortened):
Running the same command as root user gives:
This is likwid
Version 5.1.0 (commit: 233ab943543480cd46058b34616c174198ba0459
running on Debian Bullseye (Linux kernel version 5.10.40-1).What am I missing?
Update: when I additionally grant the
CAP_SYS_ADMIN
capability tolikwid-accessD
then everything works as expected.The text was updated successfully, but these errors were encountered: