Bug 2208865

Summary: [abrt] rpmconf: cmp(): filecmp.py:53:cmp:FileNotFoundError: [Errno 2] No such file or directory: '/etc/clamd.d/scan.conf'
Product: [Fedora] Fedora Reporter: Peter Hjalmarsson <kanelxake>
Component: rpmconfAssignee: Miroslav Suchý <msuchy>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: kanelxake, msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:1e47e3fc60b318a7c85ff5f81cbffa598c5fc6b5;VARIANT_ID=server;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-22 11:07:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: os_info
none
File: environ
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: cpuinfo
none
File: backtrace none

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

Comment 8 Aoife Moloney 2024-05-22 11:07:58 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.