From owner-dev-commits-src-all@freebsd.org Mon Jan 11 20:39:10 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 11EE64E593D; Mon, 11 Jan 2021 20:39:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DF5Cd70q1z4q4D; Mon, 11 Jan 2021 20:39:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E357B20E60; Mon, 11 Jan 2021 20:39:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 10BKd9Za015750; Mon, 11 Jan 2021 20:39:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 10BKd9VT015749; Mon, 11 Jan 2021 20:39:09 GMT (envelope-from git) Date: Mon, 11 Jan 2021 20:39:09 GMT Message-Id: <202101112039.10BKd9VT015749@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: 425f68e6ce6f - main - Follow-up on 51da4b19be1. When booting a system with WITHOUT_IPFILTER the following warning printed at boot time: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 425f68e6ce6f7a89ee8d2dfb4e8faf4b5095fdf7 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 20:39:10 -0000 The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=425f68e6ce6f7a89ee8d2dfb4e8faf4b5095fdf7 commit 425f68e6ce6f7a89ee8d2dfb4e8faf4b5095fdf7 Author: Gleb Smirnoff AuthorDate: 2021-01-11 20:36:54 +0000 Commit: Gleb Smirnoff 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