From nobody Mon Jul 20 13:11:20 2026 X-Original-To: ports-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 4h3grS5gB3z6lx0N for ; Mon, 20 Jul 2026 13:11:20 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4h3grS5CXdz3fyt for ; Mon, 20 Jul 2026 13:11:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784553080; 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=sa31UmK1c/2WfyqCaxIBHfgegH1TggOiWrQQoFpDss4=; b=op4UE6Zex8Im66J+fBeftdRlx62l8rac20c6VuzW6M490FPSKX9GsPTsKnq6yCDM0ZiAer RYiUtjtrKczP5FnEGDqTnhVBeEe5Hc4HxdVbPPi7Mt8NVIq8Mb6Ug4yDl7Mt2263h7iG/d 7HKi2Q7Iy8eZIaUAEI/prYSDgUSU9WJo6kvZmPPi67XM5OAl536Dut3ZoIYjCwwGAz/Xmm Y65FicivxgWF7UMB/TG9vmZ7WHrTrJ1GD1zIM6FR1l5QxrrE5Esdnxi8tSCnctJkMfGU4q xN12pa0yjAHnytiVPbxHOsV82Oj4x7NGF/xQ1Mbn0U2UDvDO+g4lJbHYH3K07A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1784553080; a=rsa-sha256; cv=none; b=sUrdi2+Bjgvui/DEjNUfeNvHj55wlfZ+ZGK+IbTZ8zb7CgR8z5enYCj/xT5ctrKoBZ9fs7 rg3JlZhs3MfAqLyDH0Tq4hMXY9no5n9Ya/Unvys4XnZTtIExVjQOI8RfxdA3oL2TJ2JzuA Y6/ba9hYmMJmTf6suRmRyGJ+hhfabHryylmkjFJRE8IfCuuWzN5Qqd9vgRUTrz7K/Mg4KJ MVldZMSBAWRu0oK42Uw3UHDDoLoT1aHAjqON+R8GqROCTJ7EMxB1LtZPriENLP707mTCDi bvM2OZpYfHhoto6Nek0Z+xX+Od+DzubCj4TxEyoyu06LyUTc10VuQO2xpzkgjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784553080; 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=sa31UmK1c/2WfyqCaxIBHfgegH1TggOiWrQQoFpDss4=; b=XtdoUt4NpS0qvhUKXE1AL8WVcL8HOjHXKjUL2T7Llj9jRh6j7yZNETuflgcPs8qCzdXUxR r2j8wRM3YxQejdFX3w27N7fY6wp3trySJ6fvuwljo8SnEoNbvMEJDF4N2ArHh/s41coxjH l/4DzdsZfmsQRoxttnzyhIuCpirsqrWD5b0eGgzxG4lcsMy1H3pijk3BX4b0AVKk+JsRN0 M52hrZUGBFF6I8QkbqoclvCMyQ6CM+Oe02/n6TnTT+PQjtL7BkvsGC89pUF82lGecQ0vZ8 LmA7EALx9QBH0DPwYLnA67YaLsxfgPGfiG7jKIjolsKh8AT3DhNDfLt+XKWlsQ== 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 4h3grS40zJz13Xb for ; Mon, 20 Jul 2026 13:11:20 +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 66KDBKMj017512 for ; Mon, 20 Jul 2026 13:11:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 66KDBK86017511 for ports-bugs@FreeBSD.org; Mon, 20 Jul 2026 13:11:20 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: ports-bugs@FreeBSD.org Subject: [Bug 296641] sysutils/pefs-kmod script files are sort-of zeroed when execed Date: Mon, 20 Jul 2026 13:11:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: darius@dons.net.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D296641 --- Comment #5 from Daniel O'Connor --- This is quite odd, it looks like the act of trying to execute it zeroes it out?! Very odd. I can reproduce it with no need for rebooting: [radxa 13:07] ~ >cat /crypt/test.tcl #!/usr/local/bin/tclsh8.6 puts "test123" [radxa 13:07] ~ >chmod 755 /crypt/test.tcl [radxa 13:07] ~ >pefs umount /crypt [radxa 13:07] ~ >pefs mount /crypt /crypt ; pefs addkey -c /crypt Enter passphrase: [radxa 13:07] ~ >/crypt/test.tcl zsh: exec format error: /crypt/test.tcl [radxa 13:07] ~ >hexdump -Cv /crypt/test.tcl 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |..............= ..| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |..............= ..| 00000020 00 00 00 00 00 00 00 00 00 00 00 |...........| 0000002b [radxa 13:07] ~ >pefs umount /crypt [radxa 13:09] ~ >pefs mount /crypt /crypt ; pefs addkey -c /crypt Enter passphrase: [radxa 13:09] ~ >hexdump -Cv /crypt/test.tcl 00000000 23 21 2f 75 73 72 2f 6c 6f 63 61 6c 2f 62 69 6e |#!/usr/local/b= in| 00000010 2f 74 63 6c 73 68 38 2e 36 0a 0a 70 75 74 73 20 |/tclsh8.6..put= s | 00000020 22 74 65 73 74 31 32 33 22 0a 0a |"test123"..| 0000002b [radxa 13:09] ~ >/crypt/test.tcl zsh: exec format error: /crypt/test.tcl [radxa 13:09] ~ >hexdump -Cv /crypt/test.tcl 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |..............= ..| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |..............= ..| 00000020 00 00 00 00 00 00 00 00 00 00 00 |...........| 0000002b --=20 You are receiving this mail because: You are the assignee for the bug.=