[Bug debuginfod/27146] New: /etc/profile.d/debuginfod.csh breaks csh startup

mliska at suse dot cz sourceware-bugzilla@sourceware.org
Mon Jan 4 06:57:13 GMT 2021


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

            Bug ID: 27146
           Summary: /etc/profile.d/debuginfod.csh breaks csh startup
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: mliska at suse dot cz
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

As reported here:
https://bugzilla.suse.com/show_bug.cgi?id=1180306

```
It introduces the file "/etc/profile.d/debuginfod.csh" which produces an error
during shell initialization, so that startup scripts are not properly run.

Workaround: chmod +t /etc/profile.d/debuginfod.csh

This makes sure that the file is not used in csh startup.

Current content of file:
 ----

setenv DEBUGINFOD_URLS "$DEBUGINFOD_URLS "
 ----

Suggested alternative content for file:
 ----

if ( $?DEBUGINFOD_URLS ) then
    setenv DEBUGINFOD_URLS "$DEBUGINFOD_URLS "
endif
 ----

This change avoids evaluating an undefined variable.
```

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


More information about the Elfutils-devel mailing list