Bug 592102 - debugmode: environment variables are not exported
debugmode: environment variables are not exported
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: initscripts (Show other bugs)
All Linux
low Severity medium
: rc
: ---
Assigned To: initscripts Maintenance Team
Alex Sersen
Depends On: 589378
  Show dependency treegraph
Reported: 2010-05-13 16:49 EDT by Bill Nottingham
Modified: 2014-03-16 23:23 EDT (History)
10 users (show)

See Also:
Fixed In Version: initscripts-9.03.8-1.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 589378
Last Closed: 2010-11-10 15:40:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Bill Nottingham 2010-05-13 16:49:05 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):

How reproducible:

Steps to Reproduce:
1. Make sure the "debugmode" package is installed and enabled.
2. env | grep -e MALLOC_ -e G_SLICE

Actual results:
No output.

Expected results (example):

--- Additional comment from plautrba@redhat.com 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 matt@mattmccutchen.net on 2010-05-07 11:53:45 EDT ---

Gah, more sed mess.  Maybe the design should be fixed first (I entered bug 590063).
Comment 4 RHEL Product and Program Management 2010-05-13 18:54:24 EDT
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
Comment 7 releng-rhel@redhat.com 2010-11-10 15:40:22 EST
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.

Note You need to log in before you can comment on or make changes to this bug.