Package: fai-client
Version: 5.3.6
Severity: normal

Dear Maintainer,

I cannot get fetch-basefile to work. Investigating, I tried running
/usr/lib/fai/fetch-basefile by hand, and it breaks in line 59

root@eddie-vm:/usr/lib/fai# ./fetch-basefile 
Fetching basefile from http://pkgmirror0.teach.cs.toronto.edu/basefiles/
./fetch-basefile: line 59: found_eddie-vm.teach.cs.toronto.edu: bad substitution
No basefile matching a class name was found at 
http://pkgmirror0.teach.cs.toronto.edu/basefiles/

Line 59 contains a Bash variable substitution "if [ X${!id} != X ]; then", I am
guessing that the hyphen in the host name is causing the problem (the hostname
is "eddie-vm.teach.cs.toronto.edu" which defines a FAI class of the same name).

Thanks!

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

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

Versions of packages fai-client depends on:
ii  debconf-utils        1.5.61
ii  file                 1:5.30-1
ii  iproute2             4.9.0-1
ii  libapt-pkg-perl      0.1.32
ii  libfile-lchown-perl  0.02-2+b2
ii  perl                 5.24.1-3

Versions of packages fai-client recommends:
ii  libgraph-perl  1:0.96-2

Versions of packages fai-client suggests:
pn  logtail  <none>

-- Configuration Files:
/etc/fai/fai.conf changed [not included]

-- no debconf information

Reply via email to