Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738872 - net-misc/iputils-20200821 - /etc/xinetd.d/tftp: path changed for /usr/(s)bin/tftpd
Summary: net-misc/iputils-20200821 - /etc/xinetd.d/tftp: path changed for /usr/(s)bin/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-24 23:49 UTC by jospezial
Modified: 2021-01-25 18:28 UTC (History)
0 users

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 jospezial 2020-08-24 23:49:51 UTC
Good news:iputils-20200821 now has a xinetd file.
Bad is the wrong path for tftpd
Would it be better to install tftpd in /usr/sbin/ ?

/etc/xinetd.d/tftp:
server          = /usr/sbin/tftpd



>>> Install net-misc/iputils-20200821 into /var/tmp/portage/net-misc/iputils-20200821/image
ninja -v -j2 -l0 -C /var/tmp/portage/net-misc/iputils-20200821/work/iputils-20200821-build install
ninja: Entering directory `/var/tmp/portage/net-misc/iputils-20200821/work/iputils-20200821-build'
[1/17] /usr/lib/python-exec/python3.8/meson --internal vcstagger ../iputils-s20200821/git-version.h.meson git-version.h s20200821 /var/tmp/portage/net-misc/iputils-20200821/work/iputils-s20200821 @VCS_TAG@ '(.*)' ' '
[1/2] /usr/lib/python-exec/python3.8/meson install --no-rebuild
Installing ping/ping to /var/tmp/portage/net-misc/iputils-20200821/image/usr/bin
Installing tracepath to /var/tmp/portage/net-misc/iputils-20200821/image/usr/bin
Installing arping to /var/tmp/portage/net-misc/iputils-20200821/image/usr/bin
Installing tftpd/tftpd to /var/tmp/portage/net-misc/iputils-20200821/image/usr/bin
Installing /var/tmp/portage/net-misc/iputils-20200821/work/iputils-20200821-build/tftpd/tftp to /var/tmp/portage/net-misc/iputils-20200821/image/etc/xinetd.d
Running custom install script '/usr/lib/python-exec/python3.8/meson --internal gettext install --subdir=po --localedir=share/locale --pkgname=iputils'
Installing /var/tmp/portage/net-misc/iputils-20200821/work/iputils-20200821-build/po/de.gmo to /var/tmp/portage/net-misc/iputils-20200821/image/usr/share/locale/de/LC_MESSAGES/iputils.mo
>>> Completed installing net-misc/iputils-20200821 into /var/tmp/portage/net-misc/iputils-20200821/image

 * Final size of build directory: 2536 KiB (2.4 MiB)
 * Final size of installed tree:   304 KiB

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/bin/tracepath
   /bin/ping
   /bin/arping
   /usr/bin/tftpd
Comment 1 jospezial 2020-08-25 00:21:20 UTC
/etc/xinetd.d/tftp from net-ftp/tftp-hpa/files/tftp.xinetd also uses /usr/sbin/:
server          = /usr/sbin/in.tftpd
Comment 2 jospezial 2021-01-09 04:32:10 UTC
ping
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-01-09 15:56:03 UTC
I don't see us messing with install paths here so can you please bring this to upstream's attention?

  https://github.com/iputils/iputils/issues
Comment 4 Larry the Git Cow gentoo-dev 2021-01-25 18:28:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20d6a21ff3e24e24a52cafaa640344d7dfaf59a3

commit 20d6a21ff3e24e24a52cafaa640344d7dfaf59a3
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2021-01-25 18:27:17 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-01-25 18:28:13 +0000

    net-misc/iputils: backport tftpd fixes
    
    Closes: https://bugs.gentoo.org/738872
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../iputils/files/iputils-20200821-fclose.patch    | 45 ++++++++++++++++++++++
 .../files/iputils-20200821-install-sbindir.patch   | 29 ++++++++++++++
 ...200821-r1.ebuild => iputils-20200821-r2.ebuild} |  2 +
 3 files changed, 76 insertions(+)