Bug 74820

Summary: traceback if networkSetup!=1 and stdin is null
Product: [Retired] Red Hat Linux Reporter: Mike McLean <mikem>
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED WONTFIX QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: gafton, mihai.ibanescu, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-05 21:02:25 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 Mike McLean 2002-10-01 21:59:06 UTC
* up2date-3.0.7-1

0.  isatty             No
1.  retrieveSource     No
...
28. gpgKeyRing         /etc/sysconfig/rhn/up2date-keyring.gpg
29. httpProxy
30. headerCacheSize    40


Enter number of item to edit <return to exit, q to quit without saving>:
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 801, in ?
    main()
  File "/usr/sbin/up2date", line 473, in main
    text_config.main()
  File "/usr/share/rhn/up2date_client/text_config.py", line 191, in main
    value = raw_input(prompt)
EOFError: EOF when reading a line

Comment 1 Adrian Likins 2003-01-21 04:34:34 UTC
ugh. 

Hmmm, guess I could detect when stdin is null and... er... do nothing?
(ie, skip the configuration)
Kind of unusual operating situation...

How are you invoking it to get this failure?

Comment 2 Mike McLean 2003-01-21 15:56:32 UTC
Been a while since I filed this.... probably something like: up2date -u -f -i
--nox --nosrc

..or possibly: up2date -f -i --nox --nosrc up2date

Comment 3 Adrian Likins 2004-04-05 21:02:25 UTC
Don't really consider this a bug to worry about.
Reopen if you disagree.