Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132889 - net-ftp/tftp-hpa-0.40-r1 - small error in in.tftpd config file
Summary: net-ftp/tftp-hpa-0.40-r1 - small error in in.tftpd config file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-10 05:42 UTC by Laradji nacer
Modified: 2006-05-20 02:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laradji nacer 2006-05-10 05:42:04 UTC
There is a mistake in /etc/conf.d/in.tftpd

This options is :
# Path to server files from
INTFTPD_PATH="/tftproot"

but it will be i think :
# Path to server files from
INTFTPD_PATH="/tftpboot"

Because pxes use /tftpboot and create this one :)

----
Portage 2.1_pre10-r5 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://mir.zyriannes.net/gentoo/ ftp://mir.zyriannes.net/gentoo/"
LINGUAS="fr"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac alsa amd64 apache2 avi berkdb bitmap-fonts cairo cdr cli crypt cups dri dvd eds emboss encode ffmeg flaac foomaticdb fortran freedts gd gd2 gif glitz gnome gpm gstreamer gtk gtk2 hal howl imlib ipv6 isdnlog java jpeg kde live lzw lzw-tiff mod mp3 mpeg mssql mysql ncurses nls nptl nptlonly opengl pam pcre pdflib perl png pppd python quicktime readline reflection samba sdl session shout softmmu spell spl ssl tcpd tiff truetype-fonts type1-fonts udev usb vcd win32 xml xml2 xorg xosd xpm xv zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_fr userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-10 05:45:13 UTC
Reopen with 'equery b /etc/conf.d/in.tftpd' output or post the ebuild name and version here. Really please don't assume that everyone must have have every weird thing installed to find out where does that file come from.
Comment 2 Laradji nacer 2006-05-10 06:04:51 UTC
Add more info for jakub moc :
equery b /etc/conf.d/in.tftpd
[ Searching for file(s) /etc/conf.d/in.tftpd in *... ]
net-ftp/tftp-hpa-0.40-r1 (/etc/conf.d/in.tftpd)

equery b /tftpboot
[ Searching for file(s) /tftpboot in *... ]
net-misc/pxes-1.0 (/tftpboot)

Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-05-20 02:06:17 UTC
The 
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-05-20 02:16:13 UTC
I don't agree with you 100%, but I have made a similar change to the conf.d source file and the ebuild.

The conf.d file now has /tftpboot (amongst others), but commented out, with an instruction to set it as per your requirements, and the ebuild has a similar instruction.

It really shouldn't matter, and the ebuild does NOT create the directory.

/tftp[br]oot is a nasty location anyway, I always use /var/tftp/ on my systems.

Please check the other TFTP clients and servers in portage and file similar bugs for them - a quick find indicates:
sec-policy/selinux-tftpd
net-ftp/atftp
net-ftp/linksys-tftp
net-ftp/netkit-tftp
dev-java/edtftpj