Bug 247170

Summary: Bug in displaying error message while using -u option
Product: [Fedora] Fedora Reporter: Roland McGrath <roland>
Component: straceAssignee: Roland McGrath <roland>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7CC: jan.kratochvil
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.5.16-1.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-06 17:59:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 229644, 231966    

Description Roland McGrath 2007-07-05 19:36:30 UTC
when we use a wrong username in -u option of strace,we get the following
error.
===============================================
strace -u <non existing user name> echo hi
strace: cannot find user `(null)'

Instead of "null", we shld see wrong username.
=========================================

Comment 1 Roland McGrath 2007-07-05 19:37:22 UTC
fixed upstream

Comment 2 Jan Kratochvil 2007-08-03 14:33:33 UTC
Fixed in Rawhide strace-4.5.16-1.fc8:
* Fri Aug  3 2007 Roland McGrath <roland> - 4.5.16-1
- fix -u error message (#247170)

and upstream:

2007-07-05  Roland McGrath  <roland>

        * strace.c (main): Fix error message for unfound -u user.
        From Srinivasa Ds <srinivasa.com>.
        Fixes RH#247170.


Comment 3 Fedora Update System 2007-08-06 17:59:25 UTC
strace-4.5.16-1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.