This applies to the checkfs script in baselayout-1.8.6.2 The checkfs script uses 'basename' which is associated with the sh-utils package. The default location for this file is under /usr/bin. On my system, the partition for /usr is on a RAID device, therefore basename isn't available until after the script has been run. The checkfs script will treat lines that have been commented with '#' like they were not commented. My previous bug 9322 is now obsolete as the checkfs script has completely changed. A similar issues are discussed in bug 14527 Reproducible: Always Steps to Reproduce:
My previous description needs clarification. The checkfs script will treat lines <b>from raidtab</b> that have been commented with '#' like they were not commented. Sorry
Please check if the following patch fixes: -------------------------------------------------------------------- Index: checkfs =================================================================== RCS file: /home/cvsroot/gentoo-src/rc-scripts/init.d/checkfs,v retrieving revision 1.21 diff -u -b -B -r1.21 checkfs --- checkfs 26 Jan 2003 15:51:56 -0000 1.21 +++ checkfs 16 Feb 2003 23:31:49 -0000 @@ -42,9 +42,9 @@ local rc=0 local retval=0 - for i in `grep "^[^*]*raiddev" /etc/raidtab | awk '{print $2}'` + for i in `grep "^[^*]*raiddev" /etc/raidtab | awk '$0 !~ /^[[:space:]]*#/ {print $2}'` do - local raiddev="`basename ${i}`" + local raiddev="${i##*/}" local raidstat="$(egrep "^${raiddev} : active" /proc/mdstat)" if [ -z "${raidstat}" ]
That patch fixes the problems!
Ok, great. It has already been fixed in CVS.