Package: xen-tools
Version: 4.9.2-1
Severity: critical
Justification: breaks unrelated software
X-Debbugs-Cc: ke...@mit.edu

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
Creating a new image.
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
sudo xen-create-image --hostname=ubuntuxentest3 --memory=4096mb --lvm=v 
--dist=jammy --pygrub --size=4G --noswap --dhcp

   * What was the outcome of this action?
Before the action, on the host system (NOT the guest image created by 
xen-create-image):

$ ls -l /usr/share/zoneinfo/Etc/UTC
-rw-r--r-- 1 root root 114 Nov 23 09:04 /usr/share/zoneinfo/Etc/UTC

$ md5sum /usr/share/zoneinfo/Etc/UTC /usr/share/zoneinfo/America/New_York
38bb24ba4d742dd6f50c1cba29cd966a  /usr/share/zoneinfo/Etc/UTC
1ef5d280a7e0c1d820d05205b042cce0  /usr/share/zoneinfo/America/New_York

After the action:

$ ls -l /usr/share/zoneinfo/Etc/UTC
-rw-r--r-- 1 root root 3552 Jan  7 20:37 /usr/share/zoneinfo/Etc/UTC

$ md5sum /usr/share/zoneinfo/Etc/UTC /usr/share/zoneinfo/America/New_York
1ef5d280a7e0c1d820d05205b042cce0  /usr/share/zoneinfo/Etc/UTC
1ef5d280a7e0c1d820d05205b042cce0  /usr/share/zoneinfo/America/New_York

$ debsums -s tzdata
debsums: changed file /usr/share/zoneinfo/Etc/UTC (from tzdata package)

Ultimately, this causes time and date for the UTC time zone to be incorrect:

$ TZ=UTC date

   * What outcome did you expect instead?

xen-create-image should not overwrite /usr/share/zoneinfo/Etc/UTC with
a copy of the time zone file of the host.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 12.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-28-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xen-tools depends on:
ii  debootstrap                   1.0.128+nmu2+deb12u1
ii  libconfig-inifiles-perl       3.000003-2
ii  libdata-validate-domain-perl  0.10-1.1
ii  libdata-validate-ip-perl      0.31-1
ii  libdata-validate-uri-perl     0.07-2
ii  libfile-slurp-perl            9999.32-2
ii  libfile-which-perl            1.27-2
ii  libsort-versions-perl         1.62-3
ii  libterm-ui-perl               0.50-1
ii  libtext-template-perl         1.61-1
ii  mount                         2.38.1-5+deb12u2
ii  openssh-client                1:9.2p1-2+deb12u3
ii  perl                          5.36.0-7+deb12u1

Versions of packages xen-tools recommends:
ii  debian-archive-keyring                      2023.3+deb12u1
ii  debootstrap                                 1.0.128+nmu2+deb12u1
ii  e2fsprogs                                   1.47.0-2
ii  libexpect-perl                              1.35-2
ii  lvm2                                        2.03.16-2
pn  rinse                                       <none>
pn  ubuntu-keyring | ubuntu-archive-keyring     <none>
ii  xen-hypervisor-4.17-amd64 [xen-hypervisor]  4.17.5+23-ga4e5191dc0-1
ii  xen-utils-4.17 [xen-utils]                  4.17.5+23-ga4e5191dc0-1

Versions of packages xen-tools suggests:
ii  btrfs-progs    6.2-1+deb12u1
pn  cfengine2      <none>
pn  grub-xen-host  <none>
pn  reiserfsprogs  <none>
pn  xfsprogs       <none>

-- no debconf information

Reply via email to