Re: [HACKERS] location of the configuration files

2003-02-14 Thread Martin Coxall

  If you are interested in reading a contrary position, you can read
  Berstein's arguments for his recommended way to install services at:
  http://cr.yp.to/unix.html

But since DJB is a class-A monomaniac, he may not be the best person to
listen to. /var/qmail/control for qmail configuration files? Yeah, good
one, DJB.

-- 
Martin Coxall [EMAIL PROTECTED]


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



Re: [HACKERS] location of the configuration files

2003-02-14 Thread Martin Coxall

 Generally things that live in /etc are owned and operated by the OS.  
 Postgresql, by it's definition is a userspace program, not an OS owned 
 one.

Partially true. The FHS specifies that the /etc top layer is for system-own3d 
stuff, but the subdirectories off it are explicitly used for user space programs
and, well, everything. (/etc/apache, /etc/postgres, /etc/tomcat3, /etc/tomcat4...)

Martin Coxall


---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]



Re: [HACKERS] location of the configuration files

2003-02-14 Thread Martin Coxall
On Thu, 2003-02-13 at 20:28, Steve Crawford wrote:
 I don't see why we can't keep everyone happy and let the users choose the 
 setup they want. To wit, make the following, probably simple, changes:
 
 1) Have postgresql default to using /etc/postgresql.conf

/etc/postgres/postgresql.conf, if we want to be proper FHS-bitches.

 2) Add a setting in postgresql.conf specifying the data directory
 3) Change the meaning of -D to mean use this config file
 4) In the absence of a specified data directory in postgresql.conf, use the 
 location of the postgresql.conf file as the data directory

Shouldn't it in that case default to, say /var/lib/postgres?

-- 
Martin Coxall [EMAIL PROTECTED]


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



Re: [HACKERS] location of the configuration files

2003-02-14 Thread Martin Coxall
On Fri, 2003-02-14 at 14:21, Vince Vielhaber wrote:
 On 14 Feb 2003, Martin Coxall wrote:
 
 
If you are interested in reading a contrary position, you can read
Berstein's arguments for his recommended way to install services at:
http://cr.yp.to/unix.html
 
  But since DJB is a class-A monomaniac, he may not be the best person to
  listen to. /var/qmail/control for qmail configuration files? Yeah, good
  one, DJB.
 
 I'm guessing that rather than reading it the above mentioned link you
 chose to waste our time with this instead.  Good one, MC.

Yeah, I've read it several times, and have often linked to it as an
example of why one should be wary of DJB's software. It seems to me that
since DJB doesn't follow his own advice regarding the filesystem
hierarchy (see both qmail and djbdns), it'd be odd for him to expect
anyone else to. *Especially* seing as he's a bit mental. (I'm not going
to take this any more. I demand cross-platform compatibility!)

-- 
Martin Coxall [EMAIL PROTECTED]


---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]



Re: [HACKERS] location of the configuration files

2003-02-13 Thread Martin Coxall

 Well, to the extent that you're serious, you understand that 
 a lot of people feel that /usr/local should be reserved for 
 stuff that's installed by the local sysadmin, and your
 vendor/distro isn't supposed to be messing with it. 
 
 Which means if the the vendor installed Postgresql (say, the
 Red Hat Database) you'd expect config files to be in /etc.
 If the postgresql is compiled from source by local admin, 
 you might look somewhere in /usr/local.

Indeed. For better or worse, there is a Filesystem Hierarcy Standard,
and most of the important Linux distros, BSDs and some legacy Unixen
stick to it, so so should we.

Configuration files should be in /etc/postgresql/, or at the very least
symlinked from there.

Martin


---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])