Bug 1215868 - rpm conf plugin tracebacks after user action
Summary: rpm conf plugin tracebacks after user action
Keywords:
Status: CLOSED DUPLICATE of bug 1236722
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmconf
Version: 23
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-28 04:19 UTC by John Ellson
Modified: 2015-11-22 13:52 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-22 13:52:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1211344 0 low CLOSED rpmconf plugin doesn't obey dnf -y or ^C 2021-02-22 00:41:40 UTC

Internal Links: 1211344

Description John Ellson 2015-04-28 04:19:55 UTC
Description of problem:
dnf crash, maybe caused by java package expecting interaction?

Version-Release number of selected component (if applicable):
dnf-0.6.5-1.fc23.noarch

How reproducible:
started today

Steps to Reproduce:
1.$ ssh root dnf update -y
2.
3.

Actual results:
Failed to synchronize cache for repo '_local' from 'file:///var/lib/dnf/plugins/local': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried, disabling.
Using metadata from Mon Apr 27 21:45:28 2015 (2:26:08 hours old)
Dependencies resolved.
Nothing to do.
DDEBUG:dnf:Cleaning up.
Configuration file '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-32.b13.fc23.x86_64/jre/lib/security/US_export_policy.jar'
-rw-r--r--. 1 root root 620 Jan  9 14:13 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-32.b13.fc23.x86_64/jre/lib/security/US_export_policy.jar
-rw-r--r--. 1 root root 538 Apr 15 12:19 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-32.b13.fc23.x86_64/jre/lib/security/US_export_policy.jar.rpmnew

 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      M     : merge configuration files
      Z     : background this process to examine the situation
      S     : skip this file
 The default action is to keep your current version.
*** aliases (Y/I/N/O/D/M/Z/S) [default=N] ? 
Traceback (most recent call last):
  File "/usr/bin/dnf", line 35, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 185, in user_main
    errcode = main(args)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 84, in main
    return _main(base, args)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 141, in _main
    ret = resolving(cli, base)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 170, in resolving
    base.plugins.run_transaction()
  File "/usr/lib/python3.4/site-packages/dnf/plugin.py", line 82, in fn
    dnf.util.mapall(operator.methodcaller(method), self.plugins)
  File "/usr/lib/python3.4/site-packages/dnf/util.py", line 157, in mapall
    return list(map(fn, *seq))
  File "/usr/lib/python3.4/site-packages/dnf-plugins/rpm_conf.py", line 47, in transaction
    rconf.run()
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 88, in run
    self._handle_package(pkg_hdr)
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 253, in _handle_package
    tmp.format(conf_file, "rpmnew"))
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 282, in _handle_rpmnew
    option = self.flush_input("Your choice: ").upper()
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 102, in flush_input
    tcflush(sys.stdin, TCIOFLUSH)
termios.error: (25, 'Inappropriate ioctl for device')


Expected results:
No error.

Additional info:

Comment 1 Jan Kurik 2015-07-15 14:14:00 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 2 Miroslav Suchý 2015-11-22 13:52:30 UTC
Although bug 1236722 seems to have different cause, the underlying problem is the same.

*** This bug has been marked as a duplicate of bug 1236722 ***


Note You need to log in before you can comment on or make changes to this bug.