Red Hat Bugzilla – Bug 139255
wb8 ch1 online exercise and $RPMS
Last modified: 2008-05-01 11:39:17 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.4.3)
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
2. Student appends to his ~/.bash_profile following lines:
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.
appending lines above to ~/.bashrc.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
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
this'll stand for now, but i want to find a more graceful fix...