Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 139255

Summary: wb8 ch1 online exercise and $RPMS
Product: [Retired] Red Hat Academy Reporter: Tomasz Chilinski <chilek>
Component: RHA130 CurriculumAssignee: Bowe Strickland <bowe>
Status: CLOSED EOL QA Contact: Bowe Strickland <bowe>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 16:46:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomasz Chilinski 2004-11-14 14:52:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.4.3)
Gecko/20040924

Description of problem:
1. Actually: RPMS="ftp://rha-server/pub/es3/RedHat/RPMS"
   should be: RPMS="ftp://rha-server/pub/es3/RedHat/RPMS/" because of
curl problem.
2. Student appends to his ~/.bash_profile following lines:
   
   RPMS="ftp://rha-server/pub/es3/RedHat/RPMS/"
   export RPMS

when /usr/share/rha/server/scripts/rha130-2.1/rpmrhn_rpmie.script is
executed as remote command (without interactive shell) .bash_profile
is not executed so RPMS environment value is not set! Thus there is no
chance to successful execution "curl $RPMS | grep redhat-release".
With interactive shell everything is ok.
Possible solution:
appending lines above to ~/.bashrc.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
as above
    

Additional info:

Comment 1 Brad Smith 2005-01-01 23:12:25 UTC
Should be fixed in 2.2. The new text instructs the student to use
.bashrc (with the corrected url) and points out that while environment
variables are ususally set in .bash_profile, only .bashrc gets read
when commands are executed remotely via ssh, which is how the lab will
be graded. 

Comment 2 Bowe Strickland 2005-01-05 18:32:34 UTC
this'll stand for now, but i want to find a more graceful fix...