Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-15 Thread Martin Pitt
Hi! Wouter Verhelst [2005-06-15 1:29 +0200]: [EMAIL PROTECTED]:~$ ls -l /usr/bin/awk rwxr-xr-x 1 root root 21 2005-03-28 10:49 /usr/bin/awk - /etc/alternatives/awk [EMAIL PROTECTED]:~$ ls -l /etc/alternatives/awk rwxr-xr-x 1 root root 13 2005-03-28 13:22 /etc/alternatives/awk -

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-15 Thread Wouter Verhelst
On Wed, Jun 15, 2005 at 08:35:10AM +0200, Martin Pitt wrote: As I said, I only regard the symlink target as configuration value, I don't actually pretend that the actual log file is in /etc. Okay, good; it's just that someone seemed to imply that this was not the case. -- The amount of time

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-14 Thread Erik Steffl
Bernd Eckenfels wrote: In article [EMAIL PROTECTED] you wrote: That said, the Debian Policy document does mandage use of the Filesystem Hierarchy Standard (FHS), which in turn describes /etc like this: /etc contains configuration files and directories that are specific to the current system.

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-14 Thread Oliver Elphick
On Mon, 2005-06-13 at 18:59 -0700, Erik Steffl wrote: it's a bit off topic but could you please explain how does the name /etc/postgresql/7.4/main/log indicate it was created by postgresql-common (as opposed to any other postgrsql-* packages, e.g. postgresql-7.4 seems like a good

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-14 Thread Oliver Elphick
On Mon, 2005-06-13 at 17:11 -0500, Adam Heath wrote: On Mon, 13 Jun 2005, Olaf van der Spek wrote: On 6/13/05, Adam Heath [EMAIL PROTECTED] wrote: That's a stupid argument. It's not that stupid. But it is. Calling an argument stupid is another way of saying you disagree with it but

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-14 Thread Bernd Eckenfels
In article [EMAIL PROTECTED] you wrote: ok, that's gotta be invalid argument since this could be argued for ANY file so you would end up with links to EVERYTHING in /etc, so that program would know where to find libraries, binaries, images, web pages (hey! we need a way to store URLs in

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-14 Thread Bernd Eckenfels
In article [EMAIL PROTECTED] you wrote: That also means the program is looking for its logfiles under /etc by default, which FHS-compliant software is not supposed to do. You mean it is allowed to do read log /etc/app/log; cat $log/logfile.txt and it is not allowed to do: cat

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-14 Thread Bernd Eckenfels
In article [EMAIL PROTECTED] you wrote: isn't the reasonable interpretation of FHS that only what is supposed to be in a particular directory is supposed to be there, i.e. that ONL:Y static config files should be in /etc tree? please change the /etc/rc*.d/ and /etc/alternatives/ semantics

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-14 Thread Martin Pitt
Hi! Erik Steffl [2005-06-12 16:25 -0700]: why is there a link to logs in /etc? /etc/postgresql/7.4/main/log is a link to /var/log/postgresql/postgresql-7.4-main.log The basic idea of the new cluster system was to have the complete information about a cluster's files in

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-14 Thread Martin Pitt
Hi again, Martin Pitt [2005-06-14 23:53 +0200]: The basic idea of the new cluster system was to have the complete information about a cluster's files in /etc/postgresql/version/cluster. That includes the location of the log files and the data directory, which are configured using these

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-14 Thread Adam Heath
On Tue, 14 Jun 2005, Martin Pitt wrote: Hi! Erik Steffl [2005-06-12 16:25 -0700]: why is there a link to logs in /etc? /etc/postgresql/7.4/main/log is a link to /var/log/postgresql/postgresql-7.4-main.log The basic idea of the new cluster system was to have the complete

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-14 Thread Wouter Verhelst
On Tue, Jun 14, 2005 at 06:00:35PM +0200, Bernd Eckenfels wrote: In article [EMAIL PROTECTED] you wrote: ok, that's gotta be invalid argument since this could be argued for ANY file so you would end up with links to EVERYTHING in /etc, so that program would know where to find libraries,

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-13 Thread Oliver Elphick
On Sun, 2005-06-12 at 16:25 -0700, Erik Steffl wrote: why is there a link to logs in /etc? /etc/postgresql/7.4/main/log is a link to /var/log/postgresql/postgresql-7.4-main.log /etc is supposed to be for configuration files that are static, the link to log violates both (yes,

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-13 Thread Adam Heath
On Mon, 13 Jun 2005, Oliver Elphick wrote: On Sun, 2005-06-12 at 16:25 -0700, Erik Steffl wrote: why is there a link to logs in /etc? /etc/postgresql/7.4/main/log is a link to /var/log/postgresql/postgresql-7.4-main.log /etc is supposed to be for configuration files that are

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-13 Thread Olaf van der Spek
On 6/13/05, Adam Heath [EMAIL PROTECTED] wrote: That's a stupid argument. It's not that stupid. If other files shouldn't be there, the specs should explicitly state that.

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-13 Thread Adam Heath
On Mon, 13 Jun 2005, Olaf van der Spek wrote: On 6/13/05, Adam Heath [EMAIL PROTECTED] wrote: That's a stupid argument. It's not that stupid. But it is. If other files shouldn't be there, the specs should explicitly state that. Use just a *little* bit of common sense. Oh, wait, common

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-13 Thread Lars Wirzenius
ma, 2005-06-13 kello 23:56 +0200, Olaf van der Spek kirjoitti: On 6/13/05, Adam Heath [EMAIL PROTECTED] wrote: That's a stupid argument. It's not that stupid. If other files shouldn't be there, the specs should explicitly state that. The Debian Policy does not, and cannot, have a rule for

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-13 Thread Bernd Eckenfels
In article [EMAIL PROTECTED] you wrote: That said, the Debian Policy document does mandage use of the Filesystem Hierarchy Standard (FHS), which in turn describes /etc like this: /etc contains configuration files and directories that are specific to the current system. This cannot reasonably

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-13 Thread Steve Langasek
On Tue, Jun 14, 2005 at 02:55:09AM +0200, Bernd Eckenfels wrote: In article [EMAIL PROTECTED] you wrote: That said, the Debian Policy document does mandage use of the Filesystem Hierarchy Standard (FHS), which in turn describes /etc like this: /etc contains configuration files and

Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-13 Thread Erik Steffl
Oliver Elphick wrote: On Sun, 2005-06-12 at 16:25 -0700, Erik Steffl wrote: why is there a link to logs in /etc? /etc/postgresql/7.4/main/log is a link to /var/log/postgresql/postgresql-7.4-main.log /etc is supposed to be for configuration files that are static, the link to log

links to logs in /etc? (/etc/postgresql/7.4/main/log)

2005-06-12 Thread Erik Steffl
why is there a link to logs in /etc? /etc/postgresql/7.4/main/log is a link to /var/log/postgresql/postgresql-7.4-main.log /etc is supposed to be for configuration files that are static, the link to log violates both (yes, it's only a link so it doesn't change but points to a file