Package: atftpd
Version: 0.7.dfsg-4
Severity: grave
Justification: renders package unusable

Config file edited into /etc/inetd.conf (which should actually be added to /etc/inetd.d/) is:

#:BOOT: TFTP service is provided primarily for booting.  Most sites
#       run this only on machines acting as "boot servers."
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100
--verbose=5  /var/lib/tftpboot

Which results in:

Jun 7 13:58:23 purgatory atftpd[20773]: Advanced Trivial FTP server started (0.7) Jun 7 13:58:23 purgatory atftpd[20773]: connect: Address family not supported by protocol

Because atftpd doesn't support IPv6.

Solution, use 'udp4' instead of 'udp' in inetd configuration, thus:

#:BOOT: TFTP service is provided primarily for booting.  Most sites
#       run this only on machines acting as "boot servers."
tftp dgram udp4 wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100
--verbose=5  /var/lib/tftpboot


When fixing this one, you might just want to move that config snipplet into /etc/inetd.d/ where it
belongs, makes things much easier and doesn't mess up /etc/inetd.conf

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-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/bash

Versions of packages atftpd depends on:
ii debconf [debconf-2.0] 1.5.22 Debian configuration management sy
ii  inetutils-inetd [inet-sup 2:1.5.dfsg.1-6 Internet super server
ii  libc6                     2.7-12         GNU C Library: Shared libraries
ii libpcre3 7.6-2 Perl 5 Compatible Regular Expressi ii libwrap0 7.6.q-15 Wietse Venema's TCP wrappers libra

atftpd recommends no packages.

-- debconf information:
  atftpd/port: 69
  atftpd/tftpd-timeout: 300
  atftpd/mcast_port: 1758
  atftpd/verbosity: 5 (LOG_NOTICE)
  atftpd/timeout: true
  atftpd/tsize: true
  atftpd/retry-timeout: 5
  atftpd/multicast: true
  atftpd/ttl: 1
  atftpd/use_inetd: true
  atftpd/basedir: /var/lib/tftpboot
  atftpd/mcast_addr: 239.239.239.0-255
  atftpd/logfile: /var/log/atftpd.log
  atftpd/blksize: true
  atftpd/logtofile: false
  atftpd/maxthread: 100

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to