Bug 908832

Summary: [abrt] freeipa-client-3.1.0-2.fc18: ipautil.py:666:user_input:EOFError: EOF when reading a line
Product: [Fedora] Fedora Reporter: Stef Walter <stefw>
Component: freeipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: abokovoy, mbasti, mkosek, rcritten, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:7a458a5ba0daa4bdf1e83fa2f9e20bc2e97f55ce
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-19 13:49:50 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:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ
none
File: smolt_data none

Description Stef Walter 2013-02-07 16:01:24 UTC
Description of problem:
Exception when stdin is closed when running ipa-client-install without --unattended

Version-Release number of selected component:
freeipa-client-3.1.0-2.fc18

Additional info:
cmdline:        /usr/bin/python -E /usr/sbin/ipa-client-install --uninstall --principal admin -W
dso_list:       freeipa-python-3.1.0-2.fc18.x86_64
executable:     /usr/sbin/ipa-client-install
kernel:         3.6.6-3.fc18.x86_64
uid:            0

Truncated backtrace:
ipautil.py:666:user_input:EOFError: EOF when reading a line

Traceback (most recent call last):
  File "/usr/sbin/ipa-client-install", line 1977, in <module>
    sys.exit(main())
  File "/usr/sbin/ipa-client-install", line 1954, in main
    return uninstall(options, env)
  File "/usr/sbin/ipa-client-install", line 538, in uninstall
    if user_input("Do you want to reboot the machine?", False):
  File "/usr/lib/python2.7/site-packages/ipapython/ipautil.py", line 666, in user_input
    ret = raw_input("%s [%s]: " % (prompt, choice))
EOFError: EOF when reading a line

Local variables in innermost frame:
default: False
prompt: 'Do you want to reboot the machine?'
allow_empty: True
choice: 'no'

Comment 1 Stef Walter 2013-02-07 16:01:30 UTC
Created attachment 694573 [details]
File: backtrace

Comment 2 Stef Walter 2013-02-07 16:01:34 UTC
Created attachment 694574 [details]
File: core_backtrace

Comment 3 Stef Walter 2013-02-07 16:01:38 UTC
Created attachment 694575 [details]
File: environ

Comment 4 Stef Walter 2013-02-07 16:01:40 UTC
Created attachment 694576 [details]
File: smolt_data

Comment 5 Martin Kosek 2013-02-08 07:34:46 UTC
Thanks for the report. I reproduced the bug too, I will open an upstream ticket.

Comment 6 Martin Kosek 2013-02-08 07:35:09 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/3406

Comment 7 Fedora End Of Life 2013-12-21 15:21:39 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Martin Kosek 2014-01-02 13:23:58 UTC
This issue is still valid for current Fedora version, changing the version field.

Comment 9 Fedora End Of Life 2015-05-29 08:53:17 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Alexander Bokovoy 2015-06-01 13:15:46 UTC
Moving to rawhide.

Comment 11 Jan Kurik 2015-07-15 14:52:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 12 Martin Bašti 2015-08-19 13:49:50 UTC
Fixed upstream
master:
https://fedorahosted.org/freeipa/changeset/7c48621bb8e9efc47c68bb7b4af936da93325050