Bug#485559: Location of tftpd folder

2009-10-29 Thread Daniel Baumann
Frank Lin PIAT wrote:
>> Why not? That is precisely what /srv is for.
> 
> The structure of /srv/ is defined by the local administrator, not by the
> distribution. See FHS and Lintian[1]. note that Lintian detects 0
> package with dir-or-file-in-srv.

i see no reason to re-repeat what i've already told twice within this
bug, but to not give the impression of 'there are no more followups,
there must be no objection': i still object with the same reasoning as
before, what i stated before still holds true.

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  daniel.baum...@panthera-systems.net
Internet:   http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#485559: Location of tftpd folder

2009-10-26 Thread Frank Lin PIAT
On Mon, 2009-10-26 at 20:36 +0100, martin f krafft wrote:
> also sprach Frank Lin PIAT  [2009.10.26.1726 +0100]:
> > > fwiw, using /srv/tftp as tftp server root directory is FHS conformant.
> > 
> > I don't agree, but...
> 
> Why not? That is precisely what /srv is for.

The structure of /srv/ is defined by the local administrator, not by the
distribution. See FHS and Lintian[1]. note that Lintian detects 0
package with dir-or-file-in-srv.
 
As a maintainer of a package which place some files inside tftpboot, I
do need a way to know where tftpboot is (thus my previous proposals).

FYI the default location for various pacakges are:
 unstable's atftp => /var/lib/tftpboot
 unstable's tftpd-hpa => /srv/tftp
 unstable's tftpd => /srv/tftp
also
 unstable's dnsmasq => /var/ftpd (example)
 python-tftpy => /tftpboot (example)

Let's move on,

Franklin


[1] http://git.debian.org/?p=lintian/lintian.git;a=commitdiff;h=4a6efc66#patch2




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#485559: Location of tftpd folder

2009-10-26 Thread martin f krafft
also sprach Frank Lin PIAT  [2009.10.26.1726 +0100]:
> > fwiw, using /srv/tftp as tftp server root directory is FHS conformant.
> 
> I don't agree, but...

Why not? That is precisely what /srv is for.

> > tftpd and tftpd-hpa default for this in unstable now, leaving aftpd
> > being the only one missing. would be nice if aftpd would just adapt.
> > creating a policy entry about it when there are three packages in total
> > implementing it, looks a bit overengineered for me (gain vs.
> > administrative overhead). but that's probably just me :)
> 
> There might be an easy way to handle the situation. The policy could be
> worded as:
> 
> * The /var/lib/tftpboot is the logical location for tftpd server root
>   directory. It can be a directory or symlink to a directory elsewhere.

I don't consider /var/lib logical *at all*.

-- 
 .''`.   martin f. krafft   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Bug#485559: Location of tftpd folder

2009-10-26 Thread Frank Lin PIAT
Hello Daniel, Russ, et al.

On Mon, 2009-07-20 at 21:49 +0200, Daniel Baumann wrote:
> Frank Lin PIAT wrote:
> > tftpd-hpa will change the default location of the tftpd folder
> 
> s/will change/has changed/
> 
> > There was already some discussion on this topic. Would it be possible to
> > define the location in the policy?
> > See bug #485559
> 
> fwiw, using /srv/tftp as tftp server root directory is FHS conformant.

I don't agree, but...

> tftpd and tftpd-hpa default for this in unstable now, leaving aftpd
> being the only one missing. would be nice if aftpd would just adapt.
> creating a policy entry about it when there are three packages in total
> implementing it, looks a bit overengineered for me (gain vs.
> administrative overhead). but that's probably just me :)

There might be an easy way to handle the situation. The policy could be
worded as:

* The /var/lib/tftpboot is the logical location for tftpd server root
  directory. It can be a directory or symlink to a directory elsewhere.

Plus the #2 of my initial proposal.
> * Serve filenames relatively to the defined tftp-root, not
>   relatively to the system root directory (/). 

I would drop my initial #3 (RFC compliance) as those usually aren't in
the policy.

Rational:
1. That's very easy to manage for DDs
2. Any user should be able to cope with it.
3. It isn't overengineered.
4. This scheme allows using /srv in a FHS conformant way

Regards,

Franklin




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#485559: Location of tftpd folder

2009-07-31 Thread Daniel Baumann
Bill Allombert wrote:
> I suppose someone need to draft a policy change and submit it.

what's wrong with the text from franklin in the beginning of this very bug?

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  daniel.baum...@panthera-systems.net
Internet:   http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#485559: Location of tftpd folder

2009-07-31 Thread Bill Allombert
On Thu, Jul 30, 2009 at 05:04:15PM +0200, Daniel Baumann wrote:
> Daniel Baumann wrote:
> > everybody seems to agree that we agree.. what now?
> 
> atftpd mainainer replied some days ago to the bug i opened against the
> atftpd that next upload will change server root to /srv/tftp as well
> which means all tftpd daemons in debian will be using /srv/tftp.
> 
> what now?

I suppose someone need to draft a policy change and submit it.

Cheers,
-- 
Bill. 

Imagine a large red swirl here. 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#485559: Location of tftpd folder

2009-07-30 Thread Daniel Baumann
Daniel Baumann wrote:
> everybody seems to agree that we agree.. what now?

atftpd mainainer replied some days ago to the bug i opened against the
atftpd that next upload will change server root to /srv/tftp as well
which means all tftpd daemons in debian will be using /srv/tftp.

what now?

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  daniel.baum...@panthera-systems.net
Internet:   http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#485559: Location of tftpd folder

2009-07-23 Thread Daniel Baumann
everybody seems to agree that we agree.. what now?

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  daniel.baum...@panthera-systems.net
Internet:   http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#485559: Location of tftpd folder

2009-07-20 Thread Bill Allombert
On Mon, Jul 20, 2009 at 01:50:27PM -0700, Russ Allbery wrote:
> Daniel Baumann  writes:
> > Frank Lin PIAT wrote:
> 
> >> There was already some discussion on this topic. Would it be possible
> >> to define the location in the policy?  See bug #485559
> 
> > fwiw, using /srv/tftp as tftp server root directory is FHS conformant.
> 
> However, installing anything in that directory would not be, so I'm not
> sure that it solves the problem originally expressed in the Policy bug
> around this.  It would be nice to know how to handle providing files via
> the tftp server, if making them automatically available is something that
> people think we should have.

I agree with you on the FHS bit, of course.
Something I would like to see is d-i netboot.tar.gz provided as a Debian 
package for easy set up of a d-i net installer.

Cheers,
-- 
Bill. 

Imagine a large red swirl here. 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#485559: Location of tftpd folder

2009-07-20 Thread Daniel Baumann
Russ Allbery wrote:
>> fwiw, using /srv/tftp as tftp server root directory is FHS conformant.
> 
> However, installing anything in that directory would not be

of course.

> so I'm not sure that it solves the problem originally expressed in the Policy 
> bug
> around this.  It would be nice to know how to handle providing files via
> the tftp server, if making them automatically available is something that
> people think we should have.

even if policy would say that the server root is /srv/tfp, and even if
we would make an exception to FHS and allow packages to install stuff
inside the server root, one could not relay on /srv/tftp being the
server root anyway: tftpd-hpa, at least, does ask for the server root
through debconf.

current practise is, for e.g. pxe payloads, that packages are installing
it into /usr/lib/$package/ (syslinux, bios-memimage, etc.) and that the
sysadmin has to make them available in places he wants and at the time
he wants it. from a sysadmin point of view, this is imho the only sane
way to handle it.

Regards,
Daniel

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  daniel.baum...@panthera-systems.net
Internet:   http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#485559: Location of tftpd folder

2009-07-20 Thread Russ Allbery
Daniel Baumann  writes:
> Frank Lin PIAT wrote:

>> There was already some discussion on this topic. Would it be possible
>> to define the location in the policy?  See bug #485559

> fwiw, using /srv/tftp as tftp server root directory is FHS conformant.

However, installing anything in that directory would not be, so I'm not
sure that it solves the problem originally expressed in the Policy bug
around this.  It would be nice to know how to handle providing files via
the tftp server, if making them automatically available is something that
people think we should have.

-- 
Russ Allbery (r...@debian.org)   



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#485559: Location of tftpd folder

2009-07-20 Thread Daniel Baumann
Frank Lin PIAT wrote:
> tftpd-hpa will change the default location of the tftpd folder

s/will change/has changed/

> There was already some discussion on this topic. Would it be possible to
> define the location in the policy?
> See bug #485559

fwiw, using /srv/tftp as tftp server root directory is FHS conformant.

tftpd and tftpd-hpa default for this in unstable now, leaving aftpd
being the only one missing. would be nice if aftpd would just adapt.
creating a policy entry about it when there are three packages in total
implementing it, looks a bit overengineered for me (gain vs.
administrative overhead). but that's probably just me :)

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  daniel.baum...@panthera-systems.net
Internet:   http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#485559: Location of tftpd folder

2009-07-20 Thread Frank Lin PIAT
Hello,

tftpd-hpa will change the default location of the tftpd folder
from /var/lib/tftpboot to /srv/tftp (see #537656).

There was already some discussion on this topic. Would it be possible to
define the location in the policy?
See bug #485559

Thanks in advance,

Franklin






-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org