[Bug 263359] hostapd rc script specifies 'nojail', but it works fine in a jail
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 263359] hostapd rc script specifies 'nojail', but it works fine in a jail"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 263359] hostapd rc script specifies 'nojail', but it works fine in a jail"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Apr 2022 04:35:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263359 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=233264&action=edit 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. -- You are receiving this mail because: You are the assignee for the bug.