What does grep ' / ' /proc/mounts show? The information in /proc/mounts comes directly from the kernel, whereas mount uses information in /etc/mtab, which might not be up-to-date for /.
–
GillesJul 16 '11 at 19:36

@Gilles - Why would /etc/mtab become out of date? Curious.
–
boehjJul 16 '11 at 23:05

@boehj /etc/mtab is updated by mount, if it can. / is normally mounted read-only by the kernel or the initrd/initramfs, the remounted read-write as part of the boot process. I'm not sure if the final mount options (from /etc/fstab) are always recorded correctly.
–
GillesJul 16 '11 at 23:11

That's not a good solution. Next time you update your pm-utils (or whatever owns that file, I'm not an Ubuntu guy) your script may be hosed. The ${JOURNAL_COMMIT_TIME_AC:-100} is a bash thing that says if JOURNAL_COMMIT_TIME_AC is NOT defined, set it to 100. So you need to set that value somewhere that the script reads it. In RedHat systems, it would be somewhere in /etc/sysconfig/ - you need to trace the script and see where it would have read it from.
–
Aaron D. MarascoJul 23 '11 at 13:21

1

Oh, and as for ignoring the /etc/fstab entry, that would be a bug report against the software. Unless there is a distro-specific setup program you were supposed to use that would have set it properly there and recorded it somewhere for the startup script to find.
–
Aaron D. MarascoJul 23 '11 at 13:25

@Aaron, you are right of course. This is not a solution but a work-around.
–
AlexJul 24 '11 at 19:01