[Bug 822578] New: sub-second timestamp resolution im repomd.xml may be problematic
https://bugzilla.novell.com/show_bug.cgi?id=822578 https://bugzilla.novell.com/show_bug.cgi?id=822578#c0 Summary: sub-second timestamp resolution im repomd.xml may be problematic Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: i686 OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Ulrich.Windl@rz.uni-regensburg.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0 Recently there are timestamps with sub-second resolution in repomd.xml. This can be problematic, as long as the common ext3 filesystem only supports integral seconds as timestamp resolution. Effectively, this makes a perfect mirror impossible. Here's an example from today's repomd.xml: <data type="updateinfo"> <location href="repodata/1c2513043bd6a0e22bfda890ac065458a855b49f3e465a371943a2a941d4d139-updateinfo.xml.gz"/> <checksum type="sha256">1c2513043bd6a0e22bfda890ac065458a855b49f3e465a371943a2a941d4d139</checksum> <timestamp>1369838032.72</timestamp> <open-checksum type="sha256">65e3ef0a5e4378ab157acd2a6926b6ffda0d9fa687ad5e90d23a62ca636cfbbc</open-checksum> </data> Reproducible: Always Steps to Reproduce: 1. Get http://download.opensuse.org/update/12.3/repodata/repomd.xml 2. grep timestamp.*\\. repomd.xml Actual Results: <timestamp>1369838032.72</timestamp> <timestamp>1369838033.13</timestamp> <timestamp>1369838043.66</timestamp> <timestamp>1369838043.86</timestamp> Expected Results: No matches I did not see this until recently. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=822578 https://bugzilla.novell.com/show_bug.cgi?id=822578#c1 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Final |2.5 CC| |meissner@suse.com Component|Other |backend AssignedTo|bnc-team-screening@forge.pr |mls@suse.com |ovo.novell.com | Product|openSUSE 12.3 |openSUSE Build Service QAContact|qa-bugs@suse.de |adrian@suse.com Target Milestone|--- |2.5 --- Comment #1 from Marcus Meissner <meissner@suse.com> 2013-05-31 08:49:42 UTC --- i think this is a perl weirdness. I doubt the YUM repo suppports .xx second naming... Micha? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=822578 https://bugzilla.novell.com/show_bug.cgi?id=822578#c2 --- Comment #2 from Michael Schröder <mls@suse.com> 2013-05-31 09:12:22 UTC --- A couple of days ago I've seen a patch to yum to ignore the .xx seconds. But yes, if it's just the updateinfo we should fix the generator. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=822578 https://bugzilla.novell.com/show_bug.cgi?id=822578#c3 --- Comment #3 from Michael Schröder <mls@suse.com> 2013-06-06 03:51:45 UTC --- Oh, it's not the updateinfo generator that's broken, but modifyrepo ;-( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=822578 https://bugzilla.novell.com/show_bug.cgi?id=822578#c4 --- Comment #4 from Michael Schröder <mls@suse.com> 2013-06-06 03:55:05 UTC --- (already fixed in upstream by Zdenek Pavlas) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=822578 https://bugzilla.novell.com/show_bug.cgi?id=822578#c5 --- Comment #5 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> 2013-06-06 07:05:13 CEST --- Note on comment #4: Today I still got fractional timestamps for openSUSE-12.3: SL-12.3-i386/repodata> grep timestamp.*\\. repomd.xml <timestamp>1370439833.94</timestamp> <timestamp>1370439834.36</timestamp> <timestamp>1370439955.51</timestamp> <timestamp>1370439955.75</timestamp> Affected files are: repodata/f013b7fe943389ef5f0000ca902c122ac12f3301d211c27bc4456dc00607b53a-updateinfo.xml.gz' repodata/ba71444bfdbd015cfb4354031598b0083943d4da81506ab5252bcc40e4b4d771-appdata.xml.gz repodata/61696711efc760a6c88420fa5997f289ac9f1c5745123b8d21d2077990b60b32-deltainfo.xml.gz repodata/32563a2660399134bc76f392681f7eec44b594644cb5373c4059d35b5fe53881-suseinfo.xml.gz -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=822578 https://bugzilla.novell.com/show_bug.cgi?id=822578#c6 --- Comment #6 from Michael Schröder <mls@suse.com> 2013-06-06 05:50:29 UTC --- That doesn't surprise me ;) I manually patched it two hours ago, it still needs to be patched in createrepo package. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=822578 https://bugzilla.novell.com/show_bug.cgi?id=822578#c7 Michael Schröder <mls@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #7 from Michael Schröder <mls@suse.com> 2013-07-17 14:36:46 UTC --- Should be fixed with the next SLE11 createrepo update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com