error in src/etc/rc.d/mountcritlocal

Mike Makonnen mtm at wubethiopia.com
Wed Apr 30 05:04:41 UTC 2008


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.


More information about the freebsd-stable mailing list