daemon default consistancy
Carl Karsten
carl at personnelware.com
Tue Apr 5 13:16:27 CDT 2005
Thom May wrote:
> * Carl Karsten (carl at personnelware.com) wrote :
>
>>apt-get install openssh-server
>>installs the server, starts it, and sets it to start on boot.
>>
>>apt-get install tftpd-hpa
>>sets up /etc/default/tftpd-hpa with RUN_DAEMON="no", so that it won't
>>start now or on boot.
>>
>
> It's a missleading message - check your inetd.conf; tftpd is enabled there
> by default rather than as a standalone daemon.
/etc/inetd.conf
#:BOOT: Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
tftp dgram udp wait root /usr/sbin/in.tftpd
/usr/sbin/in.tftpd -s /var/lib/tftpboot
Got it.
Looks like there is a bug in /etc/init.d/tftpd-hpa
test "$RUN_DAEMON" = "yes" || echo "tftpd-hpa disabled" && exit 0
So either echo and exit, or just exit. Never get to the start/stop options.
Carl K
More information about the ubuntu-devel
mailing list