This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/4357] New: staprun should print more obvious errors when not run as root
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 13 Apr 2007 15:02:22 -0000
- Subject: [Bug runtime/4357] New: staprun should print more obvious errors when not run as root
- Reply-to: sourceware-bugzilla at sourceware dot org
A user reports:
[eteo@kerndev ~]$ staprun ioblock.ko
insmod: error inserting 'ioblock.ko': -1 Operation not permitted
ERROR, couldn't insmod probe module ioblock.ko
Couldn't initialize staprun. Exiting.
It would be better if staprun produced fewer but higher-quality errors.
One way to do this would be to stop calling /sbin/insmod, and just call
the create_module(2) syscall. If that returns EPERM, staprun can figure
out why it failed, and print just one salient line.
--
Summary: staprun should print more obvious errors when not run as
root
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: fche at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4357
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.