Package: atftpd
Version: 0.7.git20120829-3.2~deb10u1
Severity: normal
Tags: patch
Dear Maintainer,
I installed atftpd on one of my Raspberry Pis for managing my Cisco devices.
There are some things I noticed during installation and configuration.
Right at the end, the "usage" output says something about the necessity for
"world readable and writable directories". First of all, I assume that only one
directory can be used so that it should be "directory". The default dir
/srv/tftp is created during installation but it ends up with mode 755. After
some testing, I found that 755 is fine and "world writable" is not necessary at
all - as long as it's writable for the user who is running atftpd ("nobody" by
default). But in fact, I know about this need from other tftp daemons (I've
mainly been using Solaris in the last decades). So there are some
inconsistencies
That one's more or less a cosmetic thing. Now a functional issue: during
installation, rlinetd seems to be a dependency so it's also installed and
atftpd is configured for use with it. Unfortunately, this setup doesn't work
and after some debugging, I found that atftpd is not started because tcpd is
missing. After setting "USE_INETD" to "false" and disabling rlinetd, everything
is working fine.
At last, there's a typo in the man page and here you're definitely the right
person to ask ... "PCRE" should be written in capital letters as it's an
acronym ...
And when fixing all this, maybe you can also convert atftpd to a real systemd
service?
Thanks a lot in advance and greetings from Germany!
-- System Information:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
Architecture: armv7l
Kernel: Linux 5.10.17-v7+ (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=C.UTF-8, LC_CTYPE=UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to
C.UTF-8), LANGUAGE=C_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages atftpd depends on:
ii debconf [debconf-2.0] 1.5.71
ii libc6 2.28-10+rpi1
ii libpcre3 2:8.39-12
ii libwrap0 7.6.q-28
ii lsb-base 10.2019051400+rpi1
ii update-inetd 4.49
Versions of packages atftpd recommends:
ii rlinetd [inet-superserver] 0.9.1-3+b1
Versions of packages atftpd suggests:
ii logrotate 3.14.0-4
-- debconf information:
atftpd/multicast: true
atftpd/logtofile: false
atftpd/use_inetd: true
atftpd/tftpd-timeout: 300
atftpd/timeout: true
atftpd/logfile: /var/log/atftpd.log
atftpd/mcast_addr: 239.239.239.0-255
atftpd/maxthread: 100
atftpd/tsize: true
atftpd/basedir: /srv/tftp
atftpd/verbosity: 5 (LOG_NOTICE)
atftpd/ttl: 1
atftpd/mcast_port: 1758
atftpd/port: 69
atftpd/retry-timeout: 5
atftpd/blksize: true