Red Hat Bugzilla – Bug 592102
debugmode: environment variables are not exported
Last modified: 2014-03-16 23:23:25 EDT
+++ This bug was initially created as a clone of Bug #589378 +++
Description of problem:
The environment variables set by the "debugmode" package are not exported (at least in bash), so the only processes that receive the benefits of debug mode are interactive shells. The variables should be exported.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make sure the "debugmode" package is installed and enabled.
2. env | grep -e MALLOC_ -e G_SLICE
Expected results (example):
--- Additional comment from firstname.lastname@example.org on 2010-05-07 08:18:50 EDT ---
Created an attachment (id=412323)
export environment variables in debugmode
/etc/profile.d/debug.sh: export all non-comment lines instead of sourcing /etc/sysconfig/debug
--- Additional comment from email@example.com on 2010-05-07 11:53:45 EDT ---
Gah, more sed mess. Maybe the design should be fixed first (I entered bug 590063).
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.