Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose stored RPMs in lobs for debuginfod #951

Closed
xsuchy opened this issue Oct 13, 2020 · 4 comments
Closed

Expose stored RPMs in lobs for debuginfod #951

xsuchy opened this issue Oct 13, 2020 · 4 comments

Comments

@xsuchy
Copy link
Member

xsuchy commented Oct 13, 2020

It would be nice to be able to host debuginfod on retrace server.
https://sourceware.org/elfutils/Debuginfod.html
for that debuginfod needs flat directory structure and files with suffix *rpm.
However, we store the files like /srv/faf/lob/Package/package/00/00/1

It would be nice if we can make /srv/faf/package-name/ which will contains symlinks to lobs. E.g., Coin4-debuginfo-4.0.0-2.fc31-> /srv/faf/lob/Package/package/00/00/1

That way we can run debuginfod in /srv/faf/package-name/

@xsuchy
Copy link
Member Author

xsuchy commented Oct 13, 2020

@fche
Copy link

fche commented Oct 13, 2020

BTW, a directory structure that mirrors the semantics of the upstream repo is even better than "flat" -- namely, keeping architectures separate, keeping subrpms of the same n-v-r closer together than other n-v-r's. That's because debuginfod uses pathname match-length heuristics to break ties when matching up source files with their dwarf binaries.

Also, would you consider renaming this issue to being more specific for rpm repository sharing, something like "debuginfod archive-side integration: rpm repository naming conventions" ? That's as distinct from debuginfod-client extensions for abrt-faf.

@xsuchy xsuchy changed the title Integration with debuginfod Expose stored rpm in lobs for debuginfod Oct 15, 2020
@xsuchy xsuchy changed the title Expose stored rpm in lobs for debuginfod Expose stored RPMs in lobs for debuginfod Oct 15, 2020
@mgrabovsky
Copy link
Contributor

I suppose this is moot now since we'll be using the debuginfod.fp.org instance.

@fche
Copy link

fche commented Aug 3, 2021

(For what it's worth, we've recently discovered that debuginfod can in fact accept RPMs without the ".rpm" suffix, with a cunning command line invocation.)

debuginfod -Z=cat /path/to/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants