Bug 2177132

Summary: libreport crashes when I tries report selinux issue.
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: libreportAssignee: abrt <abrt-devel-list>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: abrt-devel-list, abrt-sig, mgrabovs, michal.toman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: libreport-2.17.9-1.fc38 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-26 00:20:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mikhail 2023-03-10 06:21:12 UTC
Description of problem:
libreport crashes when I tries report selinux issue.

--- Running analyze_BodhiUpdates ---
Looking for similar problems in bugzilla
abrt-action-find-bodhi-update [WARNING] Duplicate Bugzilla bug '#2177130' was found
abrt-action-find-bodhi-update [ERROR] abrt-bodhi does not support product version 'Rawhide'

--- Running report_Bugzilla ---
Checking for duplicates
Creating a new bug
Adding attachments to bug 2177131
Status: NEW https://bugzilla.redhat.com/show_bug.cgi?id=2177131
Traceback (most recent call last):
  File "/usr/bin/reporter-bugzilla", line 813, in <module>
    log_out(bug_info, rhbz, dump_dir_name)
  File "/usr/bin/reporter-bugzilla", line 288, in log_out
    dump_dir_obj.libreport_add_reported_to_entry(dd, result)
  File "/usr/lib64/python3.11/site-packages/reportclient/internal/dump_dir.py", line 1666, in libreport_add_reported_to_entry
    self.dd_save_text(dd, const.FILENAME_REPORTED_TO, reported_to)
  File "/usr/lib64/python3.11/site-packages/reportclient/internal/dump_dir.py", line 1536, in dd_save_text
    self.save_binary_file_at(dd['dd_fd'], name, bytes(data, 'utf-8'),
  File "/usr/lib64/python3.11/site-packages/reportclient/internal/dump_dir.py", line 1494, in save_binary_file_at
    fd = self.create_new_file_at(dir_fd, os.O_WRONLY, name, uid, gid, mode)
  File "/usr/lib64/python3.11/site-packages/reportclient/internal/dump_dir.py", line 1464, in create_new_file_at
    os.unlink(name, dir_fd=dir_fd)
FileNotFoundError: [Errno 2] No such file or directory: 'reported_to'
('report_Bugzilla' exited with 1)

Comment 1 Fedora Update System 2023-03-24 09:59:46 UTC
FEDORA-2023-a9d3b9efc8 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a9d3b9efc8

Comment 2 Fedora Update System 2023-03-25 02:44:42 UTC
FEDORA-2023-a9d3b9efc8 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a9d3b9efc8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2023-03-26 00:20:41 UTC
FEDORA-2023-a9d3b9efc8 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.