From nobody Mon Oct 21 06:46:22 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 4XX5SH1Vtpz5YZ7h for ; Mon, 21 Oct 2024 06:46:23 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XX5SG6yVCz4S6h for ; Mon, 21 Oct 2024 06:46:22 +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=1729493183; 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=t/jokIwLRnFNXbwKTwx+kHwrLReC2inw7x2FTTsen28=; b=B8QJCbnAXUgYqTYQ+GhydElNUKrjcYwZ9MFSMYdMh1VY7s+wT+ja/2EHdFKFzVB3U26OGJ tKs8G8Z27TzBVuQJQLF1T7tTwSjhQucS+e8jeRL3zaTNfGMS1yBAETfSTqwgiJq6fHZF8s s1OmKjkCb5G/DWBd7pD2f1WOIA+yKEik/vtznYJcywsXa+HP/NfYqkU+elKZ4ScDoXFERW q4tG6jcVDAODKS7dGJ70vRcuogaycLqRtE5q92EO/+IABeT+QdLw+vH6xq6cUvunT4dvhU tVQEy5Hnhgz6rRvOH1jctdDyAkQPVRXlbbtwSYF2GxP3uo0J5HqutU06ha8vVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729493183; a=rsa-sha256; cv=none; b=egF8yzzES/mHpLQ99fJJiVBujPrwarr3oa9Y16S3/WBSqVawdZo7jtEeUu3b2zhe0C73l9 ob1KGMd7VdmOftN3jxJ2Yl1zUPEXGk4H1surqrFhlD+dCatJFJricZCvnXgNYZYtAjwYHB 3ObLFpEuXNWHWJHfUS9NdMEJXhWY/yp2w904GLRalos2lkvA4svVsGSo1rGEbXC8eDyFMc Zj0nta3oBE3er26Xm+HFKdJXFTDGgaXVZeEbq6fyhbjIpukMfCv3UA3RwAnnKlYJNOhW48 +xhlqeIuGoprtRNqRm6lOrZRuHlA3oQk4rJvVUrvtZPUQPtQmJmXLJTWWUbAHQ== 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 4XX5SG6MLdzKby for ; Mon, 21 Oct 2024 06:46:22 +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 49L6kMKv093876 for ; Mon, 21 Oct 2024 06:46:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49L6kMh7093875 for bugs@FreeBSD.org; Mon, 21 Oct 2024 06:46:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 276174] mkuzip creates images with an invalid startup script Date: Mon, 21 Oct 2024 06:46:22 +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: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open 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=3D276174 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D525a177c165740fc697df3de5b92e58b3= b41477c commit 525a177c165740fc697df3de5b92e58b3b41477c Author: Robert Wing AuthorDate: 2024-10-21 06:43:41 +0000 Commit: Robert Wing CommitDate: 2024-10-21 06:45:09 +0000 mkuzip: drop support for executable uzip images A uzip image has a 128-byte header, historically, this header could be executed as a shell script to mount the uzip image to a user provided mountpoint. The embedded shell commands only work for uzip images that were created with zlib or zstd compression that contained an ISO-9660 file system. Given the limited space available in the uzip header, it is not practical to extend this feature to include other file systems or to provide sensible error handling and error messages to the user. For these reasons, abandon the embedded shell script in the uzip image header. To maintain backwards compatibility, the shebang and shell must reside in the 128-byte header. This change of behavior is documented in mkuzip(8) and an example has been provided for creating/mounting uzip images. PR: 276174 usr.bin/mkuzip/mkuz_lzma.h | 12 +++--------- usr.bin/mkuzip/mkuz_zlib.h | 4 +--- usr.bin/mkuzip/mkuz_zstd.h | 4 +--- usr.bin/mkuzip/mkuzip.8 | 45 ++++++++++++++++++++++++++++--------------= --- usr.bin/mkuzip/mkuzip.c | 2 +- 5 files changed, 34 insertions(+), 33 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=