The new tftpd-hpa.postinst uses /svr/tftp instead of /var/lib/tftpboot

Bug #518815 reported by Alkis Georgopoulos
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ltsp (Ubuntu)
Fix Released
High
Stéphane Graber

Bug Description

In current Lucid:
$ grep /srv/tftp /var/lib/dpkg/info/tftpd-hpa.postinst
  TFTP_DIRECTORY="${RET:-/srv/tftp}"

Also, that debconf question has a high priority, so the user is prompted to verify that this is the correct directory.

Also, tftp now runs as a daemon by default, and isn't started from inetd.

Relevant debian bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551828

LTSP should be updated to cope with those changes.

Related branches

Jorge Castro (jorge)
Changed in ltsp (Ubuntu):
status: New → Confirmed
Revision history for this message
Stéphane Graber (stgraber) wrote :

Here I see two ways of fixing the issue:
 1) Revert to the previous behavior and carry that as an Ubuntu-specific change
 2) Update LTSP to use /srv/tftp, stop changing inetd.conf and update ltsp.seed to preseed that question so it's not prompted during install.

I'm really not sure why Debian made that change and I'm pretty sure it'll break a lot of existing setup, so I would be interested in knowing if there is any reason we shouldn't revert that for Lucid.

Any idea of who we should poke about that ?

Changed in ltsp (Ubuntu):
importance: Undecided → High
Revision history for this message
Stéphane Graber (stgraber) wrote :

Bumping to high as it's part of Ubuntu alternate and so affects an official media.

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :
Changed in ltsp (Ubuntu):
assignee: nobody → Stéphane Graber (stgraber)
status: Confirmed → Fix Released
Revision history for this message
TJ (tj) wrote :

Is this really fixed?

I've just upgraded a rarp/bootp/tftp PXE server that hosts bootable images for the LAN from Karmic to Lucid using:

do-release-upgrade -d

Prior to the upgrade it was using /var/lib/tftpboot/ and my automated scripts that configure the PXE menu and configure mounts were working correctly.

After the upgrade I noticed that the running process arguments used /srv/tftp/

ps -ef | grep tft
root 1714 1 0 15:45 ? 00:00:00 /usr/sbin/in.tftpd --listen --user tftp --address 0.0.0.0:69 /srv/tftp

and /etc/default/tftpd-hpa contains:

TFTP_DIRECTORY="/srv/tftp"

apt-cache policy tftpd-hpa
tftpd-hpa:
  Installed: 5.0-11ubuntu1
  Candidate: 5.0-11ubuntu1
  Version table:
 *** 5.0-11ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.