debian systemd tftpd-hpa service not starting on boot

5,676 views
Skip to first unread message

Michael Pope

unread,
Jan 10, 2015, 1:22:53 AM1/10/15
to mlu...@googlegroups.com
I'm setting up a new LTSP server with Debian testing and I've ran into
my first systemd issue.

I have the tftpd-hpa package installed to send files to my thin clients
for the LTSP setup and the problem is tftpd-hpa is not starting on boot.
Here is the message 'systemctl status tftpd-hpa' give me;

$ systemctl status -l tftpd-hpa
● tftpd-hpa.service - LSB: HPA's tftp server
Loaded: loaded (/etc/init.d/tftpd-hpa)
Active: failed (Result: exit-code) since Fri 2015-01-09 00:41:00 AEDT;
30min ago
Process: 534 ExecStart=/etc/init.d/tftpd-hpa start (code=exited, status=66)

Jan 09 00:41:00 debian tftpd-hpa[534]: Starting HPA's tftpd: in.tftpd
Jan 09 00:41:00 debian systemd[1]: tftpd-hpa.service: control process
exited, code=exited status=66
Jan 09 00:41:00 debian systemd[1]: Failed to start LSB: HPA's tftp server.
Jan 09 00:41:00 debian systemd[1]: Unit tftpd-hpa.service entered failed
state.

If I start the service using 'service tftpd-hpa start' after boot it
works fine. It doesn't have a service file in /lib/systemd/system it
does however have a sysv init file in /etc/init.d/tftp-hpa.

I'm assuming it's failing because the network isn't up yet, how do I
make this process wait for the network to be active?

I understand if it had a service file I could put a 'after' line in
there, but it doesn't have one. Am I supposed to make one for it?

from
Michael

Michael Pope

unread,
Jan 10, 2015, 2:42:54 AM1/10/15
to mlu...@googlegroups.com
FIXED
Seems to be a bug in tftpd-hpa package under debian

https://www.mail-archive.com/debian-b...@lists.debian.org/msg1285624.html

Summary
Remove the 0.0.0.0 in /etc/default/tftpd-hpa file

Works.

~Mick
Reply all
Reply to author
Forward
0 new messages