Description of problem:
ERROR: You are trying to run stap as a normal user.
You should either be root, or be part of either group "stapdev" or group "stapusr".
Version-Release number of selected component (if applicable):
Run your systemtap script as a user who is in group stapusr and stapdev.
Am I doing something wrong or I must execute scripts only as root?
Marcela, the "stapusr" privilege only permits precompiled scripts
to be run. That is, the sysadmin must compile (stap -p4) and
install (cp FOO.ko /lib/modules/`uname -r`/systemtap) each script
that is supposed to be run by stapusr prileges.
The "stapdev" privilege is not so limited, and should permit
arbitrary script compilation/execution.
Please double-check that your group assignments are effective
(run "id"), and that nothing is interfering with the setuid
nature of /usr/bin/staprun (check selinux logs perhaps?).
(In reply to comment #0)
> Run your systemtap script as a user who is in group stapusr and stapdev.
Please double check your group settings.
The above says that stapdev and stapusr are members of group user.
You want the opposite, user should be part of group stapdev
Um, thank you for your kind reply. Definitely notabug.