* [Bug debuginfod/27146] New: /etc/profile.d/debuginfod.csh breaks csh startup
@ 2021-01-04 6:57 mliska at suse dot cz
2021-01-04 8:00 ` [Bug debuginfod/27146] " mark at klomp dot org
2021-01-04 12:01 ` mliska at suse dot cz
0 siblings, 2 replies; 3+ messages in thread
From: mliska at suse dot cz @ 2021-01-04 6:57 UTC (permalink / raw)
To: elfutils-devel
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug debuginfod/27146] /etc/profile.d/debuginfod.csh breaks csh startup
2021-01-04 6:57 [Bug debuginfod/27146] New: /etc/profile.d/debuginfod.csh breaks csh startup mliska at suse dot cz
@ 2021-01-04 8:00 ` mark at klomp dot org
2021-01-04 12:01 ` mliska at suse dot cz
1 sibling, 0 replies; 3+ messages in thread
From: mark at klomp dot org @ 2021-01-04 8:00 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27146
--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
Has this been resolved by:
commit 911ac29b9eed3c66bba60eda6af8e5de62607e5c
Author: Dmitry V. Levin <ldv@altlinux.org>
Date: Wed Nov 4 08:00:00 2020 +0000
config: do not define DEBUGINFOD_URLS environment variable unnecessarily
Before this change, when elfutils was configured without
--enable-debuginfod-urls, the installed profile.d/debuginfod.sh and
profile.d/debuginfod.csh scripts used to define the DEBUGINFOD_URLS
environment variable as an non-empty string containing spaces, making
all libdebuginfod users do extra work.
Change these scripts to avoid defining the DEBUGINFOD_URLS environment
variable unless configured using --enable-debuginfod-urls.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug debuginfod/27146] /etc/profile.d/debuginfod.csh breaks csh startup
2021-01-04 6:57 [Bug debuginfod/27146] New: /etc/profile.d/debuginfod.csh breaks csh startup mliska at suse dot cz
2021-01-04 8:00 ` [Bug debuginfod/27146] " mark at klomp dot org
@ 2021-01-04 12:01 ` mliska at suse dot cz
1 sibling, 0 replies; 3+ messages in thread
From: mliska at suse dot cz @ 2021-01-04 12:01 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27146
Martin Liska <mliska at suse dot cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Martin Liska <mliska at suse dot cz> ---
All right, thank you for the pointer.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-04 12:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-04 6:57 [Bug debuginfod/27146] New: /etc/profile.d/debuginfod.csh breaks csh startup mliska at suse dot cz
2021-01-04 8:00 ` [Bug debuginfod/27146] " mark at klomp dot org
2021-01-04 12:01 ` mliska at suse dot cz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).