• Processed: Re: xen-tools: xen-create-image overwrites zoneinfo/Etc/UTC

    From Debian Bug Tracking System@21:1/5 to All on Mon Jun 23 19:30:01 2025
    Processing control commands:

    forwarded -1 https://github.com/xen-tools/xen-tools/issues/74
    Bug #1092454 [xen-tools] xen-tools: xen-create-image overwrites zoneinfo/Etc/UTC of host
    Set Bug forwarded-to-address to 'https://github.com/xen-tools/xen-tools/issues/74'.
    tags -1 +patch
    Bug #1092454 [xen-tools] xen-tools: xen-create-image overwrites zoneinfo/Etc/UTC of host
    Added tag(s) patch.

    --
    1092454: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1092454
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Valentin Kleibel@21:1/5 to All on Mon Jun 23 19:30:01 2025
    This is a multi-part message in MIME format.
    Control: forwarded -1 https://github.com/xen-tools/xen-tools/issues/74
    Control: tags -1 +patch

    In hooks/common/60-copy-host-files /etc/localtime is copied without
    taking into account that this is a symlink on the dom0 and the newly
    created domU.
    As the link in ${prefix}/etc/localtime at this point links to /usr/share/zoneinfo/Etc/UTC the file on dom0 will be overwritten with /etc/localtime.

    A simple fix is to use 'cp -d' to copy /etc/localtime as a symlink.
    The attached patch does this and was also suggested upstream in https://github.com/xen-tools/xen-tools/pull/75

    Best,
    Valentin ZGlmZiAtLWdpdCBhL2hvb2tzL2NvbW1vbi82MC1jb3B5LWhvc3QtZmlsZXMgYi9ob29rcy9j b21tb24vNjAtY29weS1ob3N0LWZpbGVzCmluZGV4IGQ1YjhkNTYuLmU1ZWQ2NTEgMTAwNzU1 Ci0tLSBhL2hvb2tzL2NvbW1vbi82MC1jb3B5LWhvc3QtZmlsZXMKKysrIGIvaG9va3MvY29t bW9uLzYwLWNvcHktaG9zdC1maWxlcwpAQCAtMjYsOCArMjYsOCBAQCBsb2dNZXNzYWdlIFNj cmlwdCAkMCBzdGFydGluZwogIwogIyBDb3B5ICJyZXF1aXJlZCIgZmlsZXMgZnJvbSBvdXIg aG9zdC4KICMKLWNwIC9ldGMvdGltZXpvbmUgICAgJHtwcmVmaXh9L2V0YwotY3AgL2V0Yy9s b2NhbHRpbWUgICAke3ByZWZpeH0vZXRjCitjcCAgICAvZXRjL3RpbWV6b25lICAgICR7cHJl Zml4fS9ldGMKK2NwIC1kIC9ldGMvbG9jYWx0aW1lICAgJHtwcmVmaXh9L2V0YwogCiAKICMK

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)