Bug 2177132 - libreport crashes when I tries report selinux issue.
Summary: libreport crashes when I tries report selinux issue.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libreport
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: abrt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-10 06:21 UTC by Mikhail
Modified: 2023-03-26 00:20 UTC (History)
4 users (show)

Fixed In Version: libreport-2.17.9-1.fc38
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-26 00:20:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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