]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When booting a system with WITHOUT_IPFILTER the following errors
authorcy <cy@FreeBSD.org>
Tue, 11 Aug 2020 23:36:38 +0000 (23:36 +0000)
committercy <cy@FreeBSD.org>
Tue, 11 Aug 2020 23:36:38 +0000 (23:36 +0000)
commitbd19a679a5d69e92b1f802c2580b6c38d8422896
tree139ef574712bfbfbb7a16b0b91257ec263e72dc5
parent682602df2767e5214efe089d7617860b0d09ae2c
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