Bug 2297084 - debuginfod for fedora wanted on centos
Summary: debuginfod for fedora wanted on centos
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: fedpkg
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ondřej Nosek
QA Contact: Fedora Extras Quality Assurance
URL: https://git.centos.org/centos/centpkg...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-10 13:15 UTC by Petr Menšík
Modified: 2024-10-28 13:40 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Petr Menšík 2024-07-10 13:15:20 UTC
I have created similar request for centos at: https://git.centos.org/centos/centpkg/issue/102

I think it would be nice, if someone uses fedpkg on their CentOS system, to get installed automatically debuginfod instance of fedora.

On fedora, that is provided by file /etc/debuginfod/elfutils.urls. Which works quite well. But if I have installed fedpkg, I might be working with fedora builds already. It would not hurt, if I had installed also fedpkg-debuginfod recommended subpackage, which would provide just one file:

echo https://debuginfod.fedoraproject.org/  > /etc/debuginfod/fedora.urls

Then when I would open coredump either from centos or fedora, it should be able to fetch required debug symbols and source files.

Reproducible: Always

Steps to Reproduce:
1. generate any coredump on centos
2. download it on fedora
3. gdb -c core.*
Actual Results:  
won't find symbols

Expected Results:  
can find symbols with fedpkg-debuginfod installed

Comment 1 Petr Menšík 2024-07-10 13:18:17 UTC
Similar thing would be nice for any similar build tool, rfpkg of rpmfusion for example. If they have some debuginfod instance of course.

Comment 2 Petr Menšík 2024-07-10 13:31:52 UTC
Related to wiki article: https://fedoraproject.org/wiki/Debuginfod

Comment 3 Carlos O'Donell 2024-07-12 17:02:25 UTC
+1 from me :-)

Comment 4 Troy Dawson 2024-10-28 13:40:12 UTC
Putting this in fedpkg doesn't make sense to me.
Why isn't this config file being put in whatever you use to work with the coredumps?

Or possibly better, create it's own package that has all the fedora, centos, RHEL, and any other configs you want.
You can then make it a Recommend in fedora-packager.
https://pagure.io/fedora-packager


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