Bug 1233351 - [abrt] rpmconf: rpmconf.py:193:_ls_conf_file:OSError: [Errno 5] Input/output error
Summary: [abrt] rpmconf: rpmconf.py:193:_ls_conf_file:OSError: [Errno 5] Input/output ...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmconf
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:ff77546ce5c1e408b8c5eba739c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-18 17:04 UTC by Fahad Alduraibi
Modified: 2015-11-27 07:57 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-27 07:57:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (936 bytes, text/plain)
2015-06-18 17:04 UTC, Fahad Alduraibi
no flags Details
File: environ (2.03 KB, text/plain)
2015-06-18 17:04 UTC, Fahad Alduraibi
no flags Details

Description Fahad Alduraibi 2015-06-18 17:04:25 UTC
Version-Release number of selected component:
rpmconf-1.0.7-1.fc22

Additional info:
reporter:       libreport-2.5.1
cmdline:        /usr/bin/python3 /sbin/rpmconf -a
executable:     /sbin/rpmconf
kernel:         4.0.4-303.fc22.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
rpmconf.py:193:_ls_conf_file:OSError: [Errno 5] Input/output error

Traceback (most recent call last):
  File "/sbin/rpmconf", line 63, in <module>
    main()
  File "/sbin/rpmconf", line 60, in main
    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 279, in _handle_rpmnew
    self._ls_conf_file(conf_file, other_file)
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 193, in _ls_conf_file
    print("Configuration file '{}'".format(conf_file))
OSError: [Errno 5] Input/output error

Local variables in innermost frame:
self: <rpmconf.rpmconf.RpmConf object at 0x7f76ca134ef0>
conf_file: '/etc/chrony.keys'
other_file: '/etc/chrony.keys.rpmnew'

Comment 1 Fahad Alduraibi 2015-06-18 17:04:26 UTC
Created attachment 1040587 [details]
File: backtrace

Comment 2 Fahad Alduraibi 2015-06-18 17:04:27 UTC
Created attachment 1040588 [details]
File: environ

Comment 3 Miroslav Suchý 2015-11-22 13:55:50 UTC
I wonder how this happened? That print() produced output error.
What is the way to reproduce?

Comment 4 Fahad Alduraibi 2015-11-23 23:36:29 UTC
I actually don't remember now, but I am sure it happened after upgrading one of the machines from fedora 21 to 22, since that is only the time I use rpmconf.

Comment 5 Miroslav Suchý 2015-11-27 07:57:36 UTC
Well it looks like the stdout was closed. I have no idea how this can happen. Unless you run it in other script, and that it it would be error of that script.

Until I get some reproducer I cannot do anything about it. Feel free to reopen if you have more data.


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