error in src/etc/rc.d/mountcritlocal

Oliver Lehmann oliver at FreeBSD.org
Mon Apr 28 15:57:07 UTC 2008


Hi Mike,

with todays update I got version 1.12.2.4 of src/etc/rc.d/mountcritlocal
for my RELENG_6 system today when I cvsuped my source.

# $FreeBSD: src/etc/rc.d/mountcritlocal,v 1.12.2.4 2008/03/20 10:53:18 mtm Exp $

C src/etc/rc.d/mountcritlocal,v RELENG_6 . 2#871#110#12060103985#143213#555 1.12.2.4 2008.03.20.10.53.18 2#871#110#12093647233#9833#755

I checked on cvsweb, and with 1.12.2.1 you've introduced an error. If
mount returns an error, "stop_boot true" gets called. But stop_boot itself
calls checkyesno which only allows yes or no as a valid parameter - which
true isn't obviously. So in case mounting the filesystems produced an
error, you are left with the error message
      "$true is not set properly - see rc.conf(5)"
not telling you anything about the real error.
Took me some time to find out that a filesystem entry in /etc/fstab for
a filesystem which is disconnected right now was the cause here.

Could you please fix this?

-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/


More information about the freebsd-stable mailing list