Date: Mon, 24 Mar 2025 15:48:41 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 285630] makefs: cd9660 RockRidge extensions ignore timestamp provided by -T Message-ID: <bug-285630-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285630 Bug ID: 285630 Summary: makefs: cd9660 RockRidge extensions ignore timestamp provided by -T Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: bnovkov@FreeBSD.org The cd9660 RockRidge extensions specify a TX record that stores the timestamp from the underlying inode. However, makefs' implementation of the TF record ignores a timestamp passed using the -T flag, making the resulting ISO image nonreproducible. This issue can be observed in the top-level directories by running 'diffoscope' on two 'bootonly.iso' images that have been built back-to-back with a fixed timestamp ('-T 1742574909'): | drwx------ 18 0 0 4096 2025-03-21 16:35:09.000000 . │ -drwxr-xr-x 2 0 0 6144 2025-03-24 14:48:55.000000 bin │ --r-xr-xr-x 6 0 0 - 2025-03-24 14:48:55.000000 bin/cat │ --r-xr-xr-x 6 0 0 - 2025-03-24 14:48:55.000000 bin/chflags --snip-- | +drwxr-xr-x 2 0 0 6144 2025-03-24 14:57:38.000000 bin │ +-r-xr-xr-x 6 0 0 - 2025-03-24 14:57:38.000000 bin/cat │ +-r-xr-xr-x 6 0 0 - 2025-03-24 14:57:38.000000 bin/chflags The dot directory record has the appropriate timestamp set, but the rest of the directories do not. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285630-227>
