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

Dear Maintainer,

/usr/share/xen-tools/common/50-setup-hostname-deb is supposed to reload
dnsmasq (if installed and running) after adding a line to /etc/hosts.
However, this does not happen on my stretch system, and dnsmasq doesn't
pick up these entries until I reload it manually.

I suspect this is because setup-hostname-deb hardcodes the wrong pidfile
path:

> if [ -e /var/run/dnsmasq.pid ]; then
> 
>     logMessage Allowing DNSMasq to restart.
>     kill -s HUP `cat /var/run/dnsmasq.pid`
> fi

The correct path seems to be /run/dnsmasq/dnsmasq.pid.

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64
 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xen-tools depends on:
ii  debootstrap                   1.0.89
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-10
ii  perl                          5.24.1-2

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

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:
memory = 256M
swap = 512M
size = 4G
dist = stretch
mirror = http://debian.sflc.info/debian/
lvm = wilson_vg
bridge = vm-br
gateway = 10.66.0.1
netmask = 255.255.255.0
nameserver = 10.66.0.2
role = pvgrub
kernel = /usr/lib/grub-xen/grub-x86_64-xen.bin
initrd =
install-method = debootstrap
fs = ext4
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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to