From 1459a8eb247bcb10c4ee05d7b1ee1c2cb8a4b277 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Wed, 8 Jan 2020 23:34:50 +0000 Subject: [PATCH] Run netoptions startup script in vnet jails. People use rc.conf inside vnet jails to configure networking setups. Presumably because some sysctl were not virtualised up until r356527 the script was not run for vnet jails leaving the rc.conf options without effect for non-obvious reasons. Run the netoptions startup script also for VNET jails now to make the rc.conf options work. PR: 243193 MFC after: 2 weeks --- libexec/rc/rc.d/netoptions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rc/rc.d/netoptions b/libexec/rc/rc.d/netoptions index fda0229b7fe..0dd92751501 100755 --- a/libexec/rc/rc.d/netoptions +++ b/libexec/rc/rc.d/netoptions @@ -6,7 +6,7 @@ # PROVIDE: netoptions # REQUIRE: FILESYSTEMS # BEFORE: netif -# KEYWORD: nojail +# KEYWORD: nojailvnet . /etc/rc.subr . /etc/network.subr