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]

[Bug runtime/4357] New: staprun should print more obvious errors when not run as root


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.


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