From nobody Sun Apr 17 04:35:05 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D199C11D5E33 for ; Sun, 17 Apr 2022 04:35:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kgy0T4bM6z3NpM for ; Sun, 17 Apr 2022 04:35:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7A10117BEC for ; Sun, 17 Apr 2022 04:35:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23H4Z5FC083226 for ; Sun, 17 Apr 2022 04:35:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23H4Z5pB083225 for bugs@FreeBSD.org; Sun, 17 Apr 2022 04:35:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263359] hostapd rc script specifies 'nojail', but it works fine in a jail Date: Sun, 17 Apr 2022 04:35:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@kumba.dev X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650170105; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yIcfwTlpOWmSfiCgVuyZVytVKBZvY0aEdiAM4V4rHB4=; b=T+OemqBFg66ygnfNnnYOpBCGhhHMORD97ZZMAKKTgA+edlUEFyAiIEUX//9VmE9rwljbAp qPG41aW14XTPPcVF9VSx6PcsMCGWSVBn7k0mb4DagpCcPNEQcK+8MZQkLNMJRp8MEuAQoX n+BE9eCx3fPlkosqvkngxhEChr4h2pyH9Azs7zABvgkyT/dL8zni/KwzWwftW2E5fnJJqk +tcvKdIlC3ZIiOZlR0dX72LyLFnXxJjvxBaLqkMVJ2xqKF47TtklFw1kKIzZkBzT0T0zjk yK1ZTgCJNvZUyLUMSg0pBg9R6JHyXX6f/GDCa9uvXjRnRlNOeXChLddJqp2FBw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650170105; a=rsa-sha256; cv=none; b=WshI/1qqJTkmjztyNW33pj7NZSQg5t0ESnxwJ482qSv7tUtcK9ixRK6fFrB76sMVQHQSDh e10rSSQLMOitdUTF69neVD+DRwPJuqyZ755DdpHs1oR+pHJWOKlnFBUr91S3Qe91csdXIQ rImGpaJ8sCOHfzpMjO8T/AUYxWwIAMhrmkzDxbyjgFUNYdrd7r4gUIOnMJEad38iL7+ttK qOOJwgIquDjhnSeTVn/zi84oXH/qB8Q31NbTUM7TNKkYEw7Dzf0P+/yOXc/cJdzxFEVw2M lya1qzvpxDbYFrgWa4i3cCFAtyC2h8GQkGFM3DCmko+avgSTgMNVe+bxHni1uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=