ERROR: The effective user ID of staprun must be set to the root user.
Frank Ch. Eigler
fche@redhat.com
Fri Jan 9 20:33:00 GMT 2009
Jim Keniston <jkenisto@us.ibm.com> writes:
> [...]
> Pass 5: starting run.
> Error inserting module
> '/tmp/stapiMOfTu/stap_3ef244575eb0700481e9d673c7d9d914_354.ko': File
> exists
> Retrying, after attempted removal of module
> stap_3ef244575eb0700481e9d673c7d9d914_354 (rc 0)
This suggests that the module was left in memory after a previous run,
as if "staprun -d" failed.
> ERROR: The effective user ID of staprun must be set to the root user.
> Check permissions on staprun and ensure it is a setuid root program.
According to the source code, this comes from a specific check
upon geteuid() != 0. So the setuid mechanism may be defeated
somehow - perhaps /usr/local is mounted nosuid?
> Pass 5: run completed in 10usr/0sys/162real ms.
> Pass 5: run failed. Try again with another '--vp 00001' option.
> [...]
> [jimk@xxx stap]$ lsmod | grep stap
> stap_3ef244575eb0700481e9d673c7d9d914_354 27240 0
> stap_7f0af3bd64bc4349367c78489e1f6351_98711 164088 0
This suggests that the same condition.
- FChE
More information about the Systemtap
mailing list