[Bug 258185] net/dhcpcd: Switch keyword from nojail to nojailvnet in rc script.

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 31 Aug 2021 18:08:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258185

            Bug ID: 258185
           Summary: net/dhcpcd: Switch keyword from nojail to nojailvnet
                    in rc script.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: lucas@ltoole.com
                CC: driesm.michiels@gmail.com
             Flags: maintainer-feedback?(driesm.michiels@gmail.com)
                CC: driesm.michiels@gmail.com

Created attachment 227573
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227573&action=edit
Diff for nojail -> nojailvnet

By default dhcpcd has the nojail keyword enabled in the rc script. It was added
back in 2007[0] and I assume it is just a remnant of the pre-vnet days. I've
been using dhcpcd exclusively in my vnet jails by manually changing the keyword
to nojailvnet (Only allow vnet-enabled jails) and have experienced no problems
over the past couple weeks.

I'm adding a diff to make this the default keyword, and would love to hear any
concerns anyone might have.

[0]https://cgit.freebsd.org/ports/commit/?id=c7e6df59748cd15ebea3c4e83e7f3bcdda529879

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