Bug 821481

Summary: Installing tftpd creates /tftpboot but runs from /var/lib/tftpboot
Product: [Fedora] Fedora Reporter: NickG <exosyst>
Component: syslinuxAssignee: Peter Jones <pjones>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: jsynacek, paulbsch, pertusus, pjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-01 08:52:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description NickG 2012-05-14 15:50:42 UTC
Description of problem:
Installing tftpd creates /tftpboot but runs from /var/lib/tftpboot

Version-Release number of selected component (if applicable):
5.2-2

How reproducible:
Very.

Steps to Reproduce:
1. yum install tftp-server
2. Check /tftpboot exists
3. Start up the service
I used:
sudo /sbin/chkconfig --level 345 xinetd on
sudo /sbin/chkconfig --level 345 xinetd on
sudo /sbin/service xinetd start
as documented on the Fedora manual pages.

Actual results:
Runs from /var/lib/tftpboot

Expected results:
Runs from /tftpboot

Additional info:

Comment 1 Jan Synacek 2012-05-16 08:51:55 UTC
> 2. Check /tftpboot exists

No /tftpboot here.

Comment 2 Paul B Schroeder 2012-05-16 15:51:57 UTC
The syslinux-tftpboot package puts all of it's files in /tftpboot.  It probably should put them in /var/lib/tftpboot.  Perhaps it is syslinux-tftpboot that should be updated.

Comment 3 Jan Synacek 2012-05-17 05:29:19 UTC
I don't think this is a bug at all. Both packages haven't changed for a long time in this part and neither of them requires or buildrequires one another. Tftp package comes with /etc/xinetd.d/tftp, where you can specify the argument for the path.

Setting needinfo on syslinux maintainer for more insights.

Comment 4 Paul B Schroeder 2012-05-17 07:11:07 UTC
Technically, no, it's not a bug.  But I would argue that it would be a nice "enhancement".  I think people have a reasonable expectation that this sort of thing should work out-of-the-box without having to fudge with config files.

Comment 5 Paul B Schroeder 2012-05-17 07:21:20 UTC
Also..  Maybe syslinux-tftpboot should require tftp-server?  (If there isn't another option for a tftp server?)  syslinux-tftpboot is of much more use with a tftp server.

Comment 6 Jan Synacek 2012-05-17 07:29:44 UTC
> But I would argue that it would be a nice "enhancement".
I definitely agree.

> Maybe syslinux-tftpboot should require tftp-server
Not sure here. Frankly, I don't really understand what the purpose of syslinux-tftpboot is. Hence the [needinfo] flag. After I've fully understood this problem, I can change whatever is needed on the side of tftp package to solve it.

Comment 7 Paul B Schroeder 2012-05-17 08:01:06 UTC
> Not sure here. Frankly, I don't really understand what the purpose of
I think in many (most?) cases, folks are looking for /tftpboot/pxelinux.0 to use as the dhcp initial boot file when setting up PXE booting.  At least, that's what I needed it for.  It wasn't a huge deal, but it was slightly annoying that I had to copy it to /var/lib/tftpboot.  The bigger problem was that it was one more step that I had to explain to less knowledgeable folks who needed to replicate the setup.

> this problem, I can change whatever is needed on the side of tftp package to
> solve it.
IMHO, the tftp package doesn't need changing.  It's syslinux-tftpboot.

Comment 8 Jan Synacek 2012-05-29 10:37:09 UTC
Changing component to syslinux.

Comment 9 Fedora End Of Life 2013-07-04 02:36:59 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Fedora End Of Life 2013-08-01 08:52:10 UTC
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.