Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2022 04:35:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 263359] hostapd rc script specifies 'nojail', but it works fine in a jail
Message-ID:  <bug-263359-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263359

            Bug ID: 263359
           Summary: hostapd rc script specifies 'nojail', but it works
                    fine in a jail
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: freebsd@kumba.dev

Created attachment 233264
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233264&action=
=3Dedit
Patch to remove 'nojail' from hostapd's rc script

With the addition of VNET to dummynet(4), I was able to move the router
functions of my FreeBSD-based router into a jail, passing the WAN, LAN, and
wifi interfaces to the jail.  I found out that hostapd is prohibited from
starting in a jail due to the 'nojail' keyword in its rc script for unknown
reasons.  But if you remove that, it works perfectly fine inside the jail.

I've attached a patch that removes the nojail keyword to address this.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263359-227>