https://sourceware.org/bugzilla/show_bug.cgi?id=32314

            Bug ID: 32314
           Summary: Profile script in elfutils-debuginfod-client throws
                    error on login
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: ngren...@cygnusx-1.org
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

With elfutils 0.192 on Fedora 41 with a shell set to zsh I get the error below.
This can be argued to be a packaging bug of Fedora's, and I did file a bug
report with them, linked below. Yet I see multiple things that could be better
at this upstream level.

1. Both of these configure options are required to make
/etc/profile.d/debuginfod.sh behave with zsh. This could be simplified into one
configuration option, or something like it.

        --enable-debuginfod-urls=%{dist_debuginfod_url} \
        --enable-debuginfod-ima-cert-path=%{_sysconfdir}/debuginfod \

2. The /etc/profile.d/debuginfod.sh script could either be made to work with no
certpath file when the shell is zsh, the template could be modified such that
if the second configure option is not specified it the if statement for
*.certpath is not included, or both.

3. Is --enable-debuginfod-ima-cert-path meant to be something like
/etc/ssl/certs?

Error message:
/etc/profile.d/debuginfod.sh:14: no matches found: /etc/debuginfod/*.certpath

Fedora bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=2321818

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

Reply via email to