Back to bug 2212262
| Who | When | What | Removed | Added |
|---|---|---|---|---|
| Red Hat Bugzilla | 2023-06-05 06:44:04 UTC | Pool ID | sst_cs_software_management_rhel_9 | |
| Jan Kolarik | 2023-06-05 06:51:34 UTC | Status | NEW | POST |
| Assignee | packaging-team-maint | jkolarik | ||
| Jan Kolarik | 2023-06-05 06:52:37 UTC | Doc Type | If docs needed, set a value | Bug Fix |
| Doc Text | Cause: dnf-automatic returns success exit code even if one of the items during the transaction was not successfully completed Consequence: dnf-automatic incorrectly reports the status of the overall transaction which can be a security risk on machines using it for automatic deployment of erratas Fix: calculating the overall exit status is fixed to report any problem with packages during the transaction Result: exit status should reflect any problem with packages during the transaction and is matching the behavior with the dnf command |
|||
| Red Hat One Jira (issues.redhat.com) | 2023-06-05 06:53:53 UTC | Link ID | Red Hat Issue Tracker RHELPLAN-158946 | |
| Jaroslav Rohel | 2023-06-29 15:08:49 UTC | Fixed In Version | dnf-4.14.0-8.el9 | |
| Status | POST | MODIFIED | ||
| CC | jrohel | |||
| errata-xmlrpc | 2023-07-10 14:36:43 UTC | Status | MODIFIED | ON_QA |
| Eva Mrakova | 2023-07-12 09:00:39 UTC | QA Contact | swm-qe | emrakova |
| Eva Mrakova | 2023-07-12 09:51:11 UTC | Status | ON_QA | VERIFIED |
| Mariya Pershina | 2023-08-15 07:57:03 UTC | Doc Text | Cause: dnf-automatic returns success exit code even if one of the items during the transaction was not successfully completed Consequence: dnf-automatic incorrectly reports the status of the overall transaction which can be a security risk on machines using it for automatic deployment of erratas Fix: calculating the overall exit status is fixed to report any problem with packages during the transaction Result: exit status should reflect any problem with packages during the transaction and is matching the behavior with the dnf command | .The `dnf-automatic` command now correctly reports the exit status of transactions Previously, the `dnf-automatic` command returned a successful exit code of a transaction even if some actions during this transaction were not successfully completed. This could cause a security risk on machines that use `dnf-automatic` for automatic deployment of errata. With this update, the issue has been fixed and `dnf-automatic` now reports every problem with packages during the transaction. |
Back to bug 2212262