Package: tftpd-hpa
Version: 0.48-2.3
Severity: normal

Hi Jaakko, 

I tried to use tftpd-hpa from inetd, but failed. First I verified that
my tftpd-hpa installation works:

$ cat /etc/default/tftpd-hpa
#Defaults for tftpd-hpa
RUN_DAEMON="yes"
OPTIONS="-l -s /var/lib/tftpboot"

% invoke-rc.d tftpd-hpa restart
Restarting HPA's tftpd: in.tftpd.

Then 

 tftp localhost

was able to get the file from server. 

Then, I stopped tftpd-hpa daemon and revert to inetd:

% invoke-rc.d tftpd-hpa stop
Stopping HPA's tftpd: in.tftpd.

Because there is no default entries /etc/inetd.conf to enable, I
added the following entry according to
http://www.debian.org/releases/stable/i386/ch04s06.html.en:

 tftp dgram udp wait nobody:nogroup /usr/sbin/tcpd in.tftpd /var/lib/tftpboot

Still, that didn't works for me with the following in the system log:

 cannot set groups for user nobody

Details:

 $ tail -1 /etc/inetd.conf
 tftp dgram udp wait nobody:nogroup /usr/sbin/tcpd in.tftpd /var/lib/tftpboot

 % /etc/init.d/openbsd-inetd reload; date
 Reloading internet superserver: inetd.
 Tue Nov 11 16:26:01 EST 2008

 $ tail -2 /var/log/daemon.log
 Nov 11 16:26:27 helios in.tftpd[21141]: connect from 127.0.0.1 (127.0.0.1)
 Nov 11 16:26:27 helios in.tftpd[21142]: cannot set groups for user nobody

I've also tried 
 
 tftp dgram udp wait nobody:nogroup /usr/sbin/tcpd in.tftpd -l /var/lib/tftpboot

and 

 tftp dgram udp wait nobody:nogroup /usr/sbin/tcpd in.tftpd -l -s 
/var/lib/tftpboot

but neither works. 

The reason that I file it as bug because I've found a similar
problem at
http://thread.gmane.org/gmane.linux.debian.devel.bugs.rc/18371

Please help.

tong


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

Kernel: Linux 2.6.26-grml (SMP w/1 CPU core; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages tftpd-hpa depends on:
ii  debconf [debconf-2.0]         1.5.22     Debian configuration management sy
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libwrap0                      7.6.q-16   Wietse Venema's TCP wrappers libra
pn  sysv-rc                       <none>     (no description available)

Versions of packages tftpd-hpa recommends:
ii  openbsd-inetd [inet-superse 0.20080125-1 The OpenBSD Internet Superserver
ii  update-inetd                4.31         inetd configuration file updater

tftpd-hpa suggests no packages.

-- debconf information:
  tftpd-hpa/use_inetd: true



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

Reply via email to