Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Don't check for root #24

Merged
merged 1 commit into from
Aug 20, 2015
Merged

Conversation

mennopruijssers
Copy link
Contributor

SystemTap doesn't have to be run as root: here are other options. See the permissions section on it's man page: https://sourceware.org/systemtap/man/stap.1.html

stap doesn't have to be run as root: here are other options. See the *permissions* section on it's man page: https://sourceware.org/systemtap/man/stap.1.html
@mennopruijssers
Copy link
Contributor Author

The output when run without enough permissions is:

$ ./cmd/torch.js 74604 text 10
Sampling 74604 for 10s, outputting text.
[stap stderr] You are trying to run systemtap as a normal user.
You should either be root, or be part of the group "stapusr" and possibly one of the groups "stapsys" or "stapdev".  [man stap]
Try '--help' for more information.

Systemtap exited unexpectedly { type: 1 }
Exiting due to profiling failure.

@mennopruijssers
Copy link
Contributor Author

3 seconds before your question :)

@danielheller
Copy link
Contributor

lgtm!

danielheller added a commit that referenced this pull request Aug 20, 2015
@danielheller danielheller merged commit 745a79b into uber-archive:master Aug 20, 2015
@mennopruijssers mennopruijssers deleted the non-root branch August 20, 2015 09:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants