Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 May 2010 12:44:10 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        sem@FreeBSD.org
Cc:        freebsd-rc@FreeBSD.org, eugen@grosbein.pp.ru
Subject:   Re: conf/132483: rc.subr(8) [patch] setfib(1) support for rc.subr
Message-ID:  <20100507.124410.123339447257066316.imp@bsdimp.com>
In-Reply-To: <4BE44D4E.1080308@FreeBSD.org>
References:  <201005071710.o47HA3XH078595@freefall.freebsd.org> <4BE44D4E.1080308@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <4BE44D4E.1080308@FreeBSD.org>
            Sergey Matveychuk <sem@FreeBSD.org> writes:
: Eugene Grosbein wrote:
: > The following reply was made to PR conf/132483; it has been noted by
: > GNATS.
: > From: Eugene Grosbein <eugen@grosbein.pp.ru>
: > To: bug-followup@freebsd.org
: > Cc: sem@freebsd.org
: > Subject: Re: conf/132483: rc.subr(8) [patch] setfib(1) support for
: > rc.subr
: > Date: Sat, 08 May 2010 00:08:20 +0700
: >  I've tested second patch (setfib_for_rc.subr.diff), it works.
: >   Vote for commit. Without this, there is no way to bind
: >  a network service running from rcNG-based startup script
: >  to a non-default FIB.
: >   The only alternative is ugly way to use /etc/rc.local with
: >  "setfib N ... forcestart" command that ignores dependencies.
: >   Please commit.
: >  
: 
: Unfortunately setfib(1) is in /usr/sbin "which is not guaranteed to be
: accessible at boot time, especially not before the network is up." (c)
: dougb@
: 
: So, this patch has a little chance to be committed.

Do we still support boot environments where this is actually true?[*]
/usr/* isn't available before mountcrit.  Given the amount of
sed and awk in use, I think this is likely safe.

Warner

[*] where the root partition that's mounted by the kernel for its root
file system doesn't contain /usr and we mount that via the network
later.



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