Bug 1384700 - Collect /etc/profile.d files during foreman-debug run
Summary: Collect /etc/profile.d files during foreman-debug run
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Foreman Debug
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Chris Roberts
QA Contact:
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-13 22:40 UTC by Mike McCune
Modified: 2019-04-01 20:27 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:49:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 17772 0 None None None 2016-12-19 20:08:21 UTC
Foreman Issue Tracker 17950 0 None None None 2017-01-05 23:02:20 UTC

Description Mike McCune 2016-10-13 22:40:22 UTC
There was a customer situation where they could not properly install Satellite 6 due to a proxy configuration defined in:

/etc/profile.d/proxy.sh

lets collect all the profile files in /etc/profile.d and ensure we have the proper diagnostic information to diagnose this.

Comment 1 Lukas Zapletal 2016-10-14 12:10:13 UTC
I verified this is not collected by sos, but I am afraid including this directory won't help much. I'd rather print all environment variables which are relevant. What ENV variables are we looking for? We can easily print all of them which are defined for a root shell.

Comment 3 Zach Huntington-Meath 2016-12-19 20:07:25 UTC
Created redmine issue http://projects.theforeman.org/issues/17772 from this bug

Comment 4 Chris Roberts 2017-01-05 22:54:34 UTC
Created redmine issue:

http://projects.theforeman.org/issues/17950

Comment 6 Daniel Lobato Garcia 2017-08-09 10:50:40 UTC
Verified 

Tested on:

satellite-6.3.0-16.0.beta.el7sat.noarch
foreman-debug-1.15.2-1.el7sat.noarch


All files matching:
   /etc/profile.d/**/*

were added to the debug tar.

Comment 7 Satellite Program 2018-02-21 16:49:54 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336


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