This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ERROR: The effective user ID of staprun must be set to the root user.


Jim Keniston wrote:
> I'm running 2.6.28 with yesterday's utrace bits, today's stap bits, and
> elfutils 0.138.  When I run a stap script as a non-root member of group
> stapdev (e.g., the "Hello, world" script shown here), upon completion of
> the run, staprun reports:
> 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.
> and apparently fails to unload the stap-generated module.
> 
> I get no such message if I run stap as root.

I'm seeing the same thing on a rawhide system running
2.6.29-0.18.rc0.git9.fc11.x86_64.  At least for me, when I get that
error that means that the module didn't get removed correctly.

I'm unsure why this is happening.  I don't appear to be getting selinux
messages.

I was looking into this yesterday, but got sidetracked.  I'll try to
poke around more, but feel free to join me.

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]