Package: tftpd-hpa
Version: 5.2+20150808-1
Severity: normal

Hi,

if /srv/tftp/undionly.kpxe is a symlink to
/usr/lib/ipxe/undionly.kpxe, the tftp server does not transfer the
file. With the tftp-hpa client, this results in a zero bytes file
being written to the target directory, followed by the error message
"Error code 1: File not found". A symlink of pxelinux.0 to
debian-installer/amd64/pxelinux.0 gets served just fine, thankfully.

In the out-of-tree symlink case, the server does not write anything to
the log. This behavior is also not documented in the man page (I would
have stayed with aftpd if I knew this beforehand).

Since symlinking undionly.kpxe is a rather common setup and gives the
local admin the advantage of always delivering a current
undionly.kpxe, this is rather unhandy.

If it is actually intended, please document and consider asking
upstream to implement a command line switch to enable serving of
out-of-tree symlinks.

If this is not the intended behavior, it's a bug and needs fixing.

Greetings
Marc

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

Kernel: Linux 4.7.0-zgws1 (SMP w/4 CPU cores)
Locale: LANG=en_DK.utf8, LC_CTYPE=en_DK.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages tftpd-hpa depends on:
ii  adduser                3.115
ii  debconf [debconf-2.0]  1.5.59
ii  libc6                  2.23-4
ii  libwrap0               7.6.q-25

tftpd-hpa recommends no packages.

Versions of packages tftpd-hpa suggests:
pn  pxelinux  <none>

-- debconf information:
  tftpd-hpa/directory: /srv/tftp
  tftpd-hpa/address: 0.0.0.0:69
  tftpd-hpa/username: tftp
  tftpd-hpa/options: --secure

Reply via email to