From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Description of problem: RHEL3 uses the /mnt directory for mounting media. RHEL4 uses /media. The labs stated to use the /media for mounts, but the scripts check for /mnt. Below you will find the excerpts from the two scripts. I went in and copied the scripts to .old and then edited the "/mnt" to read "/media." This was successful. Excerpt from fsmngt_image.script: cs.append(dev_is_mounted_cp("/dev/fd0", "/mnt/floppy", "ext2")) #cs.append(rha.script.cmd_succeeds_cp("file floppy.img | grep filesystem ")) # do i dare? cs.append(rha.script.cmd_succeeds_cp("mkdir /mnt/flarble; mount -o loop floppy.img /mnt/flarble; umount /mnt/flarble; rmdir /mnt/flarble", "root")) Excerpt from fsmngt_floppy.script: cs.append(dev_is_mounted_cp("/dev/fd0", "/mnt/floppy", "ext2")) cs.append(dir_almost_same_cp("/etc/sysconfig", "/mnt/floppy/sysconfig")) cl = [ ["head -1 df.floppy", "df | head -1"], ["cat df.floppy | wc -w", "df | wc -w"], ] cs.append(rha.script.cmp_cmdlist_cp(cl)) cs.append(rha.script.cmd_succeeds_cp("grep /mnt/floppy df.floppy")) Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Work through Labs 1 and labs 2 2. Grade them Actual Results: Failing grades. Expected Results: 100% Grade received. Additional info:
Created attachment 332558 [details] patch to run in /usr/share/rha/server/scripts/rha030-5.0
The second of these exercises still fails in 5.0 Fix is replace all mnt with media in /usr/share/rha/server/scripts/rha030-5.0/fsmngt_image.script Attached patch (for what it's worth)