ubuntu-debuginfod

Ubuntu Debuginfod

Channel Revision Published Runs on
latest/edge 10 23 Oct 2025
Ubuntu 24.04
juju deploy ubuntu-debuginfod --channel edge
Show information

Platform:

Ubuntu
24.04

A charm for deploying ubuntu-debuginfod to serve Ubuntu package's debugging symbols to gdb.

ubuntu-debuginfod Operator

Charmhub package: ubuntu-debuginfod

Deploy ubuntu-debuginfod and debuginfod to serve debugging symbols of Ubuntu's distribution packages to debuggers like GDB.

About

Entrypoint: src/charm.py.

When the Charm is installed, it:

  • adds the ubuntu-debuginfod PPA
  • installs ubuntu-debuginfod
  • installs and sets up systemd services
    • debuginfod.service: provides files to debuggers via http (port 8002 default)
    • ubuntu-debuginfod-launchpad-poller.service & .timer: asks launchpad about new packages
    • ubuntu-debuginfod-celery.service: processes jobs and downloads debug symbols from archive

Other resources

GitHub integration

We use some GitHub actions to test and release the charm code.

To retrieve the needed "CHARMHUB_TOKEN" for authentication (used by charmcraft via env CHARMCRAFT_AUTH), run:

charmcraft login --export /tmp/charmcreds.auth --charm ubuntu-debuginfod --permission=package-view --permission=package-manage-revisions --permission=package-manage-releases --channel "latest/edge" --channel "latest/stable" --ttl $((10 * 365 * 24 * 60 * 60))

Store the exported output text as a GitHub project secret under CHARMHUB_TOKEN (because that name is hardcoded in several "included" workflows).