]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r364133:
authorCy Schubert <cy@FreeBSD.org>
Tue, 18 Aug 2020 20:41:03 +0000 (20:41 +0000)
committerCy Schubert <cy@FreeBSD.org>
Tue, 18 Aug 2020 20:41:03 +0000 (20:41 +0000)
commitd2f784e8338b8be74ec73569c579994444b464a0
treee9f831fce30f44157c5dffd2173be28c91143750
parent9736ead7706e4d52a168a776702ec20364e7a602
MFC r364133:

When booting a system with WITHOUT_IPFILTER the following errors
are encountered at boot time:

rcorder: requirement `ipfs' in file `/etc/rc.d/netif' has no providers.
rcorder: requirement `ipfilter' in file `/etc/rc.d/netif' has no
providers.
rcorder: requirement `ipfilter' in file `/etc/rc.d/netwait' has no
providers.
rcorder: requirement `ipfilter' in file `/etc/rc.d/net_watchdog' has no
providers.
rcorder: requirement `ipfilter' in file `/etc/rc.d/securelevel' has no
providers.

Listing its own requrements in BEFORE rather than use REQUIRE of
non-optional scripts resolves this issue.

The issue was discovered and patched by glebius at Netflix.

Submitted by: glebius
Reported by: glebius
libexec/rc/rc.d/ipfilter
libexec/rc/rc.d/ipmon
libexec/rc/rc.d/ipnat
libexec/rc/rc.d/netif
libexec/rc/rc.d/netwait
libexec/rc/rc.d/securelevel