[PKG-Openstack-devel] Bug#863165: nova-consoleproxy: syntax error in /etc/init.d/nova-xenvncproxy

Valentin Vidic Valentin.Vidic at CARNet.hr
Mon May 22 20:14:53 UTC 2017


Package: nova-consoleproxy
Version: 2:14.0.0-4
Severity: normal

Dear Maintainer,

Starting one of the services in the package reports a syntax error:

# /etc/init.d/nova-xenvncproxy start
/etc/init.d/nova-xenvncproxy: line 27: [: missing `]'

The problem is in the following if statement:

# If SERVICE_FILE is set, we're generating the .service file, and we don't want to exit
if ! [ "${NOVA_CONSOLE_PROXY_TYPE}" = "xenvnc" ] && [ -z "${SERVICE_FILE}"; then
        exit 0
fi

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386

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

Versions of packages nova-consoleproxy depends on:
ii  debconf [debconf-2.0]  1.5.60
ii  lsb-base               9.20161125
ii  nova-common            2:14.0.0-4
ii  novnc                  1:0.4+dfsg+1+20131010+gitf68af8af3d-6
pn  python:any             <none>
ii  spice-html5            0.1.7-1
ii  websockify             0.8.0+dfsg1-7

nova-consoleproxy recommends no packages.

nova-consoleproxy suggests no packages.

-- debconf information:
  nova-consoleproxy/daemon_type: spicehtml5



More information about the Openstack-devel mailing list