Bug 61409

Summary: error output on STDOUT or STDERR depending on up2date options
Product: [Retired] Red Hat Linux Reporter: Need Real Name <lprevita>
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED RAWHIDE QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: gafton, mihai.ibanescu, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-03-19 10:25:24 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:

Description Need Real Name 2002-03-19 10:25:09 UTC
From Bugzilla Helper:

User-Agent: Mozilla/4.0 (compatible; MSIE 5.12; Mac_PowerPC)



Description of problem:

using the bash shell and no X  "up2date -l" prints errors on STDOUT and 
"up2date -p" prints errors on STDERR.



When "up2date -l"  is used on script, there is no possibility to access to 
the error output.



Exit status codes are not  meaningful to: up2date -l returns always 
(system completely updated, available update packets, up2date errors) 1









Version-Release number of selected component (if applicable):





How reproducible:

Always



Steps to Reproduce:

1. ifdown eth0

2. /usr/sbin/up2date -l 2>err

3.cat err



err is empty and errors are printed to STDOUT





4./usr/sbin/up2date -p 2> err

5.cat err



errors are no more printed on STDOUT 

	



Additional info:

Comment 1 Adrian Likins 2002-03-27 00:34:56 UTC
This will be fixed with an update to usermode-1.5 or higher (the
bug is an issue in the way userhelper/consolehelper was duping
file descriptors)