[Bug debuginfod/27783] New: file-based default DEBUGINFOD_URLS

fche at redhat dot com sourceware-bugzilla@sourceware.org
Tue Apr 27 18:17:47 GMT 2021


            Bug ID: 27783
           Summary: file-based default DEBUGINFOD_URLS
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: fche at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Having a systemwide default DEBUGINFOD_URLS through profiles.d is a bit clumsy
in that e.g. system services don't get invoked through a login shell don't get
to see it.

So let's instead:

- drop the profile.d files
- add logic to debuginfod-client.c to check for a $configdir/debuginfod_urls
file, if the environment variable is unset, as a fallback

Users can still opt out by an override (including to an empty string) of the
environment variable.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Elfutils-devel mailing list