Bug 2208865 - [abrt] rpmconf: cmp(): filecmp.py:53:cmp:FileNotFoundError: [Errno 2] No such file or directory: '/etc/clamd.d/scan.conf'
Summary: [abrt] rpmconf: cmp(): filecmp.py:53:cmp:FileNotFoundError: [Errno 2] No such...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmconf
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:1e47e3fc60b318a7c85ff5f81cb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-21 17:20 UTC by Peter Hjalmarsson
Modified: 2023-05-21 17:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (688 bytes, text/plain)
2023-05-21 17:20 UTC, Peter Hjalmarsson
no flags Details
File: environ (2.31 KB, text/plain)
2023-05-21 17:20 UTC, Peter Hjalmarsson
no flags Details
File: mountinfo (5.23 KB, text/plain)
2023-05-21 17:20 UTC, Peter Hjalmarsson
no flags Details
File: open_fds (744 bytes, text/plain)
2023-05-21 17:20 UTC, Peter Hjalmarsson
no flags Details
File: namespaces (171 bytes, text/plain)
2023-05-21 17:20 UTC, Peter Hjalmarsson
no flags Details
File: cpuinfo (2.43 KB, text/plain)
2023-05-21 17:20 UTC, Peter Hjalmarsson
no flags Details
File: backtrace (1.03 KB, text/plain)
2023-05-21 17:20 UTC, Peter Hjalmarsson
no flags Details

Description Peter Hjalmarsson 2023-05-21 17:20:06 UTC
Description of problem:


Version-Release number of selected component:
rpmconf-1.1.8-2.fc38

Additional info:
reporter:       libreport-2.17.10
kernel:         6.2.15-300.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/sbin/rpmconf -a
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
uid:            0
reason:         filecmp.py:53:cmp:FileNotFoundError: [Errno 2] No such file or directory: '/etc/clamd.d/scan.conf'
executable:     /usr/sbin/rpmconf
type:           Python3
package:        rpmconf-1.1.8-2.fc38
runlevel:       N 3
exception_type: FileNotFoundError
crash_function: cmp
interpreter:    python3-3.11.3-1.fc38.x86_64
comment:        

Truncated backtrace:
filecmp.py:53:cmp:FileNotFoundError: [Errno 2] No such file or directory: '/etc/clamd.d/scan.conf'

Traceback (most recent call last):
  File "/usr/sbin/rpmconf", line 105, in <module>
    main()
  File "/usr/sbin/rpmconf", line 95, in main
    rconf.run()
  File "/usr/lib/python3.11/site-packages/rpmconf/rpmconf.py", line 117, in run
    tested_files += self._handle_package(pkg_hdr)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/rpmconf/rpmconf.py", line 348, in _handle_package
    self._handle_rpmnew(conf_file,
  File "/usr/lib/python3.11/site-packages/rpmconf/rpmconf.py", line 368, in _handle_rpmnew
    and filecmp.cmp(conf_file, other_file):
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/filecmp.py", line 53, in cmp
    s1 = _sig(os.stat(f1))
              ^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/etc/clamd.d/scan.conf'

Local variables in innermost frame:
f1: '/etc/clamd.d/scan.conf'
f2: '/etc/clamd.d/scan.conf.rpmnew'
shallow: True

Comment 1 Peter Hjalmarsson 2023-05-21 17:20:08 UTC
Created attachment 1966023 [details]
File: os_info

Comment 2 Peter Hjalmarsson 2023-05-21 17:20:09 UTC
Created attachment 1966024 [details]
File: environ

Comment 3 Peter Hjalmarsson 2023-05-21 17:20:11 UTC
Created attachment 1966025 [details]
File: mountinfo

Comment 4 Peter Hjalmarsson 2023-05-21 17:20:12 UTC
Created attachment 1966026 [details]
File: open_fds

Comment 5 Peter Hjalmarsson 2023-05-21 17:20:14 UTC
Created attachment 1966027 [details]
File: namespaces

Comment 6 Peter Hjalmarsson 2023-05-21 17:20:15 UTC
Created attachment 1966028 [details]
File: cpuinfo

Comment 7 Peter Hjalmarsson 2023-05-21 17:20:16 UTC
Created attachment 1966029 [details]
File: backtrace


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