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:
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.
this'll stand for now, but i want to find a more graceful fix...