Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2008 07:51:15 +0300
From:      Mike Makonnen <mtm@wubethiopia.com>
To:        Oliver Lehmann <oliver@FreeBSD.org>
Cc:        stable@freebsd.org
Subject:   Re: error in src/etc/rc.d/mountcritlocal
Message-ID:  <4817FAC3.3090304@wubethiopia.com>
In-Reply-To: <20080428173019.9741ad41.oliver@FreeBSD.org>
References:  <20080428173019.9741ad41.oliver@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Lehmann wrote:
> 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?
> 

I'm not sure what you mean. The checkyesno() routine considers "true" a 
valid parameter. Could you please post the exact error you're getting.

Cheers.
Mike.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4817FAC3.3090304>