|Re: problem with linuxtools callgraph usage [message #1231550 is a reply to message #854393]
||Tue, 14 January 2014 23:33
| Gurce Isikyildiz
Registered: April 2012
I've been giving systemtap another try, this time on my OpenSUSE 11.4 system.|
The OpenSuse 11.4 repos came with systemtap v1.4 (which is a bit old now).
I tried running a simple "stap hello.stp" example and encountered this error message, similar to the one EvgenijM86 experienced in his post.
ERROR: Unable to verify the signature for the module /tmp/stapShZRuj/stap_c9114380922df2350a36dd8ea544d25e_176164 .ko
Members of the "stapusr" group can only use unsigned modules within
the "/lib/modules/2.6.35-26-generic/systemtap" directory.
I've learnt you can overcome this error, by doing the following:
- sudo chgrp stapdev /usr/bin/stap*
- sudo chmod a+s /usr/bin/stap*
Ie, change the group of those stap* binaries to stapdev and that setuid bit is set.
After this, if I do "stap hello.stp" now, the output is:
rm: cannot remove `/tmp/stapTJfUev': Permission denied
Hmm, so there's still a permission problem removing those temp folders, but it runs, whew...
Not perfect, but some progress... I'm also thinking of just building the latest systemtap from the source, as I recall the newer version doesn't need utrace, which was a problem in opensuse, as last I heard, they don't include it anymore:
Powered by FUDForum
. Page generated in 0.13990 seconds