Yesterday, a user reported on gentoo-user-de, that his root fs wasn't checked upon reboot. He got the message: "Skipping root filesystem check (fstab's passno == 0)" although the passno was not 0. It turned out he had a comment at the end of the respective line in /etc/fstab. This led to the following awk contruct awk '($1 ~ /^(\/|UUID|LABEL)/ && $2 == "/" && NF == 6 && $6 != 0) {print }' /etc/fstab in checkroot return nothing (I'd say because of "NF == 6"). Reproducible: Always Steps to Reproduce: 1. Put a comment at the end of the line for root fs in /etc/fstab 2. Run: awk '($1 ~ /^(\/|UUID|LABEL)/ && $2 == "/" && NF == 6 && $6 != 0) \ {print }' /etc/fstab 3. Gives no result, while without the comment returns the line for the root fs Actual Results: root fs is not checked. Expected Results: root fs should be checked. This "awk" construct is also present on my system with baselayout 1.12.10-r4.
We already have this fixed in baselayout-2 where we now use the libc functions to read fstab correctly.
*** Bug 213082 has been marked as a duplicate of this bug. ***
His fstab entry is also not valid per the file format descriptions of fstab.