[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: consistent tftpboot directory location [RFC]



On Tue, Jun 10, 2008 at 12:52:54AM +0200, Franklin PIAT wrote:
> Hello,
> 
> As I were writing an email about the consistency of tftpboot directory,
> I fount a previous debian-policy thread[1] where it seemed that a
> consensus were already met.
> (If you wonder why I'm interested with this, see [2])
> 
> 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.

Yes please.

> Here it is. Your comments/amendments are welcome :
> 
> --- START ---
> 11.12 Packages providing a tftp server
> 
> Packages that provides a tftp server (tftpd) which meets the criteria
> listed below should declare in their control data that they provide the
> virtual package tftp-server.
> 
> To be a tftp-server, a program must:
> 
>       * Provide a TFTP service compatible with RFC 783 and 1350. 
>       * Serve filenames relatively to the defined tftp-root, not
>         relatively to the system root directory (/). 
>       * Provide a program named "/usr/bin/tftp-get-root-location" which
>         returns the location of tftp root, as currently configured and
>         enabled by the system owner.
> 
> And it should : 
>       * Define /srv/tftp as the default tftp root directory.
> 
> Note : The tftp-server is not expected to follow/serve symbolic links
> (due to chroot).

You means symbolic links that point outside the tftproot ?
Because debian-installer tftp media include symbolic links (and they
work fine).

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here. 


Reply to: