From nobody Fri Sep 27 13:52:43 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 4XFX3K3Wcyz5Y2J1 for ; Fri, 27 Sep 2024 13:52:45 +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 4XFX3H23WFz528Z for ; Fri, 27 Sep 2024 13:52:43 +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=1727445163; 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=asl2p5Ja3EvWoh33/Q22m/CfgcDKwxpsdrmZGTTl3Ic=; b=MYvYq1ih2Dw6d4FScyKTz6aKYg+qu1+bZKhYClVC0j845AwBzvX7npORvKdVp87UyAleOA nG8MJXdgdVni95ERUG+RW2FT7e9OTErPiT3BNOMNDSVXUmNdkGbuOZmmgfLjh3z26+nSmC 9KeF/d0rarA4GKai9NtrHo+1OEu63845omkNuiPOAYortLupzDI91gmloBU692iXswuwOy d2LnXMYEs6O3GOJDbZivLb8g0yCsx2rSUz4IgWXAAYfl4qDF1/FTHp1clu0Wk+aPzYz5m2 xIWuCRIQ0LJSkLz+MmGtLtnkpkRd6wd5yxQ5pYkj7MPUDQ038o4t3XdtE/58yg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727445163; a=rsa-sha256; cv=none; b=BTwk0oVtb2XO1kVqu0dQ0C7M46hHzHtQyXEKGgFgc6w3npKU4Gfi+SSSTjFRvNsk5qAFWh kwJg697lnPhdA0/yU7q9gBZOBnPe9u1uYVHFHKmmoEOhLQgzfIjeOOqLzxwPlSH/Fk4H1x EKSi2K3K70f2ZhHwwGOI3AWMsaJQHUbjfZIwxWGTNh8PSa6IQ/yrrcRWmjhG8E5S5t6xBB 2yYZfCgVmfIifygPF79BrtbJmJ5C0btG12cq3oJVGd1FoVgXQXu6sgBL33rjPFoJjhqjtL rETk9OO25pp9NXZRrUoi8chg9kw7Il+ZA2Fdl6ja9vEzqAQkGx2HB6yxdFzYIQ== 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 4XFX3H1fzbzjtD for ; Fri, 27 Sep 2024 13:52:43 +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 48RDqhhX088120 for ; Fri, 27 Sep 2024 13:52:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48RDqhI5088119 for bugs@FreeBSD.org; Fri, 27 Sep 2024 13:52:43 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 281740] [stand/cd9660] Paths including "." or ".." are not resolved Date: Fri, 27 Sep 2024 13:52:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: loader X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: luc.techer64@gmail.com 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=3D281740 --- Comment #1 from Luc Techer --- As a workaround I tried generating a manifest in each directory so as to av= oid the parent directory resolution, but the now the device ID from the manifest and the file which is being verified do not match. I can't help to notice t= hat whilst loader.lua and manifest do not share the same device ID, they have t= he same inode number ! As I am not too familiar with how the cd9660 filesystem works, is any of this to be expected ? Here are the new boot logs: ``` verify_prep: caller=3Dfopen,fd=3D1,name=3D'/boot/lua/loader.lua',off=3D0,dev=3D107351747= 2,ino=3D1040206231 is_verified: dev=3D1073517472,ino=3D1040206231,status=3D-42 looking for /boot/lua/manifest is_verified: dev=3D1073517184,ino=3D1040206231,status=3D-42 verify_signed: /boot/lua/manifest.rsig verify_sig: /boot/lua/manifest.rsig verify_signer: 1 certs in chain verify_signer: 1 trust anchors Verified /boot/lua/manifest signed by TEST inserted 9 /boot/lua at head add_verify_status: dev=3D1073517184,ino=3D1040206231,status=3D1 loaded: /boot/lua/manifest (null) (null) looking for /boot/lua 9 loader.lua at 9 /boot/lua skipping dev=3D1073517184 !=3D -1 looking for /boot 5 lua/loader.lua at 9 /boot/lua Ignoring prefix=3D/boot/lua looking for / 1 boot/lua/loader.lua at 9 /boot/lua Ignoring prefix=3D/boot/lua Unverified /boot/lua/loader.lua: no entry add_verify_status: dev=3D1073517472,ino=3D1040206231,status=3D-2 ERROR: cannot open /boot/lua/loader.lua: no error. ``` --=20 You are receiving this mail because: You are the assignee for the bug.=