From nobody Sat Mar 4 11:43:50 2023 X-Original-To: dev-commits-ports-main@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 4PTNK24rwQz3vwFG; Sat, 4 Mar 2023 11:43:50 +0000 (UTC) (envelope-from git@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 4PTNK24LnSz4F88; Sat, 4 Mar 2023 11:43:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677930230; 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=z/O8nZ9/4x9ywhKh603VnGWliapATjFaui1CGkF6I+w=; b=Z1y0dyKR3hM1+HHQQGVLO1dKuQRQxyaSTTFvDRhNLNaJ5OLL80Qt8lD+QQGZsMgyFfa1/C 8fr43mnn5oCsVk+k4D3/dolq0NwXlYPb/NNakupbw+DN1QhFlR2CVMo9tNI1IYgr04ufFp eIhv+TMFFiPEbLMf0aAQvFhoPPDlreGzkch5QEqa4ZgRsfMYF8dum47wB6wv0w9woRqstl qSIqqv+a8VcKDTD876zYF2up/pvwC1uWiIPRpWnBcNnf6ptVTNmvbVKFCLo/agS26R6uE0 w9WNkF+DMnOlw+mjG5M5TOFzooz79bAIiBqEjASszHYNfm/bFvs3gh7NycosLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677930230; 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=z/O8nZ9/4x9ywhKh603VnGWliapATjFaui1CGkF6I+w=; b=ML5O7umyw1AMLY3bBPC5+ch67n8VCACtlBf2nLRAUEnrkRjDvOome/Hrn1Q3zbYT7Gdl2b 8j/sr0Vk2KgiWLQo2TJSDRX9FDJHL9oW2Ez1lyPFeA35DFYOxdOkMUAWRJQRytmNKnLaFy hs2DvOtFU0sctTtYedNhLJu/OVz1SzbkyKIXnX9VJoNC9vDU+2H8OZmOvQY3RF6G5NRoPh lO1+947SRti07N3hipr54YazGSNXU2jXS2sddm82IfSYbsy/Wsa+eGeYKuenm3sOMRBmBf qdQBCNER8VkM0w8gp1eX7+OnYBwOpt3l16YN4O/O0MgRzi9ZOAjxUmfl87kmVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677930230; a=rsa-sha256; cv=none; b=WtWoaaLcLaqyuIn9ajyGX1iKOFXiPS0oZ2pNC4piGpl5amQUN+kk6X4zGa8vklc37kMLFb v51WnO0j2b5qq7W7UCuiq0Zx8/nyTG99nqRnr3geoZ0q5CEY9D3zEBjYUsvFcAsSipg/Fe JKp2tj+CGzYMtZ09GjjTNBThB88Yhiv9efcOKGJVOXpLvkfC16KaXZhhhBNWvmJzVWDqNo nPhDr2U3/SHjLusy8DIkh//zlF0oiXB1LaD8zO1ecfZlQAmL3quX8yepN014osJfrtxtcD aRLG6I8sgiovQ+8DVWgLSTyRt0kzKHzpmY/ztfsFDMukV4PqARaT/kVGmtQFxA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4PTNK23QrdzfBk; Sat, 4 Mar 2023 11:43:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 324Bhoku024151; Sat, 4 Mar 2023 11:43:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 324Bhob9024150; Sat, 4 Mar 2023 11:43:50 GMT (envelope-from git) Date: Sat, 4 Mar 2023 11:43:50 GMT Message-Id: <202303041143.324Bhob9024150@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: ab7a262fec86 - main - ports-mgmt/rc-subr-jail: Fix jail_mount_devfs check during jail destruction List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ab7a262fec8673d29b4af08dbd7a5b2c8b3653eb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=ab7a262fec8673d29b4af08dbd7a5b2c8b3653eb commit ab7a262fec8673d29b4af08dbd7a5b2c8b3653eb Author: Alexey Yushkin <636808@mail.ru> AuthorDate: 2023-03-03 10:59:38 +0000 Commit: Gleb Popov CommitDate: 2023-03-04 11:43:09 +0000 ports-mgmt/rc-subr-jail: Fix jail_mount_devfs check during jail destruction Co-authored-by: Alexey Donskov --- ports-mgmt/rc-subr-jail/Makefile | 2 +- ports-mgmt/rc-subr-jail/files/rc.subr.jail | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ports-mgmt/rc-subr-jail/Makefile b/ports-mgmt/rc-subr-jail/Makefile index 8569189f5651..e380cc8a5302 100644 --- a/ports-mgmt/rc-subr-jail/Makefile +++ b/ports-mgmt/rc-subr-jail/Makefile @@ -1,5 +1,5 @@ PORTNAME= rc-subr-jail -PORTVERSION= 2 +PORTVERSION= 3 CATEGORIES= ports-mgmt MASTER_SITES= # DISTFILES= # diff --git a/ports-mgmt/rc-subr-jail/files/rc.subr.jail b/ports-mgmt/rc-subr-jail/files/rc.subr.jail index f91fe7ddf8fa..7d16c34bf9ee 100644 --- a/ports-mgmt/rc-subr-jail/files/rc.subr.jail +++ b/ports-mgmt/rc-subr-jail/files/rc.subr.jail @@ -111,7 +111,7 @@ destroy_jail() local jroot jroot="$1" - if [ "$jail_mount_devfs" ]; then + if [ "$jail_mount_devfs" = "yes" ]; then rmdir "$jroot/dev" fi