Back to bug 2203100

Who When What Removed Added
Red Hat Bugzilla 2023-05-11 09:14:51 UTC Pool ID sst_cs_software_management_rhel_9
Jan Kolarik 2023-05-11 09:16:26 UTC Assignee packaging-team-maint jkolarik
Status NEW POST
Red Hat One Jira (issues.redhat.com) 2023-05-12 06:56:22 UTC Link ID Red Hat Issue Tracker RHELPLAN-157085
Jan Kolarik 2023-05-17 08:37:53 UTC Doc Type If docs needed, set a value Bug Fix
Doc Text Cause: When files from packages used by a process have been updated after the process has started and the given process is not a systemd service or is malfunctioned.

Consequence: An exception is thrown when running the 'dnf needs-restarting -s' command.

Fix: Ignore processes that are not systemd services or are malfunctioning and just display a warning about that.

Result: 'dnf needs-restarting -s' displays a list of affected systemd services and doesn't throw an exception.
Nicola Sella 2023-05-31 16:45:42 UTC Fixed In Version dnf-plugins-core-4.3.0-8.el9
Status POST MODIFIED
Jan Blazek 2023-06-05 08:04:50 UTC QA Contact swm-qe jblazek
errata-xmlrpc 2023-06-05 10:30:32 UTC Status MODIFIED ON_QA
Jan Blazek 2023-06-08 13:35:44 UTC Status ON_QA VERIFIED
Mariya Pershina 2023-08-15 07:56:02 UTC CC mpershin
Doc Text Cause: When files from packages used by a process have been updated after the process has started and the given process is not a systemd service or is malfunctioned.

Consequence: An exception is thrown when running the 'dnf needs-restarting -s' command.

Fix: Ignore processes that are not systemd services or are malfunctioning and just display a warning about that.

Result: 'dnf needs-restarting -s' displays a list of affected systemd services and doesn't throw an exception.
.The `dnf needs-restarting -s` command now correctly displays the list of systemd services

Previously, when you used the `needs-restarting` command with the `-s` or `--services` option, an error occurred when a non-systemd or malfunctioning process was detected. With this update, the `dnf needs-restarting -s`command ignores such processes and displays a warning instead with the list of affected systemd services.

Back to bug 2203100