Subject: Nonexistent working directory makes atftpd package unusable
Package: atftpd
Version: 0.7.dfsg-4
Severity: grave
Justification: renders package unusable

*** Please type your report below this line ***

I installed Debian Lenny beta2 from scratch with atftpd package. There
are few bug which makes this package unusable:

1) "dpkg-reconfigure atftpd" with loglevel 5 produces /etc/default/atftpd
file with mistake(verbose=5):

USE_INETD=false
OPTIONS="--daemon --port 69 --retry-timeout 5     --mcast-port 1758 --mcast-addr
239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose=5 --logfile
/var/log/atftpd.log /var/lib/tftpboot"

instead of:

USE_INETD=false
OPTIONS="--daemon --port 69 --retry-timeout 5 --mcast-port 1758 --mcast-addr
239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose 5 --logfile
/var/log/atftpd.log /var/lib/tftpboot"

so there is no detail information about atftp in log file.


2) After the instalation (even before dpkg-rekonfigure) working directory
/var/lib/tftpboot does not exist so any upload fails.


3) Even if i create directory /tftpboot with owner:group set to nobody:nogroup
777 and try to upload "abc" file, it fails. Log shows:

atftpd[17400.-1210754880]: Advanced Trivial FTP server started (0.7)
atftpd[17401.-1210754880]:   running in daemon mode on port 69
atftpd[17401.-1210754880]:   logging level: 6
atftpd[17401.-1210754880]:   directory: 5/
atftpd[17401.-1210754880]:   user: nobody.nogroup
atftpd[17401.-1210754880]:   log file: /var/log/atftpd.log
atftpd[17401.-1210754880]:   server timeout: Not used
atftpd[17401.-1210754880]:   tftp retry timeout: 5
atftpd[17401.-1210754880]:   maximum number of thread: 100
atftpd[17401.-1210754880]:   option timeout:   enabled
atftpd[17401.-1210754880]:   option tzise:     enabled
atftpd[17401.-1210754880]:   option blksize:   enabled
atftpd[17401.-1210754880]:   option multicast: enabled
atftpd[17401.-1210754880]:      address range: 239.239.239.0-255
atftpd[17401.-1210754880]:      port range:    1758
atftpd[17401.-1210905712]: Fetching from 10.45.0.6 to abc
atftpd[17401.-1210905712]: Can't open 5/abc for writing
atftpd[17401.-1210905712]: Server thread exiting


Best regards,
Wylda.

-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.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
ii  inetutils-inetd [inet-sup 2:1.5.dfsg.1-6 Internet super server
ii  libc6                     2.7-10         GNU C Library: Shared
ii  libpcre3                  7.4-1+lenny2   Perl 5 Compatible Regular
ii  libwrap0                  7.6.q-15       Wietse Venema's TCP wrappers





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to