On Fri, 2009-07-31 at 15:08 +0200, Bill Allombert wrote: On Tue, Jun 10, 2008 at 08:37:42AM +0200, Franklin PIAT wrote: > > Package: debian-policy > > Severity: wishlist > > > > I've worked on the following policy snippet. As far as I am concerned, I > > would rather make the default location compulsory, and probably drop > > "tftp-get-root-location" then. > > 1. If /srv/tftp is used as the default location, it cannot be made > mandatory, and users must have a simple way to change it. > (see the FHS definition of /srv).
Changing the location of the data dir is usually trivial (edit /etc/inetd), but ... > 2. What use to you see for tftp-get-root-location ? Unlike web servers, file served by tftp server but be actually located in the tftp server's data directory (because the server is chrooted) Therefore, tools like di-netboot-assistant needs to copy files in that chroot. A tool to query the location of that tftp chroot surely help postinst script configuring the package that ship files. > 3. Since tftp does not follow symlink and packages are not allowed to > install file into /srv/, how can packages provide contents to the tftp > server in a user-friendly way ? > di-netboot-installer copies the file in the chroot. I don't know about other, but they can't ship files in either /var/lib or /srv, isn't it? > 4. To be useful, a virtual package like tftp-server need to have some > other packages depending on it. Which packages are you envisionning that > will depend on tftp-server ? Note: I suppose that tftp server should conflict with each other (dnsmasq could be an exception because the tftp server isn't enabled by default) atftpd is used by tftpd-hpa, ltsp-*, debian-edu-config, pxe, education-thin-client-server tftpd is used by di-netboot-assistant, m68k-vme-tftplilo, jffnms, fai-server tftpd-hpa is used by di-netboot-assistant, ltsp-server*, debian-edu-config, pxe, fai-server -- To UNSUBSCRIBE, email to debian-policy-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org