From nobody Sun Mar 30 17:35:48 2025 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 4ZQhHn0LjHz5rnJy for ; Sun, 30 Mar 2025 17:35:49 +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 4ZQhHm5lK3z3GyX for ; Sun, 30 Mar 2025 17:35:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743356148; 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=YCy2bbi/MHU4iOr4F3mgs0nGGXISJxWe4c3kgFRsuVk=; b=GGcqu4bvzJPXkxCQmJWhEjzZYm5DYuQ7c3hBxS02VRDK4bSLvIu45sJ5dAdOU37ZGWmoCO fzjTNGSbTbBlG5/gh9Aw9yfQ9WWQa4O2nPrrGfwS5epx/GhPtBpO0ZCohq8/wKzrJEGzX7 wFY356ktMO/lNVgaBAFfjxIB5ztTZkdr/jwZZ7ruZQ2hdmREka+p786xqGSxE6XiMChp0a xG8WsZPEZcy004N79zOWwRWYfja3ZLhXO+3pQDLRj7NS0tegUF/M2+8J1SAhYg2Yh/dFXN bl5hMkNy0hA9RtBRkG718Vj8aYlDVK4k25G1Mm7C1CKST3jGIHd+c17vVVWrKw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743356148; a=rsa-sha256; cv=none; b=fNk4JEjhq2Nc7uFonHfMAA8QyjEaLYTujs9ozfe5ZiihsOCqvYDfSONMzhr/fga/c93lsa lJCTQVYhbMv6y+tLblCBWhvugUMGGAU1qG9XUSROc9hKIcSMpuaJ9Iz1yMMANIDwr81e6l hhLycy+hIcNneL+ka0fRrZ5N+clL87qyh9L2l+h9Pah266V1SW8Pi0IQ8c6+HdoqJQ4hrj AJd6oj6QZEdnTJeEf0oS7gwrXJ4GMmY/KT9FUnUuWjmpc1fdiQ1TL4pqe60UKLPoNiwKuo NGv9Ied192Qk9wA6715sr1M22CgJYuvZsm5DmD4X0tXE5tAyP556UgamKLlrOw== 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=1743356148; 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=YCy2bbi/MHU4iOr4F3mgs0nGGXISJxWe4c3kgFRsuVk=; b=qAHNTMMAOBx1QtfHAEHyoJm5OUSNcPF9DrQVCueNk5oV0dmHRHagusT9HGSoOr+xf3iC8Z V9zRbjlGe2kpLVoKsy7oV0tq3kycNJWCfFqqjjrtNucoJnUWOJYIUQDeJkXTWfo8PxpMfv uuOf1c7wWvSAR6m97aa9h3Od6+P9w2QEEncY+heWEXs0AQ7bClLzKbGvvNRVLAGdKmxW7m RCwqU9IEjTBo+7UI/WCXNCvUnqkxGeMN49KqJpU2/Ddrd38TIfgd6IizPWHzhhcY2Z4Yt6 NrcZhs1lRyKvlvlO8Byx2fg+/o9ORp4yNQYPXQGCV9zqgUEA0spoOurg9tIb3A== 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 4ZQhHm5LCSz1Nft for ; Sun, 30 Mar 2025 17:35:48 +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 52UHZmLi099901 for ; Sun, 30 Mar 2025 17:35:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 52UHZmgo099900 for bugs@FreeBSD.org; Sun, 30 Mar 2025 17:35:48 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 285783] bsdtar returns non-zero when extracting archive containing entry with creation time near the epoch Date: Sun, 30 Mar 2025 17:35:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: janm@transactionware.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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: 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=3D285783 Bug ID: 285783 Summary: bsdtar returns non-zero when extracting archive containing entry with creation time near the epoch Product: Base System Version: 14.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: janm@transactionware.com After creating an archive with the command: $ sudo bsdtar -c -f ../test.tar --one-file-system --format pax --exclude '\./tmp/\*' . When the source directory, contains a 'dev' entry, with a mounted devfs, the following error is given when attempting to read the archive: $ bsdtar tf test.tar > /dev/null=20=20 bsdtar: (null) bsdtar: Error exit delayed from previous errors. Creating the archive with the same command, but no mounted devfs, works correctly. After some simple investigation, I see this attribute added for the ./dev/ entry with devfs mounted: LIBARCHIVE.creationtime=3D-1.27 Archives created with and without the devfs filesystem mounted have valid c= time attributes. This is a jail image, created and archived using a build system with a long history. This issue was not present in 13.3 and many earlier versions. The source file system is on ZFS, on a new 14.2-RELEASE system. --=20 You are receiving this mail because: You are the assignee for the bug.=