Bug 2324183

Summary: tracer doesn't work in Fedora 41
Product: [Fedora] Fedora Reporter: Patrick O'Callaghan <poc>
Component: tracerAssignee: Jakub Kadlčík <jkadlcik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 41CC: cdennett, jkadlcik, laurent.rineau__fedora, mcurlej
Target Milestone: ---Keywords: Regression, Upgrades
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: tracer-1.2-1.fc39 tracer-1.2-1.fc40 tracer-1.2-1.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-20 14:03:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Patrick O'Callaghan 2024-11-06 14:53:44 UTC
Using 'dnf upgrade' updates a number of packages including some affecting running programs, but 'sudo tracer -a' shows nothing that needs to be restarted. This is the case both with the stand-alone program and the dnf plugin, even when 'dnf --needs-restarting -s' does show a list of services needing restarting.

Prior to upgrading from F40 to F41, I have always used 'tracer' and relied on it. It now seems to do nothing.

Reproducible: Always

Steps to Reproduce:
1.Run 'dnf upgrade'
2.Observe (by eye) some programs that should be restarted
3.Run 'sudo tracer -a' and get no output.
Actual Results:  
Nothing

Expected Results:  
List of processes that need to be restarted.

Results contradict the output of 'dnf --needs-restarting -s'

EDIT:

After a subsequent update of kernel packages 'tracer -a' did call for a reboot.

Comment 1 Patrick O'Callaghan 2024-11-07 11:52:09 UTC
More info:

$ sudo tracer --show-resource=packages
Date           Time      Package name                            
-------------------------------------------------------
$

For some reason tracer isn't seeing the package list. However 'dnf5 history' does show updates correctly.

Comment 2 Jakub Kadlčík 2024-11-08 10:07:26 UTC
Thank you for the report Patrick,
I created an upstream issue for this https://github.com/FrostyX/tracer/issues/215
and I will prioritize it because this is a big problem.

Comment 3 Fedora Update System 2024-11-12 17:31:09 UTC
FEDORA-2024-6ba7154113 (tracer-1.2-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-6ba7154113

Comment 4 Fedora Update System 2024-11-12 17:31:09 UTC
FEDORA-2024-f48f5d71c7 (tracer-1.2-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-f48f5d71c7

Comment 5 Fedora Update System 2024-11-12 17:31:10 UTC
FEDORA-2024-812abcb46e (tracer-1.2-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-812abcb46e

Comment 6 Patrick O'Callaghan 2024-11-12 22:37:08 UTC
(In reply to Fedora Update System from comment #3)
> FEDORA-2024-6ba7154113 (tracer-1.2-1.fc41) has been submitted as an update
> to Fedora 41.
> https://bodhi.fedoraproject.org/updates/FEDORA-2024-6ba7154113

Thanks Jakub. Will test and report if there are any issues.

Comment 7 Fedora Update System 2024-11-13 02:13:54 UTC
FEDORA-2024-812abcb46e has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-812abcb46e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-812abcb46e

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

Comment 8 Fedora Update System 2024-11-13 02:44:16 UTC
FEDORA-2024-f48f5d71c7 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-f48f5d71c7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-f48f5d71c7

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

Comment 9 Patrick O'Callaghan 2024-11-13 11:21:52 UTC
(In reply to Fedora Update System from comment #7)
> FEDORA-2024-812abcb46e has been pushed to the Fedora 39 testing repository.
> Soon you'll be able to install the update with the following command:
> `sudo dnf upgrade --enablerepo=updates-testing --refresh
> --advisory=FEDORA-2024-812abcb46e`
> You can provide feedback for this update here:
> https://bodhi.fedoraproject.org/updates/FEDORA-2024-812abcb46e
> 
> See also https://fedoraproject.org/wiki/QA:Updates_Testing for more
> information on how to test updates.

I just downloaded it from Bodhi. Seems to work so far, but I'll give feedback on that link.

Comment 10 Fedora Update System 2024-11-13 20:40:51 UTC
FEDORA-2024-6ba7154113 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-6ba7154113`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-6ba7154113

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

Comment 11 Fedora Update System 2024-11-20 14:03:57 UTC
FEDORA-2024-812abcb46e (tracer-1.2-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2024-11-20 16:21:51 UTC
FEDORA-2024-f48f5d71c7 (tracer-1.2-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2024-11-21 03:35:22 UTC
FEDORA-2024-6ba7154113 (tracer-1.2-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.