Package: xen-tools
Version: 4.7-1
Severity: normal

According to man:/xl.cfg the default action of 'on_crash' is 'destroy',
but /etc/xen-tools/xm.tmpl contains:
on_crash    = 'restart'

I was initially alerted to this on the xen-devel ML [1] as it caused
continuous crashing of my VM after setting the 'wrong' config values.


[1] https://lists.xen.org/archives/html/xen-devel/2017-01/msg01754.html


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages xen-tools depends on:
ii  debootstrap                   1.0.87
ii  libconfig-inifiles-perl       2.94-1
ii  libdata-validate-domain-perl  0.10-1
ii  libdata-validate-ip-perl      0.27-1
ii  libdata-validate-uri-perl     0.06-1
ii  libfile-slurp-perl            9999.19-6
ii  libfile-which-perl            1.21-1
ii  libsort-versions-perl         1.62-1
ii  libterm-ui-perl               0.46-1
ii  libtext-template-perl         1.46-1
ii  openssh-client                1:7.4p1-5
ii  perl                          5.24.1-1

Versions of packages xen-tools recommends:
ii  debian-archive-keyring                     2014.3
ii  libexpect-perl                             1.21-1
ii  lvm2                                       2.02.168-1
ii  rinse                                      3.2
ii  ubuntu-archive-keyring                     2016.05.13-1
ii  xen-hypervisor-4.8-amd64 [xen-hypervisor]  4.8.1~pre.2017.01.23-1
ii  xen-utils-4.8 [xen-utils]                  4.8.1~pre.2017.01.23-1

Versions of packages xen-tools suggests:
pn  btrfs-tools    <none>
pn  cfengine2      <none>
pn  reiserfsprogs  <none>
pn  xfsprogs       <none>

-- Configuration Files:
/etc/xen-tools/xen-tools.conf changed:
lvm = vgXen
install-method = debootstrap
size   = 4G       # Root disk, suffix (G, M, k) required
memory = 256M     # Suffix (G, M, k) required
swap   = 512M     # Suffix (G, M, k) required
fs     = ext4     # Default file system for any disk
dist   = `xt-guess-suite-and-mirror --suite`
                  # Default distribution is determined by Dom0's distribution
image  = sparse   # Specify sparse vs. full disk images (file based images only)
dhcp = 1
kernel = /boot/vmlinuz-`uname -r`
initrd = /boot/initrd.img-`uname -r`
apt_proxy = http://cknowsvr01:3142/
ext4_options     = noatime,nodiratime,errors=remount-ro
ext3_options     = noatime,nodiratime,errors=remount-ro
ext2_options     = noatime,nodiratime,errors=remount-ro
xfs_options      = defaults
reiserfs_options = defaults
btrfs_options    = defaults


-- no debconf information

Reply via email to