Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2021 20:39:09 GMT
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 425f68e6ce6f - main - Follow-up on 51da4b19be1. When booting a system with WITHOUT_IPFILTER the following warning printed at boot time:
Message-ID:  <202101112039.10BKd9VT015749@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by glebius:

URL: https://cgit.FreeBSD.org/src/commit/?id=425f68e6ce6f7a89ee8d2dfb4e8faf4b5095fdf7

commit 425f68e6ce6f7a89ee8d2dfb4e8faf4b5095fdf7
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2021-01-11 20:36:54 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2021-01-11 20:36:54 +0000

    Follow-up on 51da4b19be1. When booting a system with WITHOUT_IPFILTER
    the following warning printed at boot time:
    
      rcorder: requirement `ipfs' in file `/etc/rc.d/netif' has no providers.
    
    Close that using BEFORE rather than REQUIRE for writing down
    dependencies of optional components.
---
 libexec/rc/rc.d/ipfs  | 1 +
 libexec/rc/rc.d/netif | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/libexec/rc/rc.d/ipfs b/libexec/rc/rc.d/ipfs
index 0cb968f0e4a5..448b8ce8a222 100755
--- a/libexec/rc/rc.d/ipfs
+++ b/libexec/rc/rc.d/ipfs
@@ -5,6 +5,7 @@
 
 # PROVIDE: ipfs
 # REQUIRE: ipnat
+# BEFORE: netif
 # KEYWORD: nojail shutdown
 
 . /etc/rc.subr
diff --git a/libexec/rc/rc.d/netif b/libexec/rc/rc.d/netif
index eb1efc4d6274..3dbb3e1a9588 100755
--- a/libexec/rc/rc.d/netif
+++ b/libexec/rc/rc.d/netif
@@ -27,7 +27,7 @@
 
 # PROVIDE: netif
 # REQUIRE: FILESYSTEMS iovctl serial sppp sysctl
-# REQUIRE: hostid ipfs
+# REQUIRE: hostid
 # KEYWORD: nojailvnet
 
 . /etc/rc.subr



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