]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When booting a system with WITHOUT_IPFILTER the following errors
authorCy Schubert <cy@FreeBSD.org>
Tue, 11 Aug 2020 23:36:38 +0000 (23:36 +0000)
committerCy Schubert <cy@FreeBSD.org>
Tue, 11 Aug 2020 23:36:38 +0000 (23:36 +0000)
commit51da4b19be15e6c1862e40565d7a3b310c566679
tree139ef574712bfbfbb7a16b0b91257ec263e72dc5
parentaf593945362018207d01cd91668a2f4f5fe6712d
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
MFC after: 1 week
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