[Bug runtime/4357] New: staprun should print more obvious errors when not run as root
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Apr 13 15:02:00 GMT 2007
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.
More information about the Systemtap
mailing list