Re: links to logs in /etc? (/etc/postgresql/7.4/main/log)
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 candidate as well)?
Sorry; I mean that it indicates it to those with the requisite knowlege,
not that it is obvious from the name.
postgresql-common is the package that ties together postgresql-7.4,
postgresql-8.0 and packages for as yet nonexistent upstream versions and
enables them to run concurrently. It therefore builds the structures
that accomplish this.
> What does /usr/bin/pg_createcluster have to do with anything?
It is the script that builds the cluster structure.
> OK, so
> I looked at it and the script actually creates that link
> (/etc/postgresql/7.4/main/log), seems pretty evil. Any ideas why would
> anybody do it?
I'm not sure why Martin chose to put a log link in /etc, which is why I
have not addressed that point.
--
Oliver Elphick olly@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA 92C8 39E7 280E 3631 3F0E 1EC0 5664 7A2F A543 10EA
========================================
Do you want to know God? http://www.lfix.co.uk/knowing_god.html
Reply to: