[Bug 243193] ipv6_cpe_wanif not honored by /etc/rc.d/netoptions when run in VNET jail

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 8 17:05:09 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243193

            Bug ID: 243193
           Summary: ipv6_cpe_wanif not honored by /etc/rc.d/netoptions
                    when run in VNET jail
           Product: Base System
           Version: 11.3-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: bugs at FreeBSD.org
          Reporter: mops at punkt.de

This config variable was introduced to allow a host that is configured as an
IPv6 gateway to receive uplink address and default GW via SLAAC nonetheless.
Works as designed except when run in a jail.
Common scenario here is an OpenVPN gateway in a jail with VNET.

Cause:

# KEYWORD: nojail

in /etc/rc.d/netoptions

Proposed fix:


--- netoptions.orig     2020-01-08 18:03:02.870698092 +0100
+++ netoptions  2020-01-08 17:49:38.039483490 +0100
@@ -6,7 +6,7 @@
 # PROVIDE: netoptions
 # REQUIRE: FILESYSTEMS
 # BEFORE: netif
-# KEYWORD: nojail
+# KEYWORD: nojailvnet

 . /etc/rc.subr
 . /etc/network.subr


Kind regards,
Patrick

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list