FWIW, this would be complicated, because the profile.d scripts construct DEBUGINFOD_URLS (and related variables) by concatenating other .d style files under /etc/debuginfod/. pam_env's /etc/environment.* facilities cannot do that, AFAIK.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to elfutils in Ubuntu. https://bugs.launchpad.net/bugs/2106408 Title: DEBUGINFOD_URLS not set in gdm Status in ubuntu-debuginfod: New Status in elfutils package in Ubuntu: New Bug description: After switching from lightdm (which sources /etc/profile) to gdm, gdb stopped offering debuginfod. Workarounds are SSH, TTY, and a manual `export DEBUGINFOD_URLS="https://debuginfod.ubuntu.com"`. $ lsb_release -rd Description: Ubuntu 24.10 Release: 24.10 $ apt-cache policy libdebuginfod-common libdebuginfod-common: Installé : 0.191-2ubuntu0.1 Candidat : 0.191-2ubuntu0.1 Table de version : *** 0.191-2ubuntu0.1 500 500 https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu oracular-updates/main amd64 Packages 500 https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu oracular-updates/main i386 Packages 500 https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu oracular-security/main amd64 Packages 500 https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu oracular-security/main i386 Packages 100 /var/lib/dpkg/status 0.191-2 500 500 https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu oracular/main amd64 Packages 500 https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu oracular/main i386 Packages 3) What you expected to happen $ gdb sleep GNU gdb (Ubuntu 15.1-1ubuntu2) 15.1 Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from sleep... This GDB supports auto-downloading debuginfo from the following URLs: <https://debuginfod.ubuntu.com> Enable debuginfod for this session? (y or [n]) 4) What happened instead $ gdb sleep GNU gdb (Ubuntu 15.1-1ubuntu2) 15.1 Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from sleep... (No debugging symbols found in sleep) (gdb) # Analysis Please change the package to use /etc/environment.d . ProblemType: Bug DistroRelease: Ubuntu 24.10 Package: libdebuginfod-common 0.191-2ubuntu0.1 Uname: Linux 6.14.0 x86_64 ApportVersion: 2.30.0-0ubuntu4.2 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: KDE Date: Mon Apr 7 11:25:11 2025 InstallationDate: Installed on 2022-11-05 (885 days ago) InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020) PackageArchitecture: all SourcePackage: elfutils UpgradeStatus: Upgraded to oracular on 2025-01-02 (95 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-debuginfod/+bug/2106408/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp