Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1279655 - [abrt] rpmconf: filecmp.py:51:cmp:FileNotFoundError: [Errno 2] No such file or directory: '/etc/mock/default.cfg'
Summary: [abrt] rpmconf: filecmp.py:51:cmp:FileNotFoundError: [Errno 2] No such file o...
Keywords:
Status: CLOSED DUPLICATE of bug 1277025
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmconf
Version: 22
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:6d891bf9135aa52200288c9878a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-10 00:01 UTC by Timothy Ward
Modified: 2015-11-22 13:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-22 13:25:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (897 bytes, text/plain)
2015-11-10 00:01 UTC, Timothy Ward
no flags Details
File: environ (2.14 KB, text/plain)
2015-11-10 00:01 UTC, Timothy Ward
no flags Details

Description Timothy Ward 2015-11-10 00:01:08 UTC
Version-Release number of selected component:
rpmconf-1.0.12-1.fc22

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python3 /sbin/rpmconf -a
executable:     /sbin/rpmconf
kernel:         4.1.6-201.fc22.i686+PAE
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
filecmp.py:51:cmp:FileNotFoundError: [Errno 2] No such file or directory: '/etc/mock/default.cfg'

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 90, in run
    self._handle_package(pkg_hdr)
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 264, in _handle_package
    tmp.format(conf_file, "rpmnew"))
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 273, in _handle_rpmnew
    if filecmp.cmp(conf_file, other_file):
  File "/usr/lib/python3.4/filecmp.py", line 51, in cmp
    s1 = _sig(os.stat(f1))
FileNotFoundError: [Errno 2] No such file or directory: '/etc/mock/default.cfg'

Local variables in innermost frame:
shallow: True
f1: '/etc/mock/default.cfg'
f2: '/etc/mock/default.cfg.rpmnew'

Comment 1 Timothy Ward 2015-11-10 00:01:13 UTC
Created attachment 1092022 [details]
File: backtrace

Comment 2 Timothy Ward 2015-11-10 00:01:15 UTC
Created attachment 1092023 [details]
File: environ

Comment 3 Timothy Ward 2015-11-19 06:37:10 UTC
This fails even when rpmconf is run under root access.

Comment 4 Miroslav Suchý 2015-11-22 13:25:27 UTC

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


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