/tftpboot vs. /var/tftp vs. something else?

Michael Stahnke mastahnke at gmail.com
Tue Nov 13 03:56:33 UTC 2007


On Nov 12, 2007 9:45 PM, Warren Togami <wtogami at redhat.com> wrote:
> Patrice Dumas wrote:
> > On Mon, Nov 12, 2007 at 07:46:37PM -0500, Chuck Anderson wrote:
> >> For many years, I've used /var/tftp as a location for storing TFTP
> >> data.  This mirrors the use of /var/ftp and /var/www.  I therefore
> >> suggest we change the default configuration in /etc/xinetd.d/tftp to
> >> reflect this.
> >
> > FHS says:
> >
> > Applications must generally not add directories to the top level of
> > /var. Such directories should only be added if they have some
> > system-wide implication, and in consultation with the FHS mailing list.
> >
> > Another possibility could be /var/lib/tftp. tftp doesn't exactly qualify
> > for what should be in /var/lib, but it is not clearly wrong either.
> >
> > --
> > Pat
> >
>
> Edubuntu is using /var/lib/tftp as their tftpdir.  Should we use it as well?
>
> If so, I suppose our selinux-policy should handle both /tftpboot and
> this new location to allow for a smooth transition.
>
> Warren Togami
> wtogami at redhat.com
>
>
> --
> fedora-devel-list mailing list
> fedora-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
>

Just my opinion, but I think /srv/tftp makes sense.  /srv/* isn't
owned by any rpm packages (that I know of) so just creating top-level
directories should be ok.  I thought /srv was for serving out content.
 I think tftp serves out content.   I know some people dislike /srv
all-together, but it's seems like it's here, we should use it.

stahnma




More information about the fedora-devel-list mailing list