#3406 [abrt] freeipa-client-3.1.0-2.fc18: ipautil.py:666:user_input:EOFError: EOF when reading a line
Closed: Fixed None Opened 11 years ago by mkosek.

https://bugzilla.redhat.com/show_bug.cgi?id=908832 (Fedora)

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'

master:

  • 7c48621 Added try/except block for user_input in ipautil

Metadata Update from @mkosek:
- Issue assigned to akasurde
- Issue set to the milestone: FreeIPA 4.3

7 years ago

Login to comment on this ticket.

Metadata