Subject: Re: CVS commit: pkgsrc/net/pxe/files
To: Curt Sampson <cjs@cynic.net>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 11/06/2001 10:24:29
On Tue, Nov 06, 2001 at 05:35:01PM +0900, Curt Sampson wrote:
>
> Oh, sorry. But in reply to your points:
>
> 1. This file is not written by the program, so there's no problem
> keeping it on a read-only file system. So this does not break that.
Installation of a package by source or by pkg_add'ing a binary package does
break it, though.
> 2. Well, if they want all package stuff under /etc for neatness sake,
> they're quite f--ked. Much more common packages, such as ssh,
> keep stuff in /etc.
No, wanting everything under ${PREFIX} is not a silly idea - it
is quite logical and consistent.
I said there were some inconsistencies, and that's what I was
talking about - ssh. It needs to be in /etc, really, for the base
system. Having multiple copies of ssh host keys is not some place
I want to go.
> 3. This does not exacerbate the inconsistency; we're inconsistent
> regardless of the setting of this particular program. Or are the
> vast majority of programs using ${PREFIX}/etc rather than /etc?
The vast majority of packages currently use ${PREFIX}/etc
> And also:
>
> 4. A shared /usr is a pretty common configuration; it's practically
> as old an idea Unix network file access period.
Thanks, but it's not necessary to remind me how old I am.
> 5. This is a system configuration file. According to the hier(8)
> manapage, we keep system configuration files in /etc.
Yes, and we try to follow hier(7) conventions under ${PREFIX} where
possible.
The reason I dislike your change is that it's just one single
occurrence, and people will now think it's OK to veer from the
norm, and start moving config file to /etc piecemeal, thereby making
people's /etc and ${PREFIX}/etc directories possibly duplicatory.
I don't want that.
I think Fred suggested a way recently whereby we would install config
files to SYSTEM_CONFIG_DIR, which could be set prior to source install.
Whilst this way has its problems, it's a lot more scalable than the
approach you've taken.
I'm sure Fred can correct me if I've picked up something wrongly.
Alistair
> Anyway, I'm happy to open up a discussion on the rules for this. I'll
> post to tech-pkg and we can sort it out.
>
> cjs
> --
> Curt Sampson <cjs@cynic.net> +81 3 5778 0123 http://www.netbsd.org
> Don't you know, in this new Dark Age, we're all light. --XTC
>
> On Tue, 6 Nov 2001, Alistair Crooks wrote:
>
> > Curt,
> >
> > Thanks, but you shouldn't have.
> >
> > Not without discussing this change with others in advance, anyway.
> >
> > Some people prefer to have their /etc read-only, and your change will
> > break things for them.
> >
> > Some people prefer to have everything to do with packages under ${PREFIX},
> > for neatness' sake.
> >
> > Yes, at the moment, we're inconsistent, but that is no excuse to exacerbate
> > the situation. And I can count the inconsistencies on one hand, and there
> > is usually a good reason for them.
> >
> > Alistair
> >
> > On Tue, Nov 06, 2001 at 07:55:06AM +0200, Curt Sampson wrote:
> > >
> > > Module Name: pkgsrc
> > > Committed By: cjs
> > > Date: Tue Nov 6 05:55:06 UTC 2001
> > >
> > > Modified Files:
> > > pkgsrc/net/pxe/files: pxe
> > >
> > > Log Message:
> > > Move config file from ${PREFIX}/etc/ to /etc/ so that sharing /usr via
> > > network doesn't force using the same config on all hosts.
> > >
> > >
> > > To generate a diff of this commit:
> > > cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/net/pxe/files/pxe
> > >
> > > Please note that diffs are not public domain; they are subject to the
> > > copyright notices on the relevant files.
> >