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 translator/12729] stap error message needs improvement


http://sourceware.org/bugzilla/show_bug.cgi?id=12729

--- Comment #3 from Frank Ch. Eigler <fche at redhat dot com> 2011-06-07 18:34:43 UTC ---
Unfortunately posix_spawnp() does not appear to give us -EPERM or
such detailed execve errors; it returns such errors instead with the
exit-status-127 catch-all that systemtap does print out (with stap -vv).

We could change remote.cxx users of stap_spawn / make_run_command()
to report that we had a problem launching staprun, like class
ssh_legacy_remote() does.

Or maybe util.cxx stap_spawn itself should print an error unconditionally upon
a failure.  (Are there any cases where stap_spawn's failure is supposed
to be an acceptable situation?)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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