From nobody Mon Dec 16 12:42:30 2024 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 4YBfjL6KTwz5hNm8 for ; Mon, 16 Dec 2024 12:42:30 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBfjL1hX9z476X for ; Mon, 16 Dec 2024 12:42:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734352950; 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: in-reply-to:in-reply-to:references:references; bh=09tlAfv+lakUJANhFbJQCfzsH8kCutmtqFSG4kRxdt4=; b=JSPcR4rYkxZzjuugsPQFJvb2i2CNkJVr7FXzLj8o82Thgq27ycyqSqEraYjkSi0+3FfYs0 Z/Vws9fACAkGmA5pI7WWW4RPP9g2SIYO4pguviaz3G3+O7MWuSvGIVCPROTYiCjlVLtTGw jrRkTk+Dcbk1ZGkJICJxOPWOCQXVOGxPG7uB209o7DL75XfBBELv+GMLdqqgMfhHUklynh bqAS6qQ823AeICSuovJ5MZ9wvEn/rIJFJAQBQ06qRDktRIB02F72esZmrX9mwp+d1yuGXa lizeztj81ljV1Z4Uy+NQWi9H8/qHLcNyqz/vnEkgJOh5ik6KVCCC6rk8AGXBEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734352950; a=rsa-sha256; cv=none; b=DVpnyI+peoTOHxIhYXYPRF3Tnebeyv/fhhhMT6Hayah2JaLhLAy7sgMG1NjHunr/p0WbW6 QEqzI2usi3iuD22/yBpNYCMG4yRr+tq+b/eFQxM/BDTH7ZDufFPoz3NadWGJwrgzhdCWPM 0odkj4SctIqkmE0W7l+hcYSWyK6/z8SwD3cKtlJNsOoSb1h7LApr+txWqmSKk+xfBnQ6QL p8NwKjyusrozZZiOtrd+VWhgDjZF3Eb6ku0kEv+6UBtj064FZkXPAv3fV6i0OOL7pqD3AW 7j6dgpLMaAmLBebcEO0gXjcVXMzs5SGmSUR/BwhfISN9zsUDK6mP4uadDEghBA== 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 4YBfjL1GJMztWR for ; Mon, 16 Dec 2024 12:42:30 +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 4BGCgUfU048654 for ; Mon, 16 Dec 2024 12:42:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BGCgUOh048653 for bugs@FreeBSD.org; Mon, 16 Dec 2024 12:42:30 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 283170] jexec(8): add -w parameter to change the working directory inside the jail Date: Mon, 16 Dec 2024 12:42:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crest@rlwinm.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283170 --- Comment #2 from crest@rlwinm.de --- This feature is especially useful if you don't want to go through a shell because it saves the complexity and overhead of something as like `jexec -- "$jail" "sh -c 'cd \"$1\" && shift && exec \"$@\"' "$dir" "$@"`. Btw the lang/execline port contains an cd executable that supports chainloading e.g. `execline-cd "$dir" "$@"`. Which at least avoids half of the annoyance at t= he cost of installing a package. --=20 You are receiving this mail because: You are the assignee for the bug.=