git: 425f68e6ce6f - main - Follow-up on 51da4b19be1. When booting a system with WITHOUT_IPFILTER the following warning printed at boot time:

Gleb Smirnoff glebius at FreeBSD.org
Mon Jan 11 20:39:10 UTC 2021


The branch main has been updated by glebius:

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

commit 425f68e6ce6f7a89ee8d2dfb4e8faf4b5095fdf7
Author:     Gleb Smirnoff <glebius at FreeBSD.org>
AuthorDate: 2021-01-11 20:36:54 +0000
Commit:     Gleb Smirnoff <glebius at 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


More information about the dev-commits-src-all mailing list