Description of problem: When no new config file exits, the it will crash. In this case, /etc/xinetd.d/check_mk.rpmsave exits. But no file /etc/xinetd.d/check_mk. Version-Release number of selected component: rpmconf-1.0.22-1.el7 Additional info: reporter: libreport-2.1.11.1 cmdline: /usr/bin/python3 /sbin/rpmconf -a executable: /sbin/rpmconf kernel: 3.10.0-1127.el7.x86_64 pkg_fingerprint: 6A2F AEA2 352C 64E5 pkg_vendor: Fedora Project reproducible: Not sure how to reproduce the problem runlevel: N 3 type: Python3 uid: 0 Truncated backtrace: filecmp.py:51:cmp:FileNotFoundError: [Errno 2] No such file or directory: '/etc/xinetd.d/check_mk' Traceback (most recent call last): File "/sbin/rpmconf", line 80, in <module> main() File "/sbin/rpmconf", line 71, in main rconf.run() File "/usr/lib/python3.6/site-packages/rpmconf/rpmconf.py", line 97, in run tested_files += self._handle_package(pkg_hdr) File "/usr/lib/python3.6/site-packages/rpmconf/rpmconf.py", line 334, in _handle_package tmp.format(conf_file, "rpmsave")) File "/usr/lib/python3.6/site-packages/rpmconf/rpmconf.py", line 396, in _handle_rpmsave and filecmp.cmp(conf_file, other_file): File "/usr/lib64/python3.6/filecmp.py", line 51, in cmp s1 = _sig(os.stat(f1)) FileNotFoundError: [Errno 2] No such file or directory: '/etc/xinetd.d/check_mk' Local variables in innermost frame: shallow: True f2: '/etc/xinetd.d/check_mk.rpmsave' f1: '/etc/xinetd.d/check_mk'
Created attachment 1688316 [details] File: backtrace
Created attachment 1688317 [details] File: environ
Created attachment 1688318 [details] File: machineid