Description of Problem: It would aid/assist troubleshooting of the RHR scripts if, when looking for /usr/src/linux (or /usr/src/linux-2.4), the function locate_sources() in /etc/init.d/rhr_functions were patched as follows: # diff -u rhr_functions.ORIG rhr_functions --- rhr_functions.ORIG 2002-08-14 12:28:57.000000000 -0600 +++ rhr_functions 2002-08-14 12:31:48.000000000 -0600 @@ -314,7 +314,12 @@ SOURCEDIR="/usr/src/linux-2.4" echo -n "Located 2.4 kernel source tree..." else - action "Could not locate source tree." /bin/false + rpm -q kernel-source > /dev/null 2>&1 + if [ $? -ne 0 ]; then + action "No kernel-source rpm installed" /bin/false + else + action "Could not locate source tree." /bin/false + fi exit 1 fi } Version-Release number of selected component (if applicable): # rpm -qf /etc/init.d/rhr_functions rhr-core-1.7-10d
One of the requirements for running the Red Hat Ready Certification tests is an "Everything" class install. This means kernel-source is assumed to be present. While adding a check for kernel-source would not hurt, it is not really needed.
... of course, it's not needed, which is why the summary started as "Enh:" (enhancement). Since enhancements are typically requests, can you re-close this bug as WONTFIX instead of NOTABUG, please?