Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2008 17:30:19 +0200
From:      Oliver Lehmann <oliver@FreeBSD.org>
To:        mtm@freebsd.org
Cc:        stable@freebsd.org
Subject:   error in src/etc/rc.d/mountcritlocal
Message-ID:  <20080428173019.9741ad41.oliver@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080428173019.9741ad41.oliver>